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

Oracle Community | user3003486 | 3 years ago
  1. 0

    Remote Debug Listener crashes

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

    Sql Developer hangs during Debug

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

    String index out of range while opening php file

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

    Automated exception search integrated into your IDE

  5. 0

    String index out of range: -2

    Stack Overflow | 3 years ago | shamuddin mohd
    java.lang.StringIndexOutOfBoundsException: String index out of range: -2
  6. 0

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

    GitHub | 12 months ago | CaptainMack
    java.lang.StringIndexOutOfBoundsException: String index out of range: -2

  1. archenroot 17 times, last 1 week ago
  2. Alexandru Popa 2 times, last 3 weeks ago
  3. poroszd 3 times, last 4 weeks ago
  4. DoktorDoener666 6 times, last 4 weeks ago
  5. eti22 3 times, last 1 month ago
16 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:1911)
    1 frame
  3. Java Tools
    ReferenceTypeImpl.compareTo
    1. com.sun.tools.jdi.JNITypeParser.nextTypeName(JNITypeParser.java:204)
    2. com.sun.tools.jdi.JNITypeParser.typeNameList(JNITypeParser.java:140)
    3. com.sun.tools.jdi.JNITypeParser.typeName(JNITypeParser.java:85)
    4. com.sun.tools.jdi.TypeImpl.name(TypeImpl.java:44)
    5. com.sun.tools.jdi.ReferenceTypeImpl.compareTo(ReferenceTypeImpl.java:150)
    6. com.sun.tools.jdi.ReferenceTypeImpl.compareTo(ReferenceTypeImpl.java:33)
    6 frames
  4. Java RT
    TreeSet.add
    1. java.util.TreeMap.put(TreeMap.java:560)
    2. java.util.TreeSet.add(TreeSet.java:255)
    2 frames
  5. Java Tools
    VirtualMachineImpl.allClasses
    1. com.sun.tools.jdi.VirtualMachineImpl.addReferenceType(VirtualMachineImpl.java:785)
    2. com.sun.tools.jdi.VirtualMachineImpl.referenceType(VirtualMachineImpl.java:901)
    3. com.sun.tools.jdi.VirtualMachineImpl.retrieveAllClasses1_4(VirtualMachineImpl.java:979)
    4. com.sun.tools.jdi.VirtualMachineImpl.retrieveAllClasses(VirtualMachineImpl.java:995)
    5. com.sun.tools.jdi.VirtualMachineImpl.allClasses(VirtualMachineImpl.java:284)
    5 frames
  6. oracle.jdevimpl.debugger
    DebugJDIConnectorListen.run
    1. oracle.jdevimpl.debugger.jdi.DebugJDI.<init>(DebugJDI.java:420)
    2. oracle.jdevimpl.debugger.jdi.DebugJDIConnectorListen.run(DebugJDIConnectorListen.java:133)
    2 frames
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:724)
    1 frame