java.lang.StringIndexOutOfBoundsException: String index out of range: 0

Oracle Community | 807546 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Runtime message says"input is not a String" but I did input a String ! Help

    Oracle Community | 1 decade ago | 807546
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  2. 0

    What to do when readString() fails and String[] out of bounds ?

    Oracle Community | 1 decade ago | 807546
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  3. 0

    JBoss Community / Mailing Lists

    sourceforge.net | 1 year ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issue with the silent install

    Oracle Community | 1 decade ago | 3004
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  6. 0

    ReadLine Issue: Need Help

    Oracle Community | 1 decade ago | 807596
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0

  1. tyson925 1 times, last 1 month ago
  2. Torasque 1 times, last 2 months ago
  3. Hronom 32257 times, last 2 months ago
  4. filpgame 6 times, last 2 months ago
  5. harshg 2 times, last 5 months ago
9 more registered users
18 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.StringIndexOutOfBoundsException

    String index out of range: 0

    at java.lang.String.charAt()
  2. Java RT
    String.charAt
    1. java.lang.String.charAt(String.java:460)
    1 frame
  3. stan_ch13_page523
    TryVectorAndSort.main
    1. stan_ch13_page523.TryVectorAndSort.readPerson(TryVectorAndSort.java:54)
    2. stan_ch13_page523.TryVectorAndSort.main(TryVectorAndSort.java:17)
    2 frames