Throw ArrayIndexOutOfBoundsException in next()