com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function postMessage in object [object]. (http://fast.wistia.com/static/concat/E-v1,iframe-v1.js?lct=1359693751#4)

htmlunit | gsavinov | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    HtmlUnit can't open http:mailtrap.io (func postMessage is missing)

    htmlunit | 4 years ago | gsavinov
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function postMessage in object [object]. (http://fast.wistia.com/static/concat/E-v1,iframe-v1.js?lct=1359693751#4)
  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 | 4 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)
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]. (http://fast.wistia.com/static/concat/E-v1,iframe-v1.js?lct=1359693751#4)

    at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError()
  2. HtmlUnit Core JS
    ContextFactory.doTopCall
    1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3790)
    2. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3768)
    3. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3796)
    4. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3815)
    5. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3885)
    6. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2363)
    7. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2330)
    8. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1514)
    9. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:854)
    10. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
    11. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:429)
    11 frames
  3. HtmlUnit
    HtmlUnitContextFactory.doTopCall
    1. com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:267)
    1 frame
  4. HtmlUnit Core JS
    InterpretedFunction.exec
    1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3183)
    2. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
    2 frames
  5. HtmlUnit
    JavaScriptEngine$HtmlUnitContextAction.run
    1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:490)
    2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:589)
    2 frames
  6. HtmlUnit Core JS
    ContextFactory.call
    1. net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:537)
    2. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:538)
    2 frames
  7. HtmlUnit
    HTMLParser$HtmlUnitDOMBuilder.endElement
    1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:499)
    2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:474)
    3. com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:870)
    4. com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:302)
    5. com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:368)
    6. com.gargoylesoftware.htmlunit.html.HtmlScript$1.execute(HtmlScript.java:220)
    7. com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:240)
    8. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:598)
    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:556)
    1 frame
  10. Maven
    HTMLConfiguration.parse
    1. org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1142)
    2. org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1044)
    3. org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206)
    4. org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:329)
    5. org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3018)
    6. org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2005)
    7. org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:908)
    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
    WebClient.getPage
    1. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:789)
    2. com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:225)
    3. com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:179)
    4. com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:221)
    5. com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:106)
    6. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:433)
    7. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:311)
    8. com.gargoylesoftware.htmlunit.html.BaseFrame.loadInnerPageIfPossible(BaseFrame.java:149)
    9. com.gargoylesoftware.htmlunit.html.BaseFrame.loadInnerPage(BaseFrame.java:99)
    10. com.gargoylesoftware.htmlunit.html.HtmlPage.loadFrames(HtmlPage.java:1760)
    11. com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:194)
    12. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:440)
    13. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:311)
    14. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:373)
    15. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:358)
    15 frames
  13. org.jtalks.tests
    ActivationByEmail.testHtmlUnit
    1. org.jtalks.tests.jcommune.tests.ActivationByEmail.testHtmlUnit(ActivationByEmail.java:26)
    1 frame
  14. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  15. TestNG
    RemoteTestNGStarter.main
    1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
    2. org.testng.internal.Invoker.invokeMethod(Invoker.java:691)
    3. org.testng.internal.Invoker.invokeTestMethod(Invoker.java:883)
    4. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1208)
    5. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
    6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
    7. org.testng.TestRunner.privateRun(TestRunner.java:758)
    8. org.testng.TestRunner.run(TestRunner.java:613)
    9. org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
    10. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
    11. org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
    12. org.testng.SuiteRunner.run(SuiteRunner.java:240)
    13. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
    14. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:87)
    15. org.testng.TestNG.runSuitesSequentially(TestNG.java:1137)
    16. org.testng.TestNG.runSuitesLocally(TestNG.java:1062)
    17. org.testng.TestNG.run(TestNG.java:974)
    18. org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:109)
    19. org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:202)
    20. org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:173)
    21. org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:111)
    21 frames
  16. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  17. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
    1 frame