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

  1. ,
    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"

  2. ,

    Thrown by the methods of the String class to indicate that an index is either negative, or greater than the size of the string itself. You are probably using the wrong index when accessing substring of the array.

Solutions on the web

via Appcelerator JIRA by Ingo Muschenetz, 1 year ago
String index out of range: -2<br></p> <pre> <code>at java.lang.String.substring(String.java:1931)
via Appcelerator JIRA by Ingo Muschenetz, 2 years ago
String index out of range: -2<br></p> <pre> <code>at java.lang.String.substring(String.java:1931)
via Google Groups by Kareem Shehata, 10 months ago
via java.net by Unknown author, 2 years ago
String index out of range: -1
via kohsuke.org by Unknown author, 2 years ago
String index out of range: -1
java.lang.StringIndexOutOfBoundsException: Stringindex out of range: -2<br></p><pre><code>at java.lang.String.substring(String.java:1931) at java.lang.String.substring(String.java:1904) at com.aptana.editor.common.contentassist.CommonCompletionProposal.validate(CommonCompletionProposal.java:349) at com.aptana.editor.common.contentassist.CompletionProposalPopup.computeFilteredProposals(CompletionProposalPopup.java:1628) at com.aptana.editor.common.contentassist.CompletionProposalPopup.access$24(CompletionProposalPopup.java:1582) at com.aptana.editor.common.contentassist.CompletionProposalPopup$11.run(CompletionProposalPopup.java:1547) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)