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

tip

You need to make sure that capitalisation of the case for the plugin in the
properties file is exactly: "AllocinePlugin" and not "allocineplugin"

tip

This is a bug when using Micromax devices with VideoView. You can either exclude these devices or look at this workaround: http://stackoverflow.com/a/31942841/4347859

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Remote Debug Listener crashes
    via by user3003486,
  • Sql Developer hangs during Debug
    via by user12952599,
  • String index out of range: -2
    via Stack Overflow by shamuddin mohd
    ,
    • java.lang.StringIndexOutOfBoundsException: String index out of range: -2 at java.lang.String.substring(String.java:1911) at com.sun.tools.jdi.JNITypeParser.nextTypeName(JNITypeParser.java:204) at com.sun.tools.jdi.JNITypeParser.typeNameList(JNITypeParser.java:140) at com.sun.tools.jdi.JNITypeParser.typeName(JNITypeParser.java:85) at com.sun.tools.jdi.TypeImpl.name(TypeImpl.java:44) at com.sun.tools.jdi.ReferenceTypeImpl.compareTo(ReferenceTypeImpl.java:150) at com.sun.tools.jdi.ReferenceTypeImpl.compareTo(ReferenceTypeImpl.java:33) at java.util.TreeMap.put(TreeMap.java:560) at java.util.TreeSet.add(TreeSet.java:255) at com.sun.tools.jdi.VirtualMachineImpl.addReferenceType(VirtualMachineImpl.java:785) at com.sun.tools.jdi.VirtualMachineImpl.referenceType(VirtualMachineImpl.java:901) at com.sun.tools.jdi.VirtualMachineImpl.retrieveAllClasses1_4(VirtualMachineImpl.java:979) at com.sun.tools.jdi.VirtualMachineImpl.retrieveAllClasses(VirtualMachineImpl.java:995) at com.sun.tools.jdi.VirtualMachineImpl.allClasses(VirtualMachineImpl.java:284) at oracle.jdevimpl.debugger.jdi.DebugJDI.<init>(DebugJDI.java:420) at oracle.jdevimpl.debugger.jdi.DebugJDIConnectorListen.run(DebugJDIConnectorListen.java:133) at java.lang.Thread.run(Thread.java:724)

    Users with the same issue

    Casper
    Casper8 times, last one,
    Unknown visitor1 times, last one,
    marcbouvierdav
    marcbouvierdav4 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    92 more bugmates