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

IndexOutOfBounds when extracting work objects with PageLists

SA-13517

Summary



When running a BIX extract, it fails to extract work object information in XML output format when there is data in Pagelists.

If the Pagelists are excluded, then it runs and extracts data successfully.


Error Messages



10:42:22,441 [company.com] ( internal.access.ExtractImpl) ERROR - Inskey of the corrupt Instance PEGA-TEST-WORK WO-21
10:42:22,441 [company.com] ( internal.access.ExtractImpl) ERROR - Unable to process while reading the source Db Pega-Test-Work-Class: Index: 4, Size: 0
java.lang.IndexOutOfBoundsException: Index: 4, Size: 0


Steps to Reproduce



Not applicable.


Root Cause



A defect in Pegasystems’ code or rules. If the work object being extracted has a Pagelist (embedded or otherwise) that has a value for a property in one particular index, but in any prior indexes there is no value for this property, the error occurs.

For example:

- <PageForPListTest>
<pxObjClass>PegaSample</pxObjClass>
- <PListTest REPEATINGTYPE="PageList">
- <rowdata REPEATINGINDEX="1">
<MyValue>1</MyValue>
<pxObjClass>PegaSample-A2418</pxObjClass>
</rowdata>
- <rowdata REPEATINGINDEX="2">
<MyValue>2</MyValue>
<pxObjClass>PegaSample-A2418</pxObjClass>
</rowdata>
- <rowdata REPEATINGINDEX="3">
<pxObjClass>PegaSample-A2418</pxObjClass>
</rowdata>
- <rowdata REPEATINGINDEX="4">
<pxObjClass>PegaSample-A2418</pxObjClass>
</rowdata>
- <rowdata REPEATINGINDEX="5">
<MyValue>5</MyValue>
<pxObjClass>PegaSample-A2418</pxObjClass>
</rowdata>
</PListTest>
</PageForPListTest>

MyValue has values in index 1 and 2, but not in 3 and 4, but then again has a value in index 5.


Resolution



Apply HFix-23212 to address this issue.

 

Published August 27, 2015 - Updated December 2, 2021

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