java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

Stack Overflow | Sythe | 6 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    Adding a row to a pre-existing 2D ArrayList

    Stack Overflow | 6 months ago | Sythe
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  2. 0
    samebug 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.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. Pilleo 1 times, last 3 weeks ago
  2. Eric 8 times, last 3 weeks ago
  3. Indri Yunita 4 times, last 1 month ago
  4. filpgame 4 times, last 1 month ago
  5. tyson925 3 times, last 2 months ago
70 more registered users
25 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IndexOutOfBoundsException

    Index: 0, Size: 0

    at java.util.ArrayList.rangeCheck()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.rangeCheck(Unknown Source)
    2. java.util.ArrayList.get(Unknown Source)
    2 frames
  3. comp2402a2
    Table.main
    1. comp2402a2.Table.get(Table.java:24)
    2. comp2402a2.Table.main(Table.java:117)
    2 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  5. edu.rice.cs
    JavacCompiler.runCommand
    1. edu.rice.cs.drjava.model.compiler.JavacCompiler.runCommand(JavacCompiler.java:272)
    1 frame