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

SA-12702

Summary



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(ArrayList.java:638)

  at java.util.ArrayList.get(ArrayList.java:414)

  at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyBase.getPageValue(ClipboardPropertyBase.java:1927)

  at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.resolveEmbeddedPages(PropertyReferenceImpl.java:1986)

  at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.resolveEmbeddedPages(PropertyReferenceImpl.java:1727)

  at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.doGetString(PropertyReferenceImpl.java:1481)

  at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.getString(PropertyReferenceImpl.java:1222)

  at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.getString(PropertyReferenceImpl.java:1205)

  at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getValueInType(ClipboardPageImpl.java:1295)

  at com.pega.pegarules.session.internal.mgmt.Executable.getAnyValueViaPropRef(Executable.java:10018)

  at com.pega.pegarules.session.internal.mgmt.Executable.getStringValueViaPropRef(Executable.java:10153)

  at com.pegarules.generated.model.ra_model_preloaddata_f5e4dabd9ac448aba694c7f569d5ae58.whenCondition_3(ra_model_preloaddata_f5e4dabd9ac448aba694c7f569d5ae58.java:525)
......


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. 

Resolution



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