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

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

    TextField should only accept numbers

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

    StringIndexOutOfBoundsException from Console

    Eclipse Bugzilla | 1 decade ago | Darin_Swanson
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1030
  3. 0

    CSSDeclerationItemParser::getCollapsedText throws exception

    Eclipse Bugzilla | 3 years ago | gaad.salner
    java.lang.StringIndexOutOfBoundsException: start > length()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.StringIndexOutOfBoundsException

      String index out of range: -1

      at java.lang.StringBuffer.replace()
    2. Java RT
      StringBuffer.replace
      1. java.lang.StringBuffer.replace(Unknown Source)
      1 frame
    3. Unknown
      BMICalc.actionPerformed
      1. BMICalc.actionPerformed(BMICalc.java:204)
      1 frame