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

NullPointerException - updateopencoveredtasks



User gets NullPointerException error when the declare trigger UpdateCoveredTasks is triggered which calls the activity updateopencoveredtasks .

There is an article on this which suggests to fix this issue by applying the HFix-22196.
The article is
The fix is suggested for the version Pega 7.1.6 and user needs advise whether the same Hotfix is applicable for the version Pega 7.1.5 as well.


Error Messages

12 hits for " - Exception caught while evaluating when java.lang.NullPointerException"
2016-09-19 08:18:30,202 [.PRPCWorkManager : 9] [ STANDARD] [Application] (overedTasks.Work_Cover_.Action) ERROR Operator-Id- Exception caught while evaluating when
at com.pegarules.generated.hasMessages_071001_g2iWXetIUVd_Afo_MBZwOw.hasMessages07_10_01(
at com.pegarules.generated.hasMessages_071001_g2iWXetIUVd_Afo_MBZwOw.invoke(
at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(
at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(
at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(
at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflection(
at com.pegarules.generated.pega_rules_default.hasMessages(
at com.pegarules.generated.activity.ra_action_updateopencoveredtasks_33c1b1bfe0ab243c2a37babced6a9934.step4_circum0(
at com.pegarules.generated.activity.ra_action_updateopencoveredtasks_33c1b1bfe0ab243c2a37babced6a9934.perform(

Steps to Reproduce

Found in log file and has been given below. This has been happening multiple times.

Root Cause

This is a known defect that was fixed with HFix-22196 in a later version.


User was encouraged to upgrade if they wished to use the hotfix, or apply a local change.

User applied the following local change :

add "@(Pega-RULES:Default).PageExists(TempWorkPage, tools) && @hasMessages(TempWorkPage)" in transition step 4 of the activity.



Published November 24, 2016 - Updated October 8, 2020

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