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 Jive Software Open Source by Mircea Carasel, 2 years ago
via Eclipse Bugzilla by dzonekl, 2 years ago
via GitHub by WolfgangFahl
, 2 years ago
java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring( at org.jivesoftware.spark.ui.conferences.GroupChatParticipantList.parseRoleFromPacket( at org.jivesoftware.spark.ui.conferences.GroupChatParticipantList.addParticipant( at org.jivesoftware.spark.ui.conferences.GroupChatParticipantList$3$ at java.awt.event.InvocationEvent.dispatch( at java.awt.EventQueue.dispatchEventImpl( at java.awt.EventQueue.access$400( at java.awt.EventQueue$ at java.awt.EventQueue$ at Method) at$1.doIntersectionPrivilege( at java.awt.EventQueue.dispatchEvent( at org.jivesoftware.sparkimpl.plugin.idle.UserIdlePlugin$1.dispatchEvent( at java.awt.EventDispatchThread.pumpOneEventForFilters( at java.awt.EventDispatchThread.pumpEventsForFilter( at java.awt.EventDispatchThread.pumpEventsForHierarchy( at java.awt.EventDispatchThread.pumpEvents( at java.awt.EventDispatchThread.pumpEvents( at