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

StackOverflow exception for three level nested workobjects



There is three level nesting of cases in the application. Let suppose Parent case - P, it's Child case - PC, It's child case - PCC. So the structure is P >PC>PCC.

For 1 P case. there is 1 PC child case and for that PC case there are around 140 PCC child cases.

Now user is unable to open the case P.

Error Messages

"The Flow action preprocessing activity pyPopulateCaseContentsWrapper failed:java.lang.StackOverflowError"

Steps to Reproduce

1.Create a parent case say P.
2.Create a child case say PC.
3.Create nested child case say PCC.
4. Create an instance of say P-1 , create a child case say PC-1 ,create multiple child cases to PC , say PCC-1 to PCC-200.
5. Open the Parent Work Object (WO) P-1 .

Root Cause

In the java step in pyLoadMyCasesNested activity, if the count is > 100 then the activity is called with different primary page which is creating the stackoverflow exception.


Add property-set param.ReportName == "" after step 1 and before calling pyLoadMyCasesNested activity:

Suggest Edit

Published August 3, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

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.

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