com.gargoylesoftware.htmlunit.ScriptException: TypeError: Object's getDefaultValue() method returned an object. (script in file:/home/sunzhu/tmp/test.html from (3, 33) to (9, 12)#5)

htmlunit | ruralhunter | 4 years ago
  1. 0

    js error: getDefaultValue() method returned an object.

    htmlunit | 4 years ago | ruralhunter
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Object's getDefaultValue() method returned an object. (script in file:/home/sunzhu/tmp/test.html from (3, 33) to (9, 12)#5)
  2. 0

    facing issue with HtmlUnitDriver

    Stack Overflow | 4 years ago | dhananjay
    com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function aa in object [object Object]. (https://apis.google.com/_/apps-static/_/js/gapi/plusone/rt=j/ver=use0LfpKko4.en_US./sv=1/am=!CVDWKorrwvOYBs7wcQ/d=1/rs=AItRSTMxl0wiQySaT0IYW5gyOkdlVL9A6A/cb=gapi.loaded_0#3)
  3. 0

    Final redirected URL using Selenium Htmlunit Java

    Stack Overflow | 3 years ago | user1965449
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot call method "indexOf" of null (script in http://www.sears.com/search=little%20tikes&Little%20Tikes?filter=Brand&keywordSearch=false&catalogId=12605&adCell=W3&catPrediction=false&previousSort=ORIGINAL_SORT_ORDER&viewItems=50&storeId=10153&levels=Toys+%26+Games from (6942, 33) to (6974, 14)#6966)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HtmlUnit Javascript Error

    Stack Overflow | 2 years ago | silentz0r
    com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function stopPropagation in object [object MessageEvent]. (http://ajax.cloudflare.com/cdn-cgi/nexp/dokv=97fb4d042e/cloudflare.min.js#3)
  6. 0

    selenium htmlunitwithjs in python error

    Stack Overflow | 4 years ago | user1781889
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function attachEvent in object [object Window]. (http://www.investmentmap.org/W ebResource.axd?d=LhblxRSuIsXvwRXVMFTkFY2_MTprvQMTc0m2WmtZ11CqrDE7VxOZIP2JWr5nhbJ dQc4rLL2xsB8APnsxJfp2YQ57TEMa7scxhAPpUl0DIfBcLe19toyYfpm3QnO4qTRHvpItdEAI7kl7Kci Y-atDSENblKs1&t=634763918950917029#1)

  1. tfr 1 times, last 4 months ago
4 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. com.gargoylesoftware.htmlunit.ScriptException

    TypeError: Object's getDefaultValue() method returned an object. (script in file:/home/sunzhu/tmp/test.html from (3, 33) to (9, 12)#5)

    at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run()
  2. HtmlUnit
    JavaScriptEngine$HtmlUnitContextAction.run
    1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:588)
    1 frame
  3. HtmlUnit Core JS
    ContextFactory.call
    1. net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:559)
    2. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:525)
    2 frames
  4. HtmlUnit
    HTMLParser$HtmlUnitDOMBuilder.endElement
    1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:492)
    2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:467)
    3. com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:964)
    4. com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:329)
    5. com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:410)
    6. com.gargoylesoftware.htmlunit.html.HtmlScript$3.execute(HtmlScript.java:257)
    7. com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:267)
    8. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:620)
    8 frames
  5. Xerces2-j
    AbstractSAXParser.endElement
    1. org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    1 frame
  6. HtmlUnit
    HTMLParser$HtmlUnitDOMBuilder.endElement
    1. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:578)
    1 frame
  7. Maven
    HTMLTagBalancer.callEndElement
    1. org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1147)
    1 frame