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. ,
    Expert tip

    Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.

  2. ,
    via oracle.com by Unknown author

    Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.

Solutions on the web

via htmlunit by franklin99
, 1 year ago
via htmlunit by abdenourachab
, 1 year ago
TypeError: Cannot call method "focus" of null (script in http://www.maricopa.gov/assessor/ParcelApplication/Detail.aspx?ID=101-01-663 from (76, 31) to (116, 10)#80)
via Stack Overflow by Ben
, 2 years ago
TypeError: Cannot set property "disabled" of undefined to "0" (script in https://labserver.comp.com/mcwebadm/cgi-bin/edit_local.pl?operation=edit&return_address=%2Fmcwebadm%2Fcgi-bin%2Fmenu.pl&selected=22020c341b11de96c3000423d43f1d from (9, 32) to (840, 15)#824)
via GitHub by lukeis
, 2 years ago
Invalid JavaScript value of type [Ljava.lang.Object; (https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js#16)
via Jenkins JIRA by Kirill Shepitko, 1 year ago
TypeError: Cannot call method "contains" of undefined (http://localhost:54301/jenkins/adjuncts/2bdd1129/lib/form/confirm.js#26)
via sourceforge.net by Unknown author, 1 year ago
TypeError: Cannot call method "modBox" of undefined ( )
java.lang.StringIndexOutOfBoundsException: String index out of range: 3	at java.lang.String.charAt(String.java:694)	at java.util.regex.Matcher.appendReplacement(Matcher.java:723)	at java.util.regex.Matcher.replaceAll(Matcher.java:823)	at com.gargoylesoftware.htmlunit.javascript.regexp.HtmlUnitRegExpProxy.doAction(HtmlUnitRegExpProxy.java:96)	at com.gargoylesoftware.htmlunit.javascript.regexp.HtmlUnitRegExpProxy.action(HtmlUnitRegExpProxy.java:64)	at net.sourceforge.htmlunit.corejs.javascript.NativeString.execIdCall(NativeString.java:388)	at net.sourceforge.htmlunit.corejs.javascript.IdFunctionObject.call(IdFunctionObject.java:129)	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1688)	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:845)	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164)	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:429)	at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:261)	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3130)	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:162)	at com.gargoylesoftware.htmlunit.javascript.host.EventHandler.call(EventHandler.java:80)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:484)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:449)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:520)	at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:537)	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:538)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:456)	at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:892)	at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeEventHandler(EventListenersContainer.java:182)	at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:201)	at com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:655)	at com.gargoylesoftware.htmlunit.html.HtmlElement$2.run(HtmlElement.java:888)	at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:537)	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:538)	at com.gargoylesoftware.htmlunit.html.HtmlElement.fireEvent(HtmlElement.java:893)	at com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1106)	at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:189)	at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:421)	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:297)	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:354)	at HtmlUnitTest.testTemplates(HtmlUnitTest.java:36)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:616)	at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)	at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)	at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)	at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)	at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)	at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)	at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)	at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)