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

NullPointer occurs and second node fails to initialize Search



Two nodes in the system have the same default four node types. The first node starts correctly. The second node fails to initialize the Search.

Error Messages

[] [STANDARD] [ ] [  ] (Manager.PegaSearchProviderImpl) ERROR   - Failed to initialize full text search functionality for this node. Failed to initialize full text search for this node.

        at ~[search.jar:?]

        at ~[search.jar:?]

        at ~[search.jar:?]

        at com.pega.platform.pegasearch.searchmanager.internal.PegaSearchProviderImpl._initializeFTS( ~[pegasearch.jar:?]

        at com.pega.platform.pegasearch.searchmanager.internal.PegaSearchProviderImpl.initializeFTS( [pegasearch.jar:?]

        at c…..

Caused by: java.lang.NullPointerException

        at sun.nio.fs.UnixFileSystem.getPath( ~[?:1.8.0]

        at ~[elasticsearch-5.6.9.jar:?]

        at org.elasticsearch.monitor.os.OsProbe.readSysFsCgroupCpuAcctCpuAcctUsage( ~[elasticsearch-5.6.9.jar:?]

        at org.elasticsearch.monitor.os.OsProbe.getCgroupCpuAcctUsageNanos( ~[elasticsearch-5.6.9.jar:?]

Steps to Reproduce

Start the second node.

Root Cause

A defect or configuration issue in the operating environment.
The error is related to the cgroups configuration on the Linux node.


Make the following change to the operating environment:

Modify the cgroups with the command similar to the below.

sudo mount -t cgroup -o rw,nosuid,nodev,noexec,relatime,cpu,cpuacct cgroup /sys/fs/cgroup/cpu,cpuacct

Published February 24, 2020 - Updated December 2, 2021

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