Support Article
Unexpected behaviour after long time of inactivity
SA-29036
Summary
After long time of inactivity when a data transform is run it is failing to update a clipboard page containing refernce properties,null pointer exception is thrown.
Error Messages
com.pega.pegarules.pub.PRRuntimeException: PRRuntimeException
at com.pega.pegarules.session.internal.mgmt.Executable.applyModel(Executable.java:4318)
<...>
Caused by:
java.lang.NullPointerException
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.remove(ClipboardPropertyImpl.java:1949)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.remove(ClipboardPropertyImpl.java:1918)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.clearValue(ClipboardPropertyImpl.java:4172)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyBase.setValue(ClipboardPropertyBase.java:1692)
session.internal.mgmt.Executable.applyModel(Executable.java:4289)
Steps to Reproduce
- Configure button to create a page via data transform or an activity.
- Populate reference proprty in that page.
- Allow the page to passivate.
- After sometime (passivation time) execute another data transform that will try to update that page.
Root Cause
A defect in Pegasystems’ code for which once reference property is passivated its reference is lost.
Due to this, Null pointer is thrown because existence of the reference is not checked before trying to do operations on it.
Resolution
Apply HFix-29785 to resolve this issue.
Published November 8, 2016 - 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.