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

Unable to work on cases with DirectStreamContainerV7 RuntimeExp

SA-61528

Summary



Unable to open some work items sporadically. New work items enter this stage and the associated BLOB may persist in to an inappropriate stage.


Error Messages



On screen: 

The Flow Action pre-processing activity pyPopulateCaseContentsWrapper failed: java.lang.RuntimeException: caught exception while expanding property pxAssignmentKey on page pyWorkPage.pxFlow 
----------------------------------------------------------------------------- 

PegaRULES.log:

[http-apr-8080-exec-1] [STANDARD] [ ] [AN_APP|AA.BB] (pboard.DirectStreamContainerV7) ERROR host|aa.bbb.cc.ddd an_operator - Caught exception while expanding property pxAssignmentKey on page Case.pxFlow 
[http-apr-8080-exec-1] [STANDARD] [ ] [AN_APP|AA.BB] (pboard.DirectStreamContainerV7) ERROR host|aa.bbb.cc.ddd an_operator - 
Page key : 
[http-apr-8080-exec-1] [STANDARD] [ ] [AN_APP|AA.BB] (pboard.StorageStreamCommonImpl) ERROR host|aa.bbb.cc.ddd an_operator - Created Dump File expandStream74q8n2qlrn.dat due to The property Case.pxFlow(pxAssignmentKey) was of mode String while com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.getPageValue() was expecting Page mode. Details: (none) 
[http-apr-8080-exec-1] [STANDARD] [ ] [AN_APP|AA.BB] (internal.mgmt.Executable) ERROR host|aa.bbb.cc.ddd an_operator - Exception 
java.lang.RuntimeException: caught exception while expanding property pxAssignmentKey on page Case.pxFlow 
at com.pega.pegarules.data.internal.clipboard.DirectStreamContainerV7.expandToProperty(DirectStreamContainerV7.java:822) ~[prprivate.jar:?] 
at com.pega.pegarules.data.internal.clipboard.DirectStreamContainerV7.expandAllToProperties(DirectStreamContainerV7.java:583) ~[prprivate.jar:?] 
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.expandAll(ClipboardPageImpl.java:1177) ~[prprivate.jar:?] 
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.expandAll(ClipboardPageImpl.java:1171) ~[prprivate.jar:?] 
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.expandAll(ClipboardPageImpl.java:1167) ~[prprivate.jar:?] 
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.values(ClipboardPageImpl.java:5110) ~[prprivate.jar:?] 
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.values(ClipboardPageImpl.java:5134) ~[prprivate.jar:?] 
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyBase.iterator(ClipboardPropertyBase.java:3558) ~[prprivate.jar:?] 
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyBase.iterator(ClipboardPropertyBase.java:3526) ~[prprivate.jar:?] 
at com.pega.pegarules.data.internal.clipboard.WorkbenchXMLStream.writeXMLMessages(WorkbenchXMLStream.java:692) ~[prprivate.jar:?] 
....................... 
Caused by: com.pega.pegarules.pub.clipboard.WrongModeException: The property Case.pxFlow(pxAssignmentKey) was of mode String while com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.getPageValue() was expecting Page mode. Details: (none) 
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.getPageValue(ClipboardPropertyImpl.java:3662) ~[prprivate.jar:?] 
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.getPageValue(ClipboardPropertyImpl.java:3653) ~[prprivate.jar:?] 
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.put(ClipboardPageImpl.java:2246) ~[prprivate.jar:?] 
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.put(ClipboardPageImpl.java:1990) ~[prprivate.jar:?] 
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.put(ClipboardPageImpl.java:1980) ~[prprivate.jar:?]



Steps to Reproduce



Unknown


Root Cause



In the PageGroup properties, some work items have been persisted without a subscript.

All the PageGroup properties must have a subscript reference and the syntax of pxFlow(Param.abc).pxAssignmentKey. The subscript is absent and results in a runtime exception if Param.abc is empty or null.



Resolution



Apply HFix-45772.

Perform the following local-change for the existing work items,
  1. Create an activity with an Obj-Open step to remove the pxFlow property.
  2. Disable the tracer when running the activity as the system may expand all the properties including pxFlow PageGroup and cause a failure.
  3. Run the work item with the startflow step to repopulate the correct pxFlow PageGroup property.

 

Published October 11, 2018 - 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