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

Oracle Community | 807595 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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