Support Article

Java Error on deferred Save

SA-38284

Summary



Users notice in the Pega Platform logs that a deferred Save is failing with error Null Pointer Exception in the log.


Error Messages



java.lang.NullPointerException<CR>
at com.pega.pegarules.data.internal.access.Indexer$Updates.write(Indexer.java:1440)<CR>
at com.pega.pegarules.data.internal.access.Indexer.calulateIndexesIncrementallyForInstance(Indexer.java:455)<CR>
at com.pega.pegarules.data.internal.access.Indexer.updateIndexes(Indexer.java:398)<CR>
at com.pega.pegarules.data.internal.access.Saver.doIndexing(Saver.java:1414)<CR>
at com.pega.pegarules.data.internal.access.Saver.saveDeferred(Saver.java:369)<CR>
at com.pega.pegarules.data.internal.access.DatabaseImpl.saveDeferred(DatabaseImpl.java:4832)<CR>


Steps to Reproduce



Not Applicable

Root Cause



A defect in Pegasystems’ code or rules.

​During declare index processing the context page is null.

Resolution



ApplyHFix-34601.

Published May 19, 2017 - Updated June 7, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.