That error message says the program is trying to use an index that is past the end of the array.
Remember that array indexes range in value from 0 to the array length-1. The valid indexes for an...
Type: Posts; User: Norm
That error message says the program is trying to use an index that is past the end of the array.
Remember that array indexes range in value from 0 to the array length-1. The valid indexes for an...
To see what is in an array, use the Arrays class's toString() method with println():
System.out.println("an ID "+ java.util.Arrays.toString(theArrayName));
Print out the contents of the list...
Look at the code on line 55. What variable on that line has a null value? Then backtrack to see why that variable does not have a valid value.