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

Deferred save fails with a null pointer exception

SA-72851

Summary


 

Deferred save fails with a null pointer exception, in the RecalculateAndSave activity during the flow processing.


Error Messages

489 [WebContainer:146][TABTHREAD0][SWLPIApp:](internal.mgmt.Executable)ERROR my.machine.test.group - Exception
java.lang.NullPointerException
at data.internal.access.Indexer$Updates.write(Indexer.java:1520)
at data.internal.access.Indexer.calulateIndexesIncrementallyForInstance(Indexer.java:457)
at data.internal.access.Indexer.updateIndexes(Indexer.java:400)
at data.internal.access.Saver.doIndexing(Saver.java:1405)
at data.internal.access.Saver.saveDeferred(Saver.java:372)
at data.internal.access.DatabaseImpl.saveDeferred(DatabaseImpl.java:5089)
at data.internal.access.DatabaseImpl.saveDeferred(DatabaseImpl.java:5073)
at generated.activity.ra_action_newdefaults_step5_circum0(ra_action_newdefaults_java:1279)


Steps to Reproduce

  1. Create an item with an index configured to write though the source properties are empty
  2. Configure a custom agent to invoke the PerformFlowAction activity on the item. Error displays in the logs


Root Cause



A defect in Pegasystems’ code or rules. 

Resolution



Apply HFix-50480.

 

Published March 19, 2019 - 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