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



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

Error Messages

at com.pegarules.generated.activity.ra_action_castarttask_41a1d7874abed98ab862689ae6a04f88.step3_circum0(
at com.pegarules.generated.activity.ra_action_castarttask_41a1d7874abed98ab862689ae6a04f88.perform(


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.


Apply HFix-27241 to resolve the reported behavior.


Published May 2, 2016 - Updated December 2, 2021

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