com.gargoylesoftware.htmlunit.ScriptException

TypeError: Cannot find function createDataChannel in object [object webkitRTCPeerConnection]. (a js link)**


Solutions on the web307

Solution icon of sourceforge
TypeError: Cannot find function createDataChannel in object [object webkitRTCPeerConnection]. (a js link)**

Solution icon of sourceforge
TypeError: Cannot find function readAsArrayBuffer in object [object FileReader]. (https://static.milanuncios.com/js/fotos/exif.js#389)

Solution icon of stackoverflow
TypeError: Cannot find function createElement in object [object]. (http://cnc.qzs.qq.com/ac/qzone/qzfl/qzfl_2.0.9.0.js#331)

Solution icon of stackoverflow
TypeError: Cannot find function attachEvent in object [object HTMLDocument]. (http://localhost:8080/js/jquery.js#865)

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

Solution icon of sourceforge
TypeError: Cannot find function translate in object [object CanvasRenderingContext2D]. (http://localhost:21100/website/js/jquery/flot/jquery.flot.min.js#1)

Solution icon of stackoverflow
TypeError: Cannot find function getPropertyValue in object [object ComputedCSSStyleDeclaration]. (http://www.sas.gov.py/jqgrid/js/jquery-1.9.0.min.js#3)

Solution icon of stackoverflow
via Stack Overflow by Earthstar
, 1 year ago
TypeError: Cannot find function testWidget in object [object Object].

Solution icon of sourceforge
TypeError: Cannot find function readAsDataURL in object [object FileReader]. (https://static.milanuncios.com/js/fotos/dropzone.4.2.0.min.js#1)

Solution icon of sourceforge
TypeError: Cannot find function catch in object [object Promise]. (https://assets.nflxext.com/en_us/ffe/player/html/cadmium-playercore-3.0004.193.011.js#3)

Stack trace

  • com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function createDataChannel in object [object webkitRTCPeerConnection]. (a js link)** at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:921) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:628) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:515) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:803) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:779) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:975) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:352) at com.gargoylesoftware.htmlunit.html.HtmlScript$2.execute(HtmlScript.java:238) at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:257) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:772) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:729) at net.sourceforge.htmlunit.cyberneko.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1209) at net.sourceforge.htmlunit.cyberneko.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1111) at net.sourceforge.htmlunit.cyberneko.filters.DefaultFilter.endElement(DefaultFilter.java:207) at net.sourceforge.htmlunit.cyberneko.filters.NamespaceBinder.endElement(NamespaceBinder.java:337) at net.sourceforge.htmlunit.cyberneko.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3137) at net.sourceforge.htmlunit.cyberneko.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2100) at net.sourceforge.htmlunit.cyberneko.HTMLScanner.scanDocument(HTMLScanner.java:927) at net.sourceforge.htmlunit.cyberneko.HTMLConfiguration.parse(HTMLConfiguration.java:506) at net.sourceforge.htmlunit.cyberneko.HTMLConfiguration.parse(HTMLConfiguration.java:459) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:979) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:241) at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:187) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:269) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:157) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:512) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:386) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:304) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:451) at org.openqa.selenium.htmlunit.HtmlUnitDriver.get(HtmlUnitDriver.java:537)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

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