Discussion

71
Views
Arun_Mahanty Member since 2015 1 post
PEGA
Posted: July 24, 2017
Last activity: April 6, 2018
Closed

After upgrade old cases cannot be opened in 7.2.2

As part of the GCS posting this upgrade issue which would be helpful for all .

SUMMARY

Application have upgraded from 6.1SP2 to 7.2.2,After upgrade user tried to pull work objects related to 6.1Sp2 with search option and it’s thrown error in the UI .

The new case id created in 7.2.2 works fine .

This issue is observed for historical cases which have a reference property .

Obj-Browse,Obj-Open-By-Handle steps shows failed in the tracer .

ERROR MESSAGES

java.lang.RuntimeException: caught exception while expanding property Case on page TestPage.pxResults(1)

at com.pega.pegarules.data.internal.clipboard.DirectStreamContainer.expandToProperty(DirectStreamContainer.java:585)

at com.pega.pegarules.data.internal.clipboard.DirectStreamContainer.expandAllToProperties(DirectStreamContainer.java:410)

at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.expandAll(ClipboardPageImpl.java:1158)

at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.expandAll(ClipboardPageImpl.java:1152)

at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.expandAll(ClipboardPageImpl.java:1148)

at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.values(ClipboardPageImpl.java:5101)

at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.values(ClipboardPageImpl.java:5125)

at com.pega.pegarules.data.internal.clipboard.XMLStream.writeXMLPage(XMLStream.java:690)

at com.pega.pegarules.data.internal.clipboard.XMLStream.writeXMLProperty(XMLStream.java:959)

at com.pega.pegarules.data.internal.clipboard.XMLStream.writeXMLProperty(XMLStream.java:978)

at com.pega.pegarules.data.internal.clipboard.XMLStream.writeXMLPage(XMLStream.java:775)

at com.pega.pegarules.data.internal.clipboard.XMLStream.clipboardToXML(XMLStream.java:521)

at com.pega.pegarules.data.internal.clipboard.XMLStream.clipboardToXML(XMLStream.java:496)

at com.pega.pegarules.data.internal.clipboard.WorkbenchXMLStream.<init>(WorkbenchXMLStream.java:216)

at com.pega.pegarules.data.internal.clipboard.ClipboardPageBase.getXML(ClipboardPageBase.java:2202)

at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getXML(ClipboardPageImpl.java:484)

at com.pega.pegarules.data.internal.clipboard.ClipboardPageBase.getXML(ClipboardPageBase.java:2187)

at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getXML(ClipboardPageImpl.java:484)

at com.pega.pegarules.monitor.internal.tracer.events.TraceEventBaseImpl.getPageXML(TraceEventBaseImpl.java:1106)

at com.pega.pegarules.monitor.internal.tracer.events.TraceEventBaseImpl.setPrimaryPage(TraceEventBaseImpl.java:1047)

at com.pega.pegarules.monitor.internal.tracer.events.TraceEventBaseImpl.setPrimaryPageData(TraceEventBaseImpl.java:864)

at com.pega.pegarules.monitor.internal.tracer.TraceEvent.ctorCommon(TraceEvent.java:185)

at com.pega.pegarules.monitor.internal.tracer.TraceEvent.<init>(TraceEvent.java:167)

at com.pega.pegarules.monitor.internal.tracer.TracerSessionImpl.traceActivityStepBegin(TracerSessionImpl.java:714)

at com.pega.pegarules.session.internal.mgmt.Executable.activityStepProlog(Executable.java:1250)

at com.pegarules.generated.activity.sh_action_testbrowse_f05df17abb96f09763a94aa3d84737f6.step2_circum0(sh_action_testbrowse_f05df17abb96f09763a94aa3d84737f6.java:339)

at com.pegarules.generated.activity.sh_action_testbrowse_f05df17abb96f09763a94aa3d84737f6.perform(sh_action_testbrowse_f05df17abb96f09763a94aa3d84737f6.java:92)

at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3553)

at com.pega.pegarules.session.internal.mgmt.Executable.doAction(Executable.java:3286)

at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.step2_circum0(ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.java:249)

at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.perform(ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.java:88)

at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3553)

at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10711)

at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.step11_circum0(ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.java:1027)

at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.perform(ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.java:246)

at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3553)

at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646)

... 50 more

Caused by: java.lang.IllegalArgumentException: The provided arguments do not match any type of ReferencePropertyLink implementation: SourcePageName:,SourcePropertyReference:.CoverageReview(1),ReferencePageName:,ReferencePropertyReference:.CurrentActivityRef,NumLevelsFromRef:-3,NumLevelsFromSrc:2,IsRefTopLevelPage:false,Keys:null

at com.pega.pegarules.data.internal.clipboard.ReferencePropertyLinkBuilder.createInstanceFromStreamData(ReferencePropertyLinkBuilder.java:47)

at com.pega.pegarules.data.internal.clipboard.StorageStreamCommonImpl.createBackReferenceAndAddToSourceProperty(StorageStreamCommonImpl.java:1641)

at com.pega.pegarules.data.internal.clipboard.StorageStreamCommonImpl.addBackLinksToSource(StorageStreamCommonImpl.java:1617)

at com.pega.pegarules.data.internal.clipboard.StorageStreamCommonImpl.deserializeAllBackwardPageToPageLinks(StorageStreamCommonImpl.java:1547)

at com.pega.pegarules.data.internal.clipboard.StorageStreamCommonImpl.deserializeLink(StorageStreamCommonImpl.java:932)

at com.pega.pegarules.data.internal.clipboard.DirectStreamContainer.addToClipboardObject(DirectStreamContainer.java:907)

at com.pega.pegarules.data.internal.clipboard.DirectStreamContainer.toPage(DirectStreamContainer.java:939)

at com.pega.pegarules.data.internal.clipboard.DirectStreamContainer.toPage(DirectStreamContainer.java:946)

at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.expandStream(ClipboardPropertyImpl.java:2480)

at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.expandStream(ClipboardPropertyImpl.java:2412)

at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.resolveReferenceProperty(ClipboardPropertyImpl.java:6041)

at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.resolveReferenceProperty(ClipboardPropertyImpl.java:8075)

at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.adopt(ClipboardPropertyImpl.java:4723)

at com.pega.pegarules.data.internal.clipboard.DirectStreamContainer.expandToProperty(DirectStreamContainer.java:542)

... 86 more

ROOT CAUSE

After tracing the clipboard ,pyWorkPage structure for reference property looked empty.

The NumLevelsFromRef is Unknown and it is not a NamedPage link, which was being defaulted to CommonTLP in earlier releases. This was broken in 7.2.2

RESOLUTION

HFix-35901 is created for this issue .

As part of the Fix NamedPage Link has been defaulted to Common TLP ,this issue is fixed in 7.3.1 .

Later on user have tried to search historical work objects and they failed with below exception

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.session.internal.mgmt.Executable.setStepPage(Executable.java:2013)
at com.pega.pegarules.pub.runtime.AbstractActivity.objOpenByHandle(AbstractActivity.java:126)
at com.pegarules.generated.activity.sh_action_testbrowse_0cfad0bd85702c08a955b179f91e47a5.step6_circum0(sh_action_testbrowse_0cfad0bd85702c08a955b179f91e47a5.java:174)

For this behavior HFix-33936 has been shipped .

If you have similar issue please create a SR one of our support engineer will help you shipping the hotfixes .

Low-Code App Development Upgrades
Moderation Team has archived post
Share this page LinkedIn