java.lang.StringIndexOutOfBoundsException: String index out of range: -1

Oracle Community | 807549 | 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

    IndexOutOfBoundsException

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

    StringIndexOutOfBoundsException: String index out of range: -1

    GitHub | 2 years ago | halilim
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  3. 0

    error retrieving sequence

    GitHub | 2 years ago | nathandunn
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Errors when trying to use vget (video downloading API)

    Stack Overflow | 2 years ago | Kyler Brown
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  6. 0

    iProblems with substr, integers and loops in converting decimal to binary and binary to decimal

    Stack Overflow | 2 years ago | Hadi77
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1

  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: -1

    at java.lang.String.charAt()
  2. Java RT
    String.charAt
    1. java.lang.String.charAt(String.java:455)
    1 frame
  3. Unknown
    WordcounterS.main
    1. WordcounterS.main(WordcounterS.java:17)
    1 frame