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 GitHub by fromgate
, 2 years ago
via Oracle Community by jgf1, 1 year ago
via JIRA by Maxime Mathieu, 1 year ago
via Stack Overflow by user3359138
, 1 year ago
java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring( at org.opensolaris.opengrok.history.FileHistoryCache.isRenamedFile( at at org.opensolaris.opengrok.history.Repository.createCache( at org.opensolaris.opengrok.history.HistoryGuru.createCache( at org.opensolaris.opengrok.history.HistoryGuru.access$000( at org.opensolaris.opengrok.history.HistoryGuru$ at java.util.concurrent.Executors$ at at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at