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 displays when importing the Product rule

SA-81668

Summary

NullPointerException displays when importing the Product rule.


ERROR MESSAGE

java.lang.NullPointerException
    at com.pega.platform.search.indexer.internal.ESBulkIndexerEmbedded.processBulkRequest(ESBulkIndexerEmbedded.java:165) ~[search.jar:?]



Steps to Reproduce



Attempt to import the Product rule.


Root Cause



A defect in Pegasystems’ code or rules. The log level is set to DEBUG for PegaSearch.Indexer.ESBulkIndexer. In the ESBulkIndexer, the bulk requestor object can be null, however, if debugging is enabled, a value is taken off of it before checking if it is null. This resulted in the exception.


Resolution

Perform the following local-change:

Disable the DEBUG level logging on PegaSearch.Indexer.ESBulkIndexer.




 
Suggest Edit

Published August 15, 2019 - Updated December 2, 2021

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