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

After rule migration SOAP service is throwing NPE

SA-31430

Summary



After rules migration, Pega SOAP service throws NullPointerException (NPE) for the first request and subsequent SOAP calls works.


Error Messages



2016-10-06 16:05:26,250 [ WebContainer : 8] [ STANDARD] [ ] ( services.soap.SOAPService) ERROR localhost|127.0.0.1 - Caught unexpected com.pega.pegarules.pub.PRRuntimeError, message='PRRuntimeError'
com.pega.pegarules.pub.PRRuntimeError: PRRuntimeError
at com.pega.pegarules.session.internal.authorization.context.GlobalContextCache.getDependsOnApp(GlobalContextCache.java:431)
at com.pega.pegarules.session.internal.authorization.context.GlobalContextCache.checkParentChildCollections(GlobalContextCache.java:380)
at com.pega.pegarules.session.internal.authorization.context.GlobalContextCache.checkParentChildCollections(GlobalContextCache.java:392)
at com.pega.pegarules.session.internal.authorization.context.GlobalContextCache.registerBasicAppContext(GlobalContextCache.java:322)
at com.pega.pegarules.session.internal.authorization.context.BasicApplicationContext.registerUse(BasicApplicationContext.java:709)
at com.pega.pegarules.session.internal.authorization.context.BasicApplicationContext.registerLocalizedEdition(BasicApplicationContext.java:221)

Caused by:
java.lang.NullPointerException
at com.pega.pegarules.session.internal.authorization.context.GlobalContextCache.getDependsOnApp(GlobalContextCache.java:420)
... 65 more


Steps to Reproduce

  1. Migrate Pega rules Rule-Admin-Product (RAP).
  2. Invoke SOAP service.
  3. Check the logs for the NullPointerException.


Root Cause



A defect in Pegasystems’ code or rules.

Resolution



Apply HFix-30696.

 

Suggest Edit

Published December 15, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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