This exception is thrown in java when the index is higher than the size of a vector, arraylist, array etc... Ex:
ArrayList arr = new ArrayList();
arr.add("someStringHere");
for (int i = 0 ; i < 5 ; i++) {
arr.get(i);
}
The above example will throw IndexOutOfBoundsException, because the arraylist contains only 1 string and the index is going further than 0. (Also in Java the indices start with 0.)