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

Question ID : 213
Created on 2013-10-30 at 10:02 AM
Author : Veryant Support [support@veryant.com]

Online URL : http://support.veryant.com/support/phpkb/question.php?ID=213

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).

Back to Original Question