com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function postMessage in object [object Worker]. (http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js#7)

htmlunit | tzhang859 | 1 year ago
  1. 0

    JavaScript: Worker.postMessage() is not implemented

    htmlunit | 1 year ago | tzhang859
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function postMessage in object [object Worker]. (http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js#7)
  2. 0

    got error and exceptions using HtmlUnit in Java

    Stack Overflow | 2 years ago | Darius Miliauskas
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function getElementsByClassName in object [object HTMLDocument]. (script in http://www.delfi.lt/ from (1545, 32) to (1548, 10)#1546)
  3. 0

    Can't access a certain page with HTMLUnit

    Stack Overflow | 3 years ago | Lelv
    com.gargoylesoftware.htmlunit.ScriptException: ReferenceError: "addEventListener" is not defined. (script in http://www.itba.edu.ar/ from (687, 52) to (692, 15)#687)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    getPage() function HTML Unit

    Stack Overflow | 3 years ago | Can ├ľncel
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function getPropertyValue in object [object ComputedCSSStyleDeclaration]. (http://www.vatanbilgisayar.com/Scripts/jquery-base.min.js#2)
  6. 0

    HTMLUnit javasript engine Failing to load method and throws Exception when loading page

    Stack Overflow | 3 years ago | user3687955
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function getPropertyValue in object [object ComputedCSSStyleDeclaration]. (http://www.sas.gov.py/jqgrid/js/jquery-1.9.0.min.js#3)

  1. MoYapro 2 times, last 1 month ago
  2. mellson 1 times, last 4 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. net.sourceforge.htmlunit.corejs.javascript.EcmaError

    TypeError: Cannot find function postMessage in object [object Worker]. (http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js#7)

    at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError()
  2. HtmlUnit Core JS
    ContextFactory.doTopCall
    1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3935)
    2. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3919)
    3. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3944)
    4. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3960)
    5. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:4027)
    6. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2426)
    7. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2408)
    8. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1337)
    9. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798)
    10. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105)
    11. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411)
    11 frames
  3. HtmlUnit
    HtmlUnitContextFactory.doTopCall
    1. com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:310)
    1 frame
  4. HtmlUnit Core JS
    InterpretedFunction.exec
    1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3286)
    2. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115)
    2 frames
  5. HtmlUnit
    JavaScriptEngine$HtmlUnitContextAction.run
    1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:738)
    2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:850)
    2 frames
  6. HtmlUnit Core JS
    ContextFactory.call
    1. net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:628)
    2. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513)
    2 frames
  7. HtmlUnit
    HTMLParser$HtmlUnitDOMBuilder.endElement
    1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:747)
    2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:722)
    3. com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:945)
    4. com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:351)
    5. com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:411)
    6. com.gargoylesoftware.htmlunit.html.HtmlScript$3.execute(HtmlScript.java:276)
    7. com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:290)
    8. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:800)
    8 frames
  8. Xerces2-j
    AbstractSAXParser.endElement
    1. org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    1 frame
  9. HtmlUnit
    HTMLParser$HtmlUnitDOMBuilder.endElement
    1. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:757)
    1 frame
  10. Maven
    HTMLConfiguration.parse
    1. org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1170)
    2. org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1072)
    3. org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206)
    4. org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:330)
    5. org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3126)
    6. org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2093)
    7. org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:920)
    8. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499)
    9. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452)
    9 frames
  11. Xerces2-j
    XMLParser.parse
    1. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    1 frame
  12. HtmlUnit
    DomElement.click
    1. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:1040)
    2. com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:253)
    3. com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:199)
    4. com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:272)
    5. com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:160)
    6. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:476)
    7. com.gargoylesoftware.htmlunit.WebClient.loadDownloadedResponses(WebClient.java:2123)
    8. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions(JavaScriptEngine.java:893)
    9. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.processPostponedActions(JavaScriptEngine.java:983)
    10. com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:790)
    11. com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:733)
    12. com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:680)
    12 frames
  13. Unknown
    ReadWeb.main
    1. ReadWeb.getStockSymbol(ReadWeb.java:49)
    2. ReadWeb.main(ReadWeb.java:20)
    2 frames