Support Article

InvalidReferenceException opening existing work after upgrade

SA-37384

Summary



After upgrading to Pega 7.2.2, users see an error when trying to open a case (a work item) that was created prior to the upgrade.
There are no errors for new cases (work items) created in Pega 7.2.2.


Error Messages



com.pega.pegarules.pub.clipboard.InvalidReferenceException: The reference [not specified] is not valid. Reason: null reference
at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.initialize(PropertyReferenceImpl.java:2913)
at com.pega.pegarules.data.internal.clipboard.PropertyReferencePoolImpl.get(PropertyReferencePoolImpl.java:131)
at com.pega.pegarules.data.internal.clipboard.PropertyReferencePoolImpl.get(PropertyReferencePoolImpl.java:109)
at com.pega.pegarules.data.internal.clipboard.AfterCopy_ReferencePropertyDuplicator.handleOneForwardReference(AfterCopy_ReferencePropertyDuplicator.java:148)
at com.pega.pegarules.data.internal.clipboard.AfterCopy_ReferencePropertyDuplicator.handleForwardReferences(AfterCopy_ReferencePropertyDuplicator.java:141)
at com.pega.pegarules.data.internal.clipboard.AfterCopy_ReferencePropertyDuplicator.execute(AfterCopy_ReferencePropertyDuplicator.java:111)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.putAllAndReconcileRefProps(ClipboardPageImpl.java:2915)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageBase.replace(ClipboardPageBase.java:573)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.replace(ClipboardPageImpl.java:484)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageBase.replace(ClipboardPageBase.java:1563)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.replace(ClipboardPageImpl.java:484)
at com.pega.pegarules.pub.runtime.AbstractActivity.objOpen(AbstractActivity.java:85)


Steps to Reproduce



After upgrading to 7.2.2, try to open a work item that was created prior to upgrading.

Root Cause



A defect in Pegasystems’ code or rules
For older-version reference links, some extra information is needed in Pega 7.2.2. Reference links in work items created in releases prior to Pega 7.2.2 require reinitialization to populate the work items with the missing information.

Resolution



Apply HFix-33936.

Published May 3, 2017 - Updated May 15, 2017


100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.