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

Oracle Community | user12952599 | 3 years ago
  1. 0

    Sql Developer hangs during Debug

    Oracle Community | 3 years ago | user12952599
    java.lang.StringIndexOutOfBoundsException: String index out of range: -2
  2. 0

    Remote Debug Listener crashes

    Oracle Community | 3 years ago | user3003486
    java.lang.StringIndexOutOfBoundsException: String index out of range: -2
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    `String.substring(start, end)` behaves different on scala and scalajs

    GitHub | 2 years ago | freewind
    java.lang.StringIndexOutOfBoundsException: String index out of range: -2
  5. 0

    Line Debugging with Eclipse Kepler and CF8

    Google Groups | 3 years ago | Sekani Tembo
    java.lang.StringIndexOutOfBoundsException: String index out of range: -2

  1. richard77 2 times, last 5 days ago
  2. kjhdofjosvs 2 times, last 1 week ago
  3. archenroot 17 times, last 2 weeks ago
  4. Alexandru Popa 2 times, last 4 weeks ago
  5. poroszd 3 times, last 1 month ago
18 more registered users
58 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: -2

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1937)
    1 frame
  3. Java Tools
    ReferenceTypeImpl.compareTo
    1. com.sun.tools.jdi.JNITypeParser.nextTypeName(JNITypeParser.java:186)
    2. com.sun.tools.jdi.JNITypeParser.typeNameList(JNITypeParser.java:122)
    3. com.sun.tools.jdi.JNITypeParser.typeName(JNITypeParser.java:67)
    4. com.sun.tools.jdi.TypeImpl.name(TypeImpl.java:26)
    5. com.sun.tools.jdi.ReferenceTypeImpl.compareTo(ReferenceTypeImpl.java:132)
    6. com.sun.tools.jdi.ReferenceTypeImpl.compareTo(ReferenceTypeImpl.java:15)
    6 frames
  4. Java RT
    TreeSet.add
    1. java.util.TreeMap.put(TreeMap.java:545)
    2. java.util.TreeSet.add(TreeSet.java:238)
    2 frames
  5. Java Tools
    VirtualMachineImpl.allClasses
    1. com.sun.tools.jdi.VirtualMachineImpl.addReferenceType(VirtualMachineImpl.java:764)
    2. com.sun.tools.jdi.VirtualMachineImpl.referenceType(VirtualMachineImpl.java:880)
    3. com.sun.tools.jdi.VirtualMachineImpl.retrieveAllClasses1_4(VirtualMachineImpl.java:958)
    4. com.sun.tools.jdi.VirtualMachineImpl.retrieveAllClasses(VirtualMachineImpl.java:974)
    5. com.sun.tools.jdi.VirtualMachineImpl.allClasses(VirtualMachineImpl.java:265)
    5 frames
  6. oracle.jdevimpl.debugger
    DebugJDIConnectorListen.run
    1. oracle.jdevimpl.debugger.jdi.DebugJDI.<init>(DebugJDI.java:363)
    2. oracle.jdevimpl.debugger.jdi.DebugJDIConnectorListen.run(DebugJDIConnectorListen.java:129)
    2 frames
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame