Support Article
NullPointerException found in log for D_CaseStages data page
SA-33463
Summary
Errors appear in the log when processing work objects.
Error Messages
java.lang.NullPointerException
at com.pegarules.generated.activity.ra_action_pzloadstagestatusdp_920dda99c2721a1c865d9b3ff3a75d24.step2_circum0(ra_action_pzloadstagestatusdp_920dda99c2721a1c865d9b3ff3a75d24.java:498)
Steps to Reproduce
Run a process that includes a section in which the D_CaseStages data page is referenced.
Root Cause
An issue in the custom application code or rules:
A work object is added on page customPage. When the pzLoadStageStatusDP activity is executed, it looks for data on pyWorkPage, which does not exist.
Resolution
Perform any one of the following local-changes:
- Use pyWorkPage instead of customPage when adding the work object.
- Modify the harness so that the pyDisplayStages section is not referenced.
Published February 10, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.