Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.

  2. ,

    Thrown if trying to access an index which is out of bounds on objects like String, Array, or Vector. Any negative integer less than or equal to -1 and positive integer greater than or equal to the size of the object is an index which would be out of bounds

Solutions on the web

via pig-user by Jesse Jaggars, 2 years ago
via apache.org by Unknown author, 2 years ago
via pig-user by Jesse Jaggars, 1 year ago
via Google Groups by stuckagain, 6 months ago
via Coderanch by Matthew Busse, 1 year ago
Index: 2, Size: 2
via Google Groups by Thad Humphries, 2 years ago
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0	at java.util.ArrayList.RangeCheck(ArrayList.java:547)	at java.util.ArrayList.get(ArrayList.java:322)	at org.apache.pig.data.DefaultTuple.get(DefaultTuple.java:116)	at org.apache.pig.builtin.PigStorage.applySchema(PigStorage.java:280)	at org.apache.pig.builtin.PigStorage.getNext(PigStorage.java:244)	at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigRecordReader.nextKeyValue(PigRecordReader.java:211)	at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.nextKeyValue(MapTask.java:532)	at org.apache.hadoop.mapreduce.MapContext.nextKeyValue(MapContext.java:67)	at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:143)	at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764)	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:370)	at org.apache.hadoop.mapred.Child$4.run(Child.java:255)	at java.security.AccessController.doPrivileged(Native Method)	at javax.security.auth.Subject.doAs(Subject.java:396)	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1178)	at org.apache.hadoop.mapred.Child.main(Child.java:249)