Question

1
Replies
81
Views
Close popover
RamK Sharma (RamKS157)
Morgan Stanley

Morgan Stanley
US
RamKS157 Member since 2018 25 posts
Morgan Stanley
Posted: July 3, 2019
Last activity: July 9, 2019
Closed

Delete document from attachments throws error and slows down the process

We have an pega application named workflow express where on the request page, attachment panel is available. While deleting the document , it gives the following error in logs and noticed that it slows down the deletion process -

2019-06-26 15:50:19,307 [BTHREAD0, eon_id=932] [TABTHREAD0] [ ] [ DMT:01.01.01] (ngineinterface.service.HttpAPI) ERROR crvpega-frm.webfarm.ms.com|127.0.0.1 - Invalid reference passed for the primary page: pyWorkPage.pyAttachments(2)
2019-06-26 15:50:19,307 [BTHREAD0, eon_id=932] [TABTHREAD0] [ ] [ DMT:01.01.01] (ngineinterface.service.HttpAPI) INFO crvpega-frm.webfarm.ms.com|127.0.0.1 - Diagnostic Info of activity being authenticated queryString:pyActivity=pzRunActionWrapper&pzTransactionId=af969e549ff51675cb4c7e9e1b195f0c&pzFromFrame=pyWorkPage&pzPrimaryPageName=pyWorkPage.pyAttachments(2)&pzActivity=pzRemoveAttachments&inStandardsMode=true&AJAXTrackID=4&pzHarnessID=HID5ABC9E9D190352F76E78E4AE9172AC25
Post Data Map:{pzHarnessID=HID5ABC9E9D190352F76E78E4AE9172AC25, $ONewActionSection=, $OCompositeAPIInclude=, $OpzTextInput=, $OHarnessInlineScripts=, $Ogridincludes=, $ODesktopWrapperInclude=, pzFromFrame=pyWorkPage, pyActivity=pzRunActionWrapper, pzPrimaryPageName=pyWorkPage.pyAttachments(2), $OpzCheckboxScripts=, $OListViewIncludes=, pzTransactionId=af969e549ff51675cb4c7e9e1b195f0c, $OWorkformStyles=, $OpyWorkFormStandard=, $OpzCKEditorScripts=, AJAXTrackID=4, $OpzAutoCompleteAGIncludes=, $PDeclare_pyDisplay$ppyDCDisplayState$ppyActiveDocumentType=WORK, inStandardsMode=true, pzActivity=pzRemoveAttachments, $OdocumentInfo_bundle=, pzActivityParams=WorkInskey=MS-FRM-DMT-WORK%20WE-4392, $OEvalDOMScripts_Include=, $OpzHarnessStaticScripts=, $OpzDatePickerAdvancedIncludes=, $OpzCalendarPopupScripts=}
Exception caused while retrieving the primary page:The Reference pyWorkPage.pyAttachments(2) is not valid. Accessing invalid index 2 whereas the list has 0 elements from Requestor : (H8E9A6227562F21E5CF325E7223087FA2:127.0.0.1) , User ID : null
2019-06-26 15:50:19,314 [BTHREAD0, eon_id=932] [TABTHREAD0] [ ] [ DMT:01.01.01] ( internal.mgmt.Executable) ERROR crvpega-frm.webfarm.ms.com|127.0.0.1 natef - Exception
com.pega.pegarules.pub.PRRuntimeException: exception caught during invocation of PRObjectWrapper.prGet() for Java Property pxObjClass. Message: null
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyBase.getJavaPropertyValue(ClipboardPropertyBase.java:2685)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.getValue(ClipboardPropertyImpl.java:4401)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.getValue(ClipboardPropertyImpl.java:4377)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.getStringValue(ClipboardPropertyImpl.java:3568)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getRawString(ClipboardPageImpl.java:1557)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getClassName(ClipboardPageImpl.java:4253)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getClassName(ClipboardPageImpl.java:4245)
at com.pega.pegarules.generation.internal.assembly.FUAManagerImpl.getInternal(FUAManagerImpl.java:1349)
at com.pega.pegarules.generation.internal.assembly.FUAManagerImpl.get(FUAManagerImpl.java:1297)
at com.pega.pegarules.generation.internal.PRGenProviderImpl.get(PRGenProviderImpl.java:476)
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:3997)
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:3871)
at com.pegarules.generated.activity.ra_action_pzrunactionwrapper_056ec03796d8a13802f156886066036d.step4_circum0(ra_action_pzrunactionwrapper_056ec03796d8a13802f156886066036d.java:446)
at com.pegarules.generated.activity.ra_action_pzrunactionwrapper_056ec03796d8a13802f156886066036d.perform(ra_action_pzrunactionwrapper_056ec03796d8a13802f156886066036d.java:121)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3510)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:466)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3093)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:390)

Snapshots for attachment delete icon configuration are attached with this post.

SR-D27241

***Edited by Moderator Marissa to update SR Details***

Pega Platform Low-Code App Development Data Integration Java and Activities Support Case Exists
Moderation Team has archived post