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

Coderanch | P White | 5 years 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

    Collections.shuffle problem

    Coderanch | 5 years ago | P White
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  2. 0

    Collections.shuffle problem

    Coderanch | 5 years ago | P White
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  3. 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. Reich 1 times, last 4 days ago
  2. Victor_IT 4 times, last 5 days ago
  3. batwalrus76 11 times, last 7 days ago
  4. Pilleo 6 times, last 1 week ago
  5. David 9 times, last 1 week ago
76 more registered users
19 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. quiz
    UserInterface.main
    1. quiz.ReadEncryptedFile.ReadCSVFile(ReadEncryptedFile.java:115)
    2. quiz.UserInterface.main(UserInterface.java:194)
    2 frames