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

Pega For Government 7.15 throws IndexOutOfBoundsException



When using a data transform rule with a When step inside a For loop, using the <CURRENT> operator, "IndexOutOfBoundsException" errors are incurred. This event occurs after upgrading to Pega 7.1.8 in Pega For Government (PFG) 7.15.

Error Messages


java.lang.IndexOutOfBoundsException: Index: 3, Size: 1

  at java.util.ArrayList.rangeCheck(

  at java.util.ArrayList.get(








  at com.pega.pegarules.session.internal.mgmt.Executable.getAnyValueViaPropRef(

  at com.pega.pegarules.session.internal.mgmt.Executable.getStringValueViaPropRef(

  at com.pegarules.generated.model.ra_model_preloaddata_f5e4dabd9ac448aba694c7f569d5ae58.whenCondition_3(

Steps to Reproduce

  1. Login as pfgsysadmin/ install. 
  2. Switch the application to Pega Foundation for Government. 
  3. Launch Case Manager portal 7. 
  4. Select Entity from Search menu, it shows a search screen 
  5. Enter 'Communication' in Last name field and click on search button. It shows a record in search results 
  6. Click on view link of the record, it would show profile of "Communication" 
  7. Click on FOIA request button (placed right side top most of the header), it opens a screen. It shows an IndexOutOfBoundsException. 

Root Cause

The root cause of this problem is a defect in Pegasystems’ framework code/rules. 


This issue is resolved by HFix-23242.


Published August 11, 2015 - 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