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

Solutions on the web

via htmlunit by abrin523
, 1 year ago
via Stack Overflow by Hrishikesh V K
, 10 months ago
via GitHub by jeffersd
, 2 years ago
Exception invoking setHref
via Stack Overflow by T.Rilla
, 11 months ago
Exception invoking open
via htmlunit by blooo
, 1 year ago
via htmlunit by georgiosd
, 1 year ago
Exception invoking jsxSet_innerHTML
java.lang.ClassCastException: com.gargoylesoftware.htmlunit.svg.SvgText cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlElement	at com.gargoylesoftware.htmlunit.javascript.host.dom.DOMTokenList.updateAttribute(DOMTokenList.java:213)	at com.gargoylesoftware.htmlunit.javascript.host.dom.DOMTokenList.add(DOMTokenList.java:114)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	at net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:153)	at net.sourceforge.htmlunit.corejs.javascript.FunctionObject.call(FunctionObject.java:449)	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1536)	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798)	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105)	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411)	at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:252)	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3286)	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:757)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:868)	at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:628)	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:766)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:742)	at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:1005)	at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:352)	at com.gargoylesoftware.htmlunit.html.HtmlScript$2.execute(HtmlScript.java:238)	at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:257)	at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:747)	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)	at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:704)	at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1137)	at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1039)	at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206)	at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:330)	at org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3126)	at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2093)	at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:920)	at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499)	at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452)	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)	at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:924)	at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:238)	at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:184)	at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:269)	at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:157)	at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:477)	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:351)	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:416)	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:401)	at org.tdar.web.HtmlUnitSVGTest.testSVG(HtmlUnitSVGTest.java:21)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)