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.

  • facing issue with HtmlUnitDriver
    via Stack Overflow by dhananjay
    ,
  • HtmlUnit Javascript Error
    via Stack Overflow by silentz0r
    ,
  • selenium htmlunitwithjs in python error
    via Stack Overflow by user1781889
    ,
    • 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(JavaScriptEngine.java:588) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:559) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:525) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:492) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:467) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:964) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:329) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:410) at com.gargoylesoftware.htmlunit.html.HtmlScript$3.execute(HtmlScript.java:257) at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:267) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:620) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:578) at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1147)

    Users with the same issue

    tfr
    1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,