com.gargoylesoftware.htmlunit.ScriptException: net.sourceforge.htmlunit.corejs.javascript.NativeArray cannot be cast to net.sourceforge.htmlunit.corejs.javascript.Arguments

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

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
via ne.jp by Unknown author, 1 year ago
TypeError: Cannot find function addEventListener in object [object HTMLDocument]. (http://code.jquery.com/jquery-2.1.4.min.js#2)
via htmlunit by kunsingh
, 1 year ago
TypeError: Cannot find function addEventListener in object [object HTMLDocument]. (http://www.trbas.com/jive/prod/common/javascripts/mainInit.1q2w3_13a2f8e11fc6a6ec0e18d71a6f3e8dd9.min.js#11)
via Google Groups by Karolin Heiss, 2 years ago
TypeError: Cannot find function addEventListener in object [object HTMLDocument]. (http://heiss-w7:40000/webapps/org.richfaces.resources/javax.faces.resource/js/jquery-2.1.0.min.js#2)
via Stack Overflow by Can Öncel
, 2 years ago
TypeError: Cannot find function getPropertyValue in object [object ComputedCSSStyleDeclaration]. (http://www.vatanbilgisayar.com/Scripts/jquery-base.min.js#2)
via Stack Overflow by Unknown author, 2 years ago
TypeError: Cannot find function bind in object function (e, n, r) {...}. (https://www.wearvr.com/assets/scripts/bundle.b4038a088bb1abfcf55c.js#19)
com.gargoylesoftware.htmlunit.ScriptException: net.sourceforge.htmlunit.corejs.javascript.NativeArray cannot be cast to net.sourceforge.htmlunit.corejs.javascript.Arguments
at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:602)
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 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 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)

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.