Versão atual:

Erro rest antes da execução do fonte customizado

Boa tarde, tenho um fonte em rest e estou tendo um erro que a stack está dentro dos fontes da totvs conforme:

2022-07-06T10:51:10.366000-04:00 20812|/*-------------------------------------------------------
2022-07-06T10:51:10.367000-04:00 20812|10:51:10.3549320 [20812][TLPPREST][ERROR] [CATCHERRORREST.TLPP (:00059) TLPP.REST.CATCHERRORREST()] [/rest/dms_api_1_0/solicitacoes?filial=010116&empresa=01&page=1&pageSize=50] [TP: 1] [C] rest execution error... 
2022-07-06T10:51:10.367000-04:00 20812|10:51:10.3549320 [20812][TLPPREST][ERROR] [CATCHERRORREST.TLPP (:00060) TLPP.REST.CATCHERRORREST()] [/rest/dms_api_1_0/solicitacoes?filial=010116&empresa=01&page=1&pageSize=50] [TP: 1] [C] endpoint...: /rest/dms_api_1_0/solicitacoes
2022-07-06T10:51:10.369000-04:00 20812|10:51:10.3549320 [20812][TLPPREST][ERROR] [CATCHERRORREST.TLPP (:00061) TLPP.REST.CATCHERRORREST()] [/rest/dms_api_1_0/solicitacoes?filial=010116&empresa=01&page=1&pageSize=50] [TP: 1] [C] error code.: 33
2022-07-06T10:51:10.370000-04:00 20812|10:51:10.3549320 [20812][TLPPREST][ERROR] [CATCHERRORREST.TLPP (:00062) TLPP.REST.CATCHERRORREST()] [/rest/dms_api_1_0/solicitacoes?filial=010116&empresa=01&page=1&pageSize=50] [TP: 1] [C] description: type mismatch on + 
2022-07-06T10:51:10.370000-04:00 20812|10:51:10.3549320 [20812][TLPPREST][ERROR] [CATCHERRORREST.TLPP (:00063) TLPP.REST.CATCHERRORREST()] [/rest/dms_api_1_0/solicitacoes?filial=010116&empresa=01&page=1&pageSize=50] [TP: 1] [C] error stack: 
THREAD ERROR ([20812], TP|HTTPREST|HTTPURI1@01|FALSE, E2D8F5ABCE1AD944BDC22F879A5E7C36)   06/07/2022 10:51:10
type mismatch on +  on FWSM0UTIL:SETSM0POSITIONBYCFILANT(FWSM0UTIL.PRW) 30/12/2021 15:45:47 line : 148

[TOTVS build: 7.00.210324P-20220312]
Called from RESTGRADER(FWRESTHANDLER.PRW) 30/12/2021 15:45:42 line : 639
Called from TLPP.REST.ENTRY.GRADER(GRADER.TLPP) 12/03/2022 00:49:00 line : 67
Called from TLPP.REST.REST:RESTGRADER(CLASSREST.TLPP) 12/03/2022 00:49:00 line : 3817
Called from TLPP.REST.REST:HANDLE(CLASSREST.TLPP) 12/03/2022 00:49:00 line : 799
Called from TLPP.REST.HANDLEREST(FUNCTIONREST.TLPP) 12/03/2022 00:49:00 line : 117
2022-07-06T10:51:10.405000-04:00 20812|10:51:10.4018070 [20812][TLPPREST][ERROR] [CATCHERRORREST.TLPP (:00064) TLPP.REST.CATCHERRORREST()] [/rest/dms_api_1_0/solicitacoes?filial=010116&empresa=01&page=1&pageSize=50] [TP: 1] [C] environment: 
Publicas
.
.
.

appserver.ini:


[PORTAL]
SourcePath=T:\TOTVS\Protheus\apo\pro00
RpoCustom=T:\TOTVS\Protheus\apo\pro00\custom.rpo
FormPath=\\192.168.0.70\apo
RootPath=T:\TOTVS\protheus_data\
CtreeRootPath=T:\TOTVS\protheus_data\
StartPath=\system\
x2_path=
RpoDb=Top
RpoLanguage=portuguese
RpoVersion=120
LocalFiles=ctree
Trace=0
localdbextension=.dtc
PictFormat=DEFAULT
DateFormat=DEFAULT
RegionalLanguage=BRA
;FWTRACELOG=1
Theme=Standard
;IXBLOG=NORUN
;---------------------------------------
;Debug do Colaboração 2.0 
TOPMEMOMEGA=1
COLAUTOREAD_DEBUG=1
AUTONFE_DEBUG=1
ChangeEncodingBehavior=0
;---------------------------------------
SpecialKey=AmbienteProd
;HELPSERVER=portal.com.br:7082
maxLocks=900000


[DEVELOPER]
SourcePath=T:\TOTVS\Protheus\apo\pro00
FormPath=\\192.168.0.70\apo
RootPath=T:\TOTVS\protheus_data\
CtreeRootPath=T:\TOTVS\protheus_data\
StartPath=\system\
x2_path=
RpoDb=Top
RpoLanguage=portuguese
RpoVersion=120
LocalFiles=ctree
Trace=0
localdbextension=.dtc
PictFormat=DEFAULT
DateFormat=DEFAULT
RegionalLanguage=BRA
Theme=Standard
COLAUTOREAD_DEBUG=1
TOPMemoMega=1
HELPSERVER=portal.com.br:7082
SpecialKey=AmbienteProd
;IXBLOG=NORUN
maxLocks=50000
killstack=1
FWTRACELOG=1

[TDS]
AllowApplyPatch=192.168.0.70
Allowedit=192.168.0.70

[TopConnect]
DataBase=ORACLE
Server=192.168.0.70
Alias=Protheus
PROTHEUSONLY=0

[Drivers]
Active=TCP
;MULTIPROTOCOLPORT=1
;MULTIPROTOCOLPORTSECURE=1
;Secure=SSL

[TCP]
TYPE=TCPIP
Port=1597

[TCP_DEBUG]
server=192.168.0.70
port=1597

;[MAIL]
SSLVersion=2
AuthLOGIN=1
AuthNTLM=1
AuthPLAIN=1

[General]
PowerSchemeShowUpgradeSuggestion=0
InstallPath=T:\TOTVS\
Segmento=xxxx==AV
ctreemode=server
MaxQuerySize=31960
Consolelog=1
maxstringsize=50
BuildKillUsers=1
;CanAcceptDebugger=0 ;desabilita a possibilidade de conectar no appserver pelo VSCode
;App_Environment=PORTAL
ConsoleFile=T:\TOTVS\Protheus\bin\appserver_SLAVEW\CONSOLE_SLAVEW.LOG

[ctreeserver]
ctuserid=ADMIN
ctuserpass=ADMIN
ctservername=FAIRCOMS@192.168.0.70

[SSLConfigure]
SSL2   = 0
SSL3   = 0
TLS1_0 = 0
TLS1_1 = 1
TLS1_2 = 1

[MAIL]
Protocol=SMTP
Folder=INBOX
AuthSmtp=1
AUTHPLAIN=1
AUTHLOGIN=1
AUTHNTLM=1
SSLVersion=3
TLSVERSION=1
TRYPROTOCOLS=0
EXTENDSMTP=1

[SERVICE]
Name=TOTVSSLAVEW
DisplayName=.TOTVS SlaveW

[LICENSESERVER]
enable=0
port=5555
ShowStatus=1
EnableNumber=0

[LICENSECLIENT]
Server=localhost
Port=5555

[http]
ENABLE=1
PORT=7082
Path=T:\TOTVS\protheus_data\http-root
Environment=PORTAL
RPCENV=PORTAL
RESPONSEJOB=JOB_WS_01010101
INSTANCES=1,10
RPCServer=192.168.0.70
RPCTimeout=1
SESSIONTIMEOUT=6000
DEFAULTPAGE=wsindex.apw

[portal.com.br:7082]
ENABLE=1
PATH=T:\TOTVS\protheus_data\web
ENVIRONMENT=PORTAL
INSTANCENAME=ws
RESPONSEJOB=JOB_WS_01010101
DEFAULTPAGE=wsindex.apw

[portal.com.br:7082/wf]
ENABLE=1
PATH=T:\TOTVS\protheus_data\web
ENVIRONMENT=PORTAL
INSTANCENAME=ws
RESPONSEJOB=JOB_WS_01010101
DEFAULTPAGE=wsindex.apw

[portal.com.br:7082/ws]
ENABLE=1
PATH=T:\TOTVS\protheus_data\web\ws
ENVIRONMENT=PORTAL
INSTANCENAME=ws
RESPONSEJOB=JOB_WS_01010101
DEFAULTPAGE=wsindex.apw

[portal.com.br:7082/pp]
ENABLE=1
PATH=T:\TOTVS\protheus_data\web\pp
ENVIRONMENT=PORTAL
INSTANCENAME=pp
RESPONSEJOB=JOB_PP
DEFAULTPAGE=w_pwsx010.apw

;[portal.com.br:7082/pc]
ENABLE=1
PATH=T:\TOTVS\protheus_data\web\pc
ENVIRONMENT=PORTAL
INSTANCENAME=pc
RESPONSEJOB=JOB_PP
DEFAULTPAGE=w_pwsr001.apw

[JOB_WS_01010101]
TYPE=WEBEX
ENVIRONMENT=PORTAL
INSTANCES=1,10
SIGAWEB=WS
INSTANCENAME=ws
ONSTART=__WSSTART
ONCONNECT=__WSCONNECT
PREPAREIN=01,010101
SECURITY=0

[JOB_PP]
TYPE=WEBEX
ENVIRONMENT=PORTAL
INSTANCES=1,2
SIGAWEB=PP
INSTANCENAME=pp
ONSTART=STARTWEBEX
ONCONNECT=CONNECTWEBEX
ONEXIT=FINISHWEBEX
WEBSERVICELOCATION=http://portal.com.br:7082/ws

;[JOB_PC]
TYPE=WEBEX
ENVIRONMENT=PORTAL
INSTANCES=1,2
SIGAWEB=PP
INSTANCENAME=pc
ONSTART=STARTWEBEX
ONCONNECT=CONNECTWEBEX
ONEXIT=FINISHWEBEX
WEBSERVICELOCATION=http://portal.com.br:7082/ws

[http://portal.com.br:7082/wf]
ENABLE=1
PORT=7082
PATH=T:\TOTVS\protheus_data\web
ENVIRONMENT=PORTAL
INSTANCENAME=WF
RESPONSEJOB=JOB_WF

[JOB_WF]
TYPE=WEB
ENVIRONMENT=PORTAL
INSTANCES=1,10
SIGAWEB=WF
INSTANCENAME=WF
ONSTART=STARTWEBEX
ONCONNECT=CONNECTWEBEX
ONEXIT=FINISHWEBEX
WEBHOST=http://portal.com.br:7082/wf

[schedulerwf]
Main=WFONSTART
Environment=PORTAL
nParms=4
parm1=01
parm2=010101
parm3=PORTAL
parm4=T

[HTTPJOB]
MAIN=HTTP_START
ENVIRONMENT=PORTAL

[HTTPV11]
Enable=1
Sockets=HTTPREST
TimeOut=120

[HTTPURI1]
URL=/rest
PrepareIn=All
Instances=2,20
ENVIRONMENT=PORTAL
CORSEnable=1
AllowOrigin=*
Public=fwjwt/refresh_token,signoff,auth,WSMOVDS,WSIGMAQ,WSIGUPY,WEBHOOKS

[HTTPURI2]
URL=/rest01
PrepareIn=All
Instances=2,20
ENVIRONMENT=PORTAL
CORSEnable=1
AllowOrigin=*
Public=fwjwt/refresh_token,signoff,auth,WSMOVDS,WSIGMAQ,WSIGUPY,WEBHOOKS

[HTTPREST]
Port=7084
IPsBind=192.168.0.70
MaxQueue=10
URIs=HTTPURI1,HTTPURI2
SSL2=0
SSL3=0
TLS1=0
BUGS=0
State=0
Verbose=0
HSM=0
Module=
Certificate=
Certificate2=
Key=
Key2=
PassPhrase=
SECURITY=1

[portal.com.br:7082/01]
ENABLE=1
PATH=T:\TOTVS\protheus_data\web\meurh
ENVIRONMENT=PORTAL
INSTANCENAME=MeuRH
DEFAULTPAGE=index.html


[RESTCONFIG]
restPort=7084
meurhLog=1
RefreshTokenTimeout=300
HostsRest=http://portal.com.br:7082/01

[OnStart]
JOBS=JOB_WS_01010101,JOB_PC,JOB_PP,JOB_WF,HTTPJOB,FWSCHDMANAG_PORTAL,FWSCHDQUEUE_PORTAL
REFRESHRATE=120

[FWSCHDMANAG_PORTAL]
Main=FWSCHDMANAG
Environment=PORTAL

[FWSCHDQUEUE_PORTAL]
Main=FWSCHDQUEUE
Environment=PORTAL

Alguém tem uma luz do que pode estar causando o problema?

Versões (4):

Ver a versão formatada

Erro rest antes da execução do fonte customizado

Comentário

new question