Posted: 24 Mar 2020 3:22 EDT Last activity: 9 Apr 2020 5:59 EDT
Agent activity failing with java.lang.IndexOutOfBoundsException: Index: 1, Size: 0 exception.
I have updated one of the environment to Pega 8.3.1 then I have imported an application in this environment. In this application we have a process where we are creating child cases using Agent rule. When this activity is executed it is failing with java.lang.IndexOutOfBoundsException: Index: 1, Size: 0 exception. The same activity is working in Pega 7.3 but failing here.
The issue is fixed now. The issue was with the page which we use as step page at obj-open-by handle. This page has a structure as AuditConfirmCase.AuditReference(1).AccNo.AccountNumber. The AccNo page was getting blank and hence the Property-set was failing. I have copied this page on a seperate at the begning of the loop and then used this copied page in property-set. This fixed the issue.