Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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:
  1. Open the Obj-Open-By-Handle Declare_GlobalSimPage instance of Log-Connect-GlobalSimulation
  2. Loop through pySimulations page list and remove the entry that is causing the issue
  3. Perform Obj-Save with write-now
  4. Enable and then disable simulations


Published February 20, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us