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 Spring JIRA by Martin Lippert, 2 years ago
via Spring JIRA by Martin Lippert, 2 years ago
via Eclipse Bugzilla by sja.eclipse, 1 year ago
via by Petr Široký, 2 years ago
via GitHub by mackaiver
, 2 years ago
via Google Groups by Bruno MARQUIE, 2 years ago
String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -4 at java.lang.String.substring( at at at at at at at at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals( at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals( at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16( at org.eclipse.jface.text.contentassist.CompletionProposalPopup$ at org.eclipse.swt.custom.BusyIndicator.showWhile( at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals( at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions( at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$AdaptedSourceViewer.doOperation( at org.eclipse.ui.texteditor.ContentAssistAction$ at org.eclipse.swt.custom.BusyIndicator.showWhile( at at org.eclipse.jface.action.Action.runWithEvent( at org.eclipse.ui.commands.ActionHandler.execute( at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute( at org.eclipse.core.commands.Command.executeWithChecks( at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks( at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(