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

¿¿¿¿¿¿¿Error occurs after completing a child case

SA-52371

Summary



Error occurs after completing a child case.


Error Messages



The Flow Action pre-processing activity pyPopulateCaseContentsWrapper failed: java.lang.StringIndexOutOfBoundsException: String index out of range: -1

[fault (self-tuning)'] [ STANDARD] [ ] [ CentralOps:01.01.01] (fo.TFKB_CentralOps_Work.Action) ERROR - Error in RDB-List
com.pega.pegarules.pub.database.DatabaseException: There was a problem getting a list: code: 933 SQLState: 42000 Message: ORA-00933: SQL command not properly ended

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1911)
at com.pegarules.generated.activity.ra_action_pyloadmycasesnested_762840912f98bef09a9c03dc97284e2b.step5_circum0(ra_action_pyloadmycasesnested_762840912f98bef09a9c03dc97284e2b.java:332)
at com.pegarules.generated.activity.ra_action_pyloadmycasesnested_762840912f98bef09a9c03dc97284e2b.perform(ra_action_pyloadmycasesnested_762840912f98bef09a9c03dc97284e2b.java:106)

at com.pegarules.generated.activity.ra_action_pypopulatecasecontentswrapper_ca8f9742ef3ce434e613d4db3af658fc.step4_circum0(ra_action_pypopulatecasecontentswrapper_ca8f9742ef3ce434e613d4db3af658fc.java:542)



Steps to Reproduce

  1. Create a parent case
  2. Create multiple child cases
  3. Resolving the child cases. Error occurs after the last child case is resolved

Root Cause



A defect in Pegasystems’ code or rules. The pyloadmycasesnested activity does not check if the insKey length is greater than 0.


Resolution



Perform the following local-change:

Add a check in the Java step of the pyloadmycasesnested activity to check if the length of insKey (from the list of pxCoveredInsKeys) is not equal to 0.

 

 

Published July 23, 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?

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