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

NullPointerException occurs and the servers do not start



The following Dynamic System Settings (DSS) are set to false, and restarted.


Post restart, NullPointerException occurs and the servers do not start.

Error Messages

[STANDARD] [ ] [ ] ( etier.impl.EngineStartup) ERROR - PegaRULES initialization failed. Server: SERVER_NAME PRNodeImpl init failed
at com.pega.pegarules.session.internal.mgmt.PREnvironment.getThreadAndInitialize(
at com.pega.pegarules.session.internal.PRSessionProviderImpl.getThreadAndInitialize(
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineStartup.initEngine(
Caused by: Method Invocation exception
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(
... 51 more
Caused by:
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
... 54 more
Caused by:
at com.pega.pegarules.session.internal.async.startup.SearchInitializationTask.runTask(
at com.pega.pegarules.session.internal.async.startup.StartupTaskUtil.runTask(
at com.pega.pegarules.session.internal.mgmt.PREnvironment.finishInit(

Steps to Reproduce


Root Cause

In Pega 7.2, modifying the DSS settings to False resulted in Null Pointer exception during Search initialization and the elastic server did not start.


Perform the following local-change:

1. Delete the affected DSS entries from the pr_data_admin database table.

Below is an example query:

DELETE FROM prpc_data.pr_data_admin WHERE pypurpose='indexing/distributed/index_enabled';

Add the following settings in prconfig.xml.

<env name="indexing/distributed/enabled" value="true" />
<env name="indexing/distributed/index_enabled" value="true​" />
<env name=" indexing/distributed/search_enabled" value="true​" />

2. Perform a restart.

Alternatively, update to Pega 7.2.1

Published July 23, 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