StackOverflow exception for three level nested workobjects
SummaryThere 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 Reproduce1.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 CauseIn 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.
ResolutionAdd property-set param.ReportName == "" after step 1 and before calling pyLoadMyCasesNested activity:
Published June 13, 2017 - Updated August 3, 2017