com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function addEventListener in object [object HTMLDocument]. (http://www.trbas.com/jive/prod/common/javascripts/mainInit.1q2w3_13a2f8e11fc6a6ec0e18d71a6f3e8dd9.min.js#11)

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 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 htmlunit by centic
, 1 year ago
net.sourceforge.htmlunit.corejs.javascript.NativeArray cannot be cast to net.sourceforge.htmlunit.corejs.javascript.Arguments
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 Prashant Kushwaha
, 2 weeks ago
TypeError: Cannot find function addEventListener in object [object HTMLDocument]. (https://inapi.ankiti.com/api/mms.bulksms101.com/www/parts/jquery-2.2.4.min.js?field=content#2)
via Stack Overflow by user3687955
, 2 years ago
TypeError: Cannot find function getPropertyValue in object [object ComputedCSSStyleDeclaration]. (http://www.sas.gov.py/jqgrid/js/jquery-1.9.0.min.js#3)
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)
net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot find function addEventListener in object [object HTMLDocument]. (http://www.trbas.com/jive/prod/common/javascripts/mainInit.1q2w3_13a2f8e11fc6a6ec0e18d71a6f3e8dd9.min.js#11)
at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3629)
at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3613)
at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3634)
at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3650)
at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3714)
at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2233)
at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2215)
at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1333)
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.ScriptRuntime.doTopCall(ScriptRuntime.java:3057)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:582)
at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:620)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:591)
at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:1078)
at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:393)
at com.gargoylesoftware.htmlunit.html.HtmlScript$3.execute(HtmlScript.java:268)
at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:288)
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 com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:965)
at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:247)
at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:193)
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:468)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:342)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:407)
at com.test.HtmlUnitExtractor.main(HtmlUnitExtractor.java:11)

Users with the same issue

13 times, 5 months ago
4 times, 10 months ago
2 times, 1 year ago
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.