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

    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 Oracle Community by 819932, 2 years ago
via Stack Overflow by Chris
, 2 years ago
String index out of range: -1
via Google Groups by Ian Boston (JIRA), 1 year ago
via Oracle Community by eosrjv, 1 year ago
java.lang.StringIndexOutOfBoundsException: String index out of range: -7 at java.lang.String.substring( at com.xpn.xwiki.XWiki.getDocumentFromPath( at com.xpn.xwiki.XWiki.prepareDocuments( at com.xpn.xwiki.web.ViewEditAction.execute( at org.apache.struts.action.RequestProcessor.processActionPerform( at org.apache.struts.action.RequestProcessor.process( at org.apache.struts.action.ActionServlet.process(