Question
PT Asuransi Simas Jiwa
ID
Last activity: 21 Mar 2017 6:44 EDT
** Connect-REST activity method was called with a null step page
hello everyone,
im trying to create activity for connect-rest,
when i run it i get this error "** Connect-REST activity method was called with a null step page " as you can see above step page isnt null
anyone please help me, im on deadline T_T
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
Hi,
Thanks for sharing the requested information, but couldn't find the existence of the InputProd page. Could you make sure that the InputProd page exists in the clipboard or try to perform Show-Page before connect-rest method to display InputProd and share your observations.
Regards
Mahesh
Pegasystems Inc.
IN
Hi,
Can you share tracer results for this.
Regards,
Ujjwal
PT Asuransi Simas Jiwa
ID
Pegasystems Inc.
US
Hello,
If you dont mind could you share the saved tracer xml file so that it can be easy to find the root cause than the screenshot.
Regards
Mahesh
Updated: 21 Mar 2017 6:44 EDT
PT Asuransi Simas Jiwa
ID
thanks for helping its the xml
thanks for helping its the xml
<tracelog><TraceEvent sequence="0" ruleNumber="22" stepMethod="" stepPage="" step="" stepStatus="" eventType="Activity Begin" elapsed="" name="RULE-OBJ-ACTIVITY ASJ-FW-SFALISFW-WORK-IL INPUTPROD_ACT #20170320T084636.063 GMT" inskey="RULE-OBJ-ACTIVITY ASJ-FW-SFALISFW-WORK-IL INPUTPROD_ACT #20170320T084636.063 GMT" keyname="ASJ-FW-SFALISFW-Work-IL Inputprod_Act" rsname="yourname@yourdomain" rsvers="01-01-01" ><Sequence>0</Sequence><DateTime>20170321T091045.135 GMT</DateTime><EventType>Activity Begin</EventType><EventName>Activity Begin</EventName><Interaction>60</Interaction><ThreadName>STANDARD</ThreadName><RequestorID>HC1A4161F13657D3362C52E48FF3CC48A</RequestorID><CorrelationID>HC1A4161F13657D3362C52E48FF3CC48A</CorrelationID><WorkPool>ASJ-FW-SFALISFW-Work</WorkPool><FirstInput>Activity=Pega-RunRecord.pzRunRecordExecute</FirstInput><LastStep>RULE-OBJ-ACTIVITY PYRUNRECORDEXECUTE #20141219T065204.980 GMT Step: 1 Circum: 0</LastStep><JavaStackTrace>java.lang.Throwable
at com.pega.pegarules.priv.util.StackTrace.getStackTrace(StackTrace.java:47)
at com.pega.pegarules.monitor.internal.tracer.events.TraceEventBaseImpl.setStackTrace(TraceEventBaseImpl.java:1164)
at com.pega.pegarules.monitor.internal.tracer.TracerSessionImpl.traceActivityBegin(TracerSessionImpl.java:659)
at com.pega.pegarules.session.internal.mgmt.Executable.activityProlog(Executable.java:722)
at com.pegarules.generated.activity.sh_action_inputprod_act_cdefd0cc18ced49ac787586c72ffb250.perform(sh_action_inputprod_act_cdefd0cc18ced49ac787586c72ffb250.java:54)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527)
at com.pega.pegarules.session.internal.mgmt.Executable.doAction(Executable.java:3260)
at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_0f739eeb61a9046be9a6d286a73f151a.step1_circum0(ra_action_pyrunrecordexecute_0f739eeb61a9046be9a6d286a73f151a.java:175)
at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_0f739eeb61a9046be9a6d286a73f151a.perform(ra_action_pyrunrecordexecute_0f739eeb61a9046be9a6d286a73f151a.java:69)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10674)
at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_f73998920c112079b42c8cca0a4e44ad.step11_circum0(ra_action_pzrunrecordexecute_f73998920c112079b42c8cca0a4e44ad.java:1009)
at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_f73998920c112079b42c8cca0a4e44ad.perform(ra_action_pzrunrecordexecute_f73998920c112079b42c8cca0a4e44ad.java:245)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:467)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3166)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:390)
at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1301)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1038)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:893)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:331)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:825)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:327)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:270)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:247)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:278)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:223)
at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:594)
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:390)
at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:121)
at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doGet(WebStandardBoot.java:92)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:442)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
</JavaStackTrace><ActivityNumber>22</ActivityNumber><EventKey>RULE-OBJ-ACTIVITY ASJ-FW-SFALISFW-WORK-IL INPUTPROD_ACT #20170320T084636.063 GMT</EventKey><ActivityName>INPUTPROD_ACT</ActivityName><PrimaryPageName>RunRecordPrimaryPage</PrimaryPageName><PrimaryPageClass>ASJ-FW-SFALISFW-Work-IL</PrimaryPageClass><PrimaryPageContent>
<pagedata>
<pxObjClass>ASJ-FW-SFALISFW-Work-IL</pxObjClass>
<pzStatus>valid</pzStatus>
</pagedata>
</PrimaryPageContent><ParameterPageName>=unnamed=</ParameterPageName><ParameterPageContent><pagedata><testjson></testjson></pagedata></ParameterPageContent></TraceEvent><TraceEvent sequence="1" ruleNumber="22" stepMethod="Connect-REST" stepPage="" step="1" stepStatus="" eventType="Step Begin" elapsed="" name="RULE-OBJ-ACTIVITY ASJ-FW-SFALISFW-WORK-IL INPUTPROD_ACT #20170320T084636.063 GMT" inskey="RULE-OBJ-ACTIVITY ASJ-FW-SFALISFW-WORK-IL INPUTPROD_ACT #20170320T084636.063 GMT" keyname="ASJ-FW-SFALISFW-Work-IL Inputprod_Act" rsname="yourname@yourdomain" rsvers="01-01-01" ><Sequence>1</Sequence><DateTime>20170321T091045.140 GMT</DateTime><EventType>Step Begin</EventType><EventName>Step Begin</EventName><Interaction>60</Interaction><ThreadName>STANDARD</ThreadName><RequestorID>HC1A4161F13657D3362C52E48FF3CC48A</RequestorID><CorrelationID>HC1A4161F13657D3362C52E48FF3CC48A</CorrelationID><WorkPool>ASJ-FW-SFALISFW-Work</WorkPool><FirstInput>Activity=Pega-RunRecord.pzRunRecordExecute</FirstInput><LastStep>ASJ-FW-SFALISFW-WORK-IL INPUTPROD_ACT #20170320T084636.063 GMT Step: 1 Circum: 0</LastStep><ActivityNumber>22</ActivityNumber><EventKey>RULE-OBJ-ACTIVITY ASJ-FW-SFALISFW-WORK-IL INPUTPROD_ACT #20170320T084636.063 GMT</EventKey><StepMethod>Connect-REST</StepMethod><ActivityName>INPUTPROD_ACT</ActivityName><StepNumber>1</StepNumber><PrimaryPageName>RunRecordPrimaryPage</PrimaryPageName><PrimaryPageClass>ASJ-FW-SFALISFW-Work-IL</PrimaryPageClass><PrimaryPageContent>
<pagedata>
<pxObjClass>ASJ-FW-SFALISFW-Work-IL</pxObjClass>
<pzStatus>valid</pzStatus>
</pagedata>
</PrimaryPageContent><ParameterPageName>=unnamed=</ParameterPageName><ParameterPageContent><pagedata><testjson></testjson></pagedata></ParameterPageContent></TraceEvent><TraceEvent sequence="2" ruleNumber="22" stepMethod="Connect-REST" stepPage="" step="1" stepStatus="FAIL" eventType="Step End" elapsed="1" name="RULE-OBJ-ACTIVITY ASJ-FW-SFALISFW-WORK-IL INPUTPROD_ACT #20170320T084636.063 GMT" inskey="RULE-OBJ-ACTIVITY ASJ-FW-SFALISFW-WORK-IL INPUTPROD_ACT #20170320T084636.063 GMT" keyname="ASJ-FW-SFALISFW-Work-IL Inputprod_Act" rsname="yourname@yourdomain" rsvers="01-01-01" ><Sequence>2</Sequence><DateTime>20170321T091045.141 GMT</DateTime><EventType>Step End</EventType><EventName>Step End</EventName><Interaction>60</Interaction><ThreadName>STANDARD</ThreadName><RequestorID>HC1A4161F13657D3362C52E48FF3CC48A</RequestorID><CorrelationID>HC1A4161F13657D3362C52E48FF3CC48A</CorrelationID><WorkPool>ASJ-FW-SFALISFW-Work</WorkPool><Elapsed>1</Elapsed><FirstInput>Activity=Pega-RunRecord.pzRunRecordExecute</FirstInput><LastStep>ASJ-FW-SFALISFW-WORK-IL INPUTPROD_ACT #20170320T084636.063 GMT Step: 1 Circum: 0</LastStep><ActivityNumber>22</ActivityNumber><EventKey>RULE-OBJ-ACTIVITY ASJ-FW-SFALISFW-WORK-IL INPUTPROD_ACT #20170320T084636.063 GMT</EventKey><StepMethod>Connect-REST</StepMethod><ActivityName>INPUTPROD_ACT</ActivityName><StepNumber>1</StepNumber><mStepStatus>FAIL</mStepStatus><mStepStatusInfo>** Connect-REST activity method was called with a null step page</mStepStatusInfo><PrimaryPageName>RunRecordPrimaryPage</PrimaryPageName><PrimaryPageClass>ASJ-FW-SFALISFW-Work-IL</PrimaryPageClass><PrimaryPageContent>
<pagedata>
<pxObjClass>ASJ-FW-SFALISFW-Work-IL</pxObjClass>
<pzStatus>valid</pzStatus>
</pagedata>
</PrimaryPageContent><ParameterPageName>=unnamed=</ParameterPageName><ParameterPageContent><pagedata><testjson></testjson></pagedata></ParameterPageContent></TraceEvent><TraceEvent sequence="3" ruleNumber="22" stepMethod="" stepPage="" step="" stepStatus="" eventType="Activity End" elapsed="7" name="RULE-OBJ-ACTIVITY ASJ-FW-SFALISFW-WORK-IL INPUTPROD_ACT #20170320T084636.063 GMT" inskey="RULE-OBJ-ACTIVITY ASJ-FW-SFALISFW-WORK-IL INPUTPROD_ACT #20170320T084636.063 GMT" keyname="ASJ-FW-SFALISFW-Work-IL Inputprod_Act" rsname="yourname@yourdomain" rsvers="01-01-01" ><Sequence>3</Sequence><DateTime>20170321T091045.143 GMT</DateTime><EventType>Activity End</EventType><EventName>Activity End</EventName><Interaction>60</Interaction><ThreadName>STANDARD</ThreadName><RequestorID>HC1A4161F13657D3362C52E48FF3CC48A</RequestorID><CorrelationID>HC1A4161F13657D3362C52E48FF3CC48A</CorrelationID><WorkPool>ASJ-FW-SFALISFW-Work</WorkPool><Elapsed>7</Elapsed><FirstInput>Activity=Pega-RunRecord.pzRunRecordExecute</FirstInput><LastStep>ASJ-FW-SFALISFW-WORK-IL INPUTPROD_ACT #20170320T084636.063 GMT Step: 1 Circum: 0</LastStep><ActivityNumber>22</ActivityNumber><EventKey>RULE-OBJ-ACTIVITY ASJ-FW-SFALISFW-WORK-IL INPUTPROD_ACT #20170320T084636.063 GMT</EventKey><ActivityName>INPUTPROD_ACT</ActivityName><PrimaryPageName>RunRecordPrimaryPage</PrimaryPageName><PrimaryPageClass>ASJ-FW-SFALISFW-Work-IL</PrimaryPageClass><PrimaryPageContent>
<pagedata>
<pxObjClass>ASJ-FW-SFALISFW-Work-IL</pxObjClass>
<pzStatus>valid</pzStatus>
</pagedata>
</PrimaryPageContent><ParameterPageName>=unnamed=</ParameterPageName><ParameterPageContent><pagedata><testjson></testjson></pagedata></ParameterPageContent></TraceEvent></tracelog>
***Updated by moderator: Lochan to remove proprietary information***
Accepted Solution
Pegasystems Inc.
US
Hi,
Thanks for sharing the requested information, but couldn't find the existence of the InputProd page. Could you make sure that the InputProd page exists in the clipboard or try to perform Show-Page before connect-rest method to display InputProd and share your observations.
Regards
Mahesh
PT Asuransi Simas Jiwa
ID
after i switch show-page before connect-rest i can see where is the problem,
Pegasystems Inc.
US
Thanks for your confirmation and my suggestion would be to share the tracer file in xml attachment rather than pasting it in the comment from next time for better communication.