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

Null pointer exception during case creation

SA-32227

Summary



A null pointer exception (NPE) occurs occassionally in the activity addcoveredwork while executing pzaddmapcasetomap and the engine method findPageByHandle.

Error Messages



Caused by:
java.lang.NullPointerException
    at com.pega.pegarules.session.internal.mgmt.Executable.findPageByHandle(Executable.java:8267)
   at
com.pegarules.generated.pzAddCaseToMap_071017_P4ek07XJ8Sck6QpJFqML6w.pzAddCaseToMap07_10_17(pzAddCaseToMap_0
71017_P4ek07XJ8Sck6QpJFqML6w.java:141)
at
com.pegarules.generated.pzAddCaseToMap_071017_P4ek07XJ8Sck6QpJFqML6w.invoke(pzAddCaseToMap_071017_P4ek07XJ8Sck
6QpJFqML6w.java:79)


Steps to Reproduce



Unknown

Root Cause



A defect in Pegasystems' code or rules:
The method findPageByHandle keeps an internal array of pzInsKeys associated with clipboard pages. It is possible for the array of pages to become stale and a reference to a non-existent page might be made, resulting in an NPE.


Resolution



Apply HFix-31405.
Suggest Edit

Published January 16, 2017 - Updated October 8, 2020

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