Árvore de páginas
Ir para o final dos metadados
Ir para o início dos metadados

Produto:

Protheus.

Ocorrência:

 PSIGAERRO0229 - GPEM040 -THREAD ERROR variable is not array - Type [N] on CONV_COLE(GPEXFTAB.PRX) 03/05/2017 11:19:22 line : 995

Passo a passo:

Error log na rotina GPEM040:

THREAD ERROR variable is not array - Type [N] on CONV_COLE(GPEXFTAB.PRX) 03/05/2017 11:19:22 line : 995
[TOTVS build: 7.00.131227A-20170904 NG]
Called from CONV_COLE(GPEXFTAB.PRX) 03/05/2017 11:19:22 line : 995
Called from S_LTABELAS(S_LTABELAS.PRG) 00/00/0000 00:00:00 line : 32
Called from S_ROT__RES(S_ROT__RES.PRG) 00/00/0000 00:00:00 line : 19
Called from { ||&cFunRotExec }(GPEXFORM.PRX) 05/05/2017 16:40:03 line : 19
Called from CHECKEXECFORM(GPEXFORM.PRX) 05/05/2017 16:40:03 line : 3248
Called from EXECROT(GPEXFORM.PRX) 05/05/2017 16:40:03 line : 3898
Called from CALRESC(GPEM040.PRX) 14/07/2017 19:32:32 line : 5253
Called from { || Iif( lTCFA040, If(VldTpRes(), CalResc(), Help( , , OemToAnsi(FWI18NLang("GPEM040A","STR0020",20)), , OemToAnsi(FWI18NLang("GPEM040A","STR0188",188)), 1, 0 )), CalResc() )}(GPEM040.PRX) 14/07/2017 19:32:3
2 line : 5253
Called from { || Eval( bAction, @lEnd ),lEnd := .t. , oDlg:End() }(MATXFUNA.PRX) 25/05/2017 18:46:51 line : 5253
Called from ::MSDIALOG:ACTIVATE line : 5253
Called from MSAGUARDE(MATXFUNA.PRX) 25/05/2017 18:46:51 line : 4371
Called from {|| MsAguarde( { || Iif( lTCFA040, If(VldTpRes(), CalResc(), Help( , , OemToAnsi(FWI18NLang("GPEM040A","STR0020",20)), , OemToAnsi(FWI18NLang("GPEM040A","STR0188",188)), 1, 0 )), CalResc() )} , FWI18NLang("GP
EM040A","STR0101",101) )}(GPEM040.PRX) 14/07/2017 19:32:32 line : 4371
Called from {|oButton| FWModelActive(self:oModel),xReturn := Eval(self:aUserButtons[1][3],self,oButton),Iif(ValType(xReturn)<>'L'.Or.xReturn,self:Refresh(),)}(FWFORMVIEW.PRW) 23/02/2017 11:12:44 line : 4371
Called from {|x|x:=FWBarRetSelf(2),x:oBtnFocus:Click(),Eval(aBtnTMPItem[2],x:oBtnRelacional ),x:oBtnFocus2:Click() }(FWFORMBAR.PRW) 09/12/2016 09:22:17 line : 4371
Called from ::MSDIALOG:ACTIVATE line : 4371
Called from FWMVCWINDOW:SHOW(FWMVCWINDOW.PRW) 26/11/2015 09:25:21 line : 181
Called from FWMVCWINDOW:ACTIVATE(FWMVCWINDOW.PRW) 26/11/2015 09:25:21 line : 210
Called from FWVIEWEXEC:OPENVIEW(FWVIEWEXEC.PRW) 30/09/2016 13:20:01 line : 482
Called from FWMBROWSE:EXECUTE(FWFORMBROWSE.PRW) 03/02/2017 12:24:58 line : 1015
Called from { || OSELF:EXECUTE("VIEWDEF.GPEM040", 3, 0,"INCLUIR", 3,"","","", 3) }(FWFORMBROWSE.PRW) 03/02/2017 12:24:58 line : 1015
Called from ::MSDIALOG:ACTIVATE line : 1015
Called from GPEM040(GPEM040.PRX) 14/07/2017 19:32:32 line : 382
Called from __EXECUTE(APLIB090.PRW) 24/03/2017 12:16:41 line : 601
Called from FWPREEXECUTE(FWPREEXECUTE.PRW) 23/02/2017 19:18:11 line : 82
Called from {|| FWPreExecute('Rescisão', 'GPEM040()', 1, '07', 'xxxxxxxxxx') }(FWUIMENUL.PRW) 08/02/2017 12:34:48 line : 82
Called from ::TWINDOW:ACTIVATE line : 82
Called from MSAPP:ACTIVATE(FWAPP.PRW) 22/03/2017 16:55:28 line : 670
Called from SIGAADV(APLIB000.PRW) 08/02/2017 12:34:37 line : 55
Called from STATICCALL(APLIB000.PRW) 08/02/2017 12:34:37 line : 55

 

Solução:

A Release Oficial foi expedida e publicada na Central de Downloads.
O pacote pode ser acessado no endereço:

12.1.14: https://goo.gl/BXtXt4
12.1.16: https://goo.gl/okXAmQ
12.1.17: https://goo.gl/GvgQ8T
12.1.7: https://goo.gl/kLJpDi

Observação: Caso esteja com o RPO muito desatualizado, além de aplicar o pacote pontual acima, será necessário atualizar também o pacote acumulado da sua versão conforme a base de conhecimento: PSIGABD0086 - Qual o link direto para pesquisar e baixar o pacote acumulado do Portal do Cliente?

Aceitar apenas fontes atualizados.

Observações:

 P12.1.14, P12.1.16, P12.1.17, P12.1.07