Support Article
Unable to turn off simulation for SOAP rules
SA-49619
Summary
Unable to turn off simulation for SOAP rules.
Error Messages
java.lang.NullPointerException
at com.pegarules.generated.activity.ra_action_applysimulationchanges_712d48927f4709b42f7fae797ec99e2e.step3_circum0(ra_action_applysimulationchanges_712d48927f4709b42f7fae797ec99e2e.java:463)
at com.pegarules.generated.activity.ra_action_applysimulationchanges_712d48927f4709b42f7fae797ec99e2e.perform(ra_action_applysimulationchanges_712d48927f4709b42f7fae797ec99e2e.java:110)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3553)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:465)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3203)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:391)
at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1297)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1034)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:889)
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:829)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:331)
Steps to Reproduce
Turn off simulation for SOAP rules from the SOAP rule or Connector definitions and simulations landing page.
Root Cause
There was a stale record in Declare_GlobalSimPage.
Resolution
Perform the following local-change:- Open the Obj-Open-By-Handle Declare_GlobalSimPage instance of Log-Connect-GlobalSimulation
- Loop through pySimulations page list and remove the entry that is causing the issue
- Perform Obj-Save with write-now
- Enable and then disable simulations
Published February 20, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.