com.gargoylesoftware.htmlunit.ScriptException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Issue Using Scanner in Java
    via Stack Overflow by Connor
    ,
    • com.gargoylesoftware.htmlunit.ScriptException: ReferenceError: "cacheImages" is not defined. at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:518) at org.mozilla.javascript.Context.call(Context.java:515) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:507) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:444) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:938) at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeEventHandler(EventListenersContainer.java:152) at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeListeners(EventListenersContainer.java:214) at com.gargoylesoftware.htmlunit.javascript.host.Node.executeEvent(Node.java:505) at com.gargoylesoftware.htmlunit.html.HtmlImage.doOnLoad(HtmlImage.java:125) at com.gargoylesoftware.htmlunit.html.HtmlImage.onAddedToPage(HtmlImage.java:85) at com.gargoylesoftware.htmlunit.html.HtmlPage.notifyNodeAdded(HtmlPage.java:1751) at com.gargoylesoftware.htmlunit.html.DomNode.appendChild(DomNode.java:890) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.startElement(HTMLParser.java:474) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.cyberneko.html.filters.DefaultFilter.emptyElement(DefaultFilter.java:148) at org.cyberneko.html.filters.NamespaceBinder.emptyElement(NamespaceBinder.java:302) at org.cyberneko.html.HTMLTagBalancer.startElement(HTMLTagBalancer.java:624) at org.cyberneko.html.HTMLTagBalancer.emptyElement(HTMLTagBalancer.java:649) at org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(HTMLScanner.java:2600) at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:1972) at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:893) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:495) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:448) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:745) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:244) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:127) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:101) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:438) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:326) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:351) at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:171) at com.gargoylesoftware.htmlunit.html.HtmlImageInput.doClickAction(HtmlImageInput.java:113) at com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:148) at com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:107) at com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:76) at com.gargoylesoftware.htmlunit.html.HtmlImageInput.click(HtmlImageInput.java:133) at com.gargoylesoftware.htmlunit.html.HtmlImageInput.click(HtmlImageInput.java:94)

    Users with the same issue

    tfrtfr
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,