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

java.lang.NullPointerException on Log file, but no impact on UI

SA-22611

Summary



Null Pointer Exception identified in logs at Java code step of 'CAStartTask' activity.


Error Messages



java.lang.NullPointerException
at com.pegarules.generated.activity.ra_action_castarttask_41a1d7874abed98ab862689ae6a04f88.step3_circum0(ra_action_castarttask_41a1d7874abed98ab862689ae6a04f88.java:327)
at com.pegarules.generated.activity.ra_action_castarttask_41a1d7874abed98ab862689ae6a04f88.perform(ra_action_castarttask_41a1d7874abed98ab862689ae6a04f88.java:112)

 

Steps to Reproduce



No Steps to reproduce the problem.


Root Cause



Trying to find a page in the Java code but not checking whether the page is Null.

CAStartTask activity contains Java code where no null checks were given. It is best practice to have Null checks.
Handle the Null pointer by checking for it, and exiting when it is detected.

Resolution



Apply HFix-27241 to resolve the reported behavior.

 

Suggest Edit

Published May 2, 2016 - 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