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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via GitHub by Omertron

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

,
Expert 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

Solutions on the web

via Oracle Community by 868786, 1 year ago
via Netbeans Bugzilla by mgrebac, 1 year ago
via Eclipse Bugzilla by igor, 1 year ago
via Google Groups by Mohit Anchlia, 5 months ago
via Atlassian JIRA by Jonathan Gilbert, 1 year ago
String index out of range: -1
via Stack Overflow by Stiles Stilinski
, 1 month ago
String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1[[
at java.lang.String.substring(String.java:1937)
at java.lang.String.substring(String.java:1904)
at com.thortech.xl.integration.ActiveDirectory.tcUtilADTasks.getParentHierarchyDN(Unknown Source)
at com.thortech.xl.integration.ActiveDirectory.tcUtilADTasks.updateDetails(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpADCSCHANGEATTRIBUTE.SETATTRIBUTES(adpADCSCHANGEATTRIBUTE.java:111)
at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpADCSCHANGEATTRIBUTE.implementation(adpADCSCHANGEATTRIBUTE.java:56)
at com.thortech.xl.client.events.tcBaseEvent.run(tcBaseEvent.java:196)
at com.thortech.xl.dataobj.tcDataObj.runEvent(tcDataObj.java:2492)
at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(tcScheduleItem.java:2917)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
4 times, 1 week ago
105 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.