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 centic
, 1 year ago
net.sourceforge.htmlunit.corejs.javascript.NativeArray cannot be cast to net.sourceforge.htmlunit.corejs.javascript.Arguments
java.lang.ClassCastException: net.sourceforge.htmlunit.corejs.javascript.NativeArray cannot be cast to net.sourceforge.htmlunit.corejs.javascript.Arguments	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.enterFrame(Interpreter.java:2929)	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.initFrame(Interpreter.java:2914)	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1443)	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:405)	at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:309)	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3031)	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:561)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:669)	at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:602)	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:570)	at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:1062)	at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:409)	at com.gargoylesoftware.htmlunit.html.HtmlScript$3.execute(HtmlScript.java:272)	at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:286)	at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:683)	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)	at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:642)	at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1170)	at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1072)	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:3116)	at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2083)	at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:918)	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:899)	at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:242)	at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:188)	at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:268)	at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:156)	at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:437)	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:311)	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:376)	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:361)