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 Google Groups by Ian Boston (JIRA), 1 year ago
via GitHub by joerivandervelde
, 2 years ago
String index out of range: -1
via Google Groups by Mohit Anchlia, 1 year ago
java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring( at java.lang.String.substring( at org.sakaiproject.nakamura.batch.WidgetServiceImpl.updateWidget( at org.sakaiproject.nakamura.batch.WidgetEventHandler.handleEvent( at org.apache.felix.eventadmin.impl.tasks.HandlerTaskImpl.execute( at org.apache.felix.eventadmin.impl.tasks.SyncDeliverTasks$ at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Source) at