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 sni
, 1 year ago
This exception has no message.
via Google Groups by Christian Heindl, 2 years ago
via Google Groups by justin, 2 years ago
via Atlassian JIRA by Chuck Burt, 1 year ago
java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at net.sf.sahi.command.CommandExecuter.execute(CommandExecuter.java:55) at net.sf.sahi.LocalRequestProcessor.handleDyn(LocalRequestProcessor.java:67) at net.sf.sahi.LocalRequestProcessor.getLocalResponse(LocalRequestProcessor.java:40) at net.sf.sahi.ProxyProcessor.processLocally(ProxyProcessor.java:209) at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:86) at java.lang.Thread.run(Thread.java:745)Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -45 at java.lang.String.substring(String.java:1967) at net.sf.sahi.rhino.ScriptRunner.getFromStep(ScriptRunner.java:253) at net.sf.sahi.rhino.ScriptRunner.getPopupNameFromStep(ScriptRunner.java:238) at net.sf.sahi.rhino.ScriptRunner.getStepJSON(ScriptRunner.java:299) at net.sf.sahi.command.Player.getCurrentStep(Player.java:135) ... 9 more