Page tree
Skip to end of metadata
Go to start of metadata

Produto:

Protheus.

Ocorrência:

 Menu da P12: THREAD ERROR invalid typecast in file d:\bamboo-agent-5.7.2\xml-data\build-dir\tp11-buildv2appsrv-tec11win32rpo32\advtec9_tt11\advpl\instrvar.inl at line 783 on GPEM020(GPEM020.PRX) 28/08/2017 14:03:22 line : 171

Passo a passo:

 Error Log ao realizar o adiantamento na base P12:

THREAD ERROR invalid typecast in file d:\bamboo-agent-5.7.2\xml-data\build-dir\tp11-buildv2appsrv-tec11win32rpo32\advtec9_tt11\advpl\instrvar.inl at line 783
 on GPEM020(GPEM020.PRX) 28/08/2017 14:03:22 line : 171

[TOTVS build: 7.00.131227A-20170904 NG]
Called from GPEM020(GPEM020.PRX) 28/08/2017 14:03:22 line : 171
Called from GPEM010(GPEM010.PRX) 26/03/2013 13:37:00 line : 25
Called from __EXECUTE(APLIB090.PRW) 13/09/2017 11:47:30 line : 602
Called from FWPREEXECUTE(FWPREEXECUTE.PRW) 13/09/2017 11:47:31 line : 82
Called from {||   FWPreExecute('Adiantamento', 'GPEM010()', 1, '07', 'xxxxxxxxxx') }(FWUIMENUL.PRW) 13/09/2017 11:47:31 line : 82
Called from ::TWINDOW:ACTIVATE line : 82
Called from MSAPP:ACTIVATE(FWAPP.PRW) 13/09/2017 11:47:31 line : 683
Called from SIGAADV(APLIB000.PRW) 13/09/2017 11:47:30 line : 58
Called from STATICCALL(APLIB000.PRW) 13/09/2017 11:47:30 line : 58

[TOTVS Ambiente: TESTEV12]
[TOTVS Environment RPODB: Top]
[TOTVS Environment Trace: 0]
[TOTVS Environment IBXLog: Nenhum]
[TOTVS Environment KillStack: Nenhum]
[TOTVS Environment TraceStack: Nenhum]
[TOTVS Environment SpecialKey: Nenhum]
[TOTVS Environment LocalFiles: CTREE]
[TOTVS Environment LogProfiler: Nenhum]
[TOTVS Environment TopMemoMega: 1]
[TOTVS Environment RPOLanguage: portuguese]
[TOTVS Environment RegionalLanguage: Nenhum]
[TOTVS Environment LocalDBExtension: .dtc]
[TOTVS Environment ConnectionTimeOut: Nenhum]
[TOTVS Environment General CTreeMode: Nenhum]
[TOTVS Environment General ConsoleLog: Nenhum]
[TOTVS Environment General ConsoleFile: Nenhum]
[TOTVS Environment General MaxQuerySize: Nenhum]
[TOTVS Environment General MaxStringSize: Nenhum]
[TOTVS Remote Lib: QT-4.5.2 WIN]
[TOTVS Tipo Remoto: Microsoft Windows]
[TOTVS Build Remota: 7.00.131227A-20170906]
[TOTVS Tipo de Servidor: Console]
[TOTVS Server Build: 7.00.131227A-20170904 NG]
[TOTVS Server Unix: Não]
[TOTVS DBAccess DB: MSSQL]
[TOTVS DBAccess API Build: 20170202-20170904]
[TOTVS DBAccess Build: 20170202]
[TOTVS DBAccess Tipo: WinNT (x64)]
[TOTVS Framework Versão: 20170911]
[TOTVS Framework Data: 20170913-144255]
[TOTVS Framework Comita: 7ca2798d1860e298b6df3c5d7254a668f111deea]
[TOTVS RPO Release: 12.1.017]

SOLUÇÃO:

Este erro ocorre quando está sendo utilizada a opção de adiantamento, porém a opção "Adiantamento" não é usada na P12 e não existe no menu desde o lançamento da versão.

Caso esteja utilizando indevidamente esta opção no menu, o adiantamento deve ser efetuado através da rotina "Cálculo por Roteiro" (GPEM020), e também deverá atualizar o seu menu, segue a base de conhecimento com esse procedimento:

PSIGABD0091 - Atualizar menu- P12.

Observações:

 P12