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

Null pointer exception on startup - PRGenProviderImpl

SA-22500

Summary



After upgrading to Pega 7.1.9 from PRPC 6.3, the server does not come up.

It throws a NullPointerException.


Error Messages


ERROR   - PegaRULES initialization failed. Server: your_server
com.pega.pegarules.pub.context.InitializationFailedError: PRNodeImpl init failed
    at com.pega.pegarules.session.internal.mgmt.PREnvironment.getThreadAndInitialize(PREnvironment.java:396)
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.getThreadAndInitialize(PRSessionProviderImpl.java:1998)
    at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineStartup.initEngine(EngineStartup.java:664)
    at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._initEngine_privact(EngineImpl.java:165)
    at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.doStartup(EngineImpl.java:138)

java.lang.NullPointerException
at com.pega.pegarules.generation.internal.PRGenProviderImpl.get(PRGenProviderImpl.java:474)
at com.pega.pegarules.session.internal.mgmt.Executable.evaluateWhen(Executable.java:4209)
at com.pega.pegarules.session.internal.mgmt.Executable.evaluateWhen(Executable.java:4128)


Steps to Reproduce

  1. Upgrade from PRPC 6.3 to Pega 7.1.9.
  2. Try to start up server after successful upgrade.


Root Cause



A defect or configuration issue in the operating environment.
The PEGA!BATCH requestor access group does not have the PegaRULES:Batch role.


Resolution



Make the following change to the operating environment:
  1. Start the system with the out-of-the-box PRPC system name.
  2. Change the PEGA!BATCH requestor access group to have the PegaRULES:Batch role.
  3. Restart the system with system name Pega.

 

Suggest Edit

Published May 4, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

100% found this useful

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