Why do I get the error message "java.lang.ArrayIndexOutOfBoundsException" ?


This error means that a Java array has been referenced out of its bounds.

In COBOL programs it usually refers to an OCCURS data item that it referenced outside of its occurrences.

i.e. consider having 77 data-item1 PIC X(10) OCCURS 10 and performing MOVE SPACES TO data-item1(11).

Article ID: 213
Created: October 30, 2013
Last Updated: October 30, 2013
Author: Support KB Author

Online URL: https://support.veryant.com/support/phpkb/article.php?id=213