com.gargoylesoftware.htmlunit.ScriptException: Exception invoking removeChild

htmlunit | atnak | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [regression] Node.removeChild() can throw "XMLDocument cannot be cast to HTMLDocument"

    htmlunit | 6 months ago | atnak
    com.gargoylesoftware.htmlunit.ScriptException: Exception invoking removeChild
  2. 0

    Issue Using Scanner in Java

    Stack Overflow | 3 years ago | Connor
    com.gargoylesoftware.htmlunit.ScriptException: Exception invoking open
  3. 0

    selenium crashing because of undefined js function

    Stack Overflow | 2 years ago | maximilian009
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function getElementsByClassName in object [object HTMLDivElement]. (https://somewebsite.com/Layout/General/lic-notification.js#245)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    setting the userAgent via selenium is throwing exception

    Stack Overflow | 4 years ago | slashdot
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot set property [Navigator].userAgent that has only a getter to iPhone. (injected script#1)
  6. 0

    HtmlUnit property undefined script error

    Stack Overflow | 8 years ago | Ben
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot set property "disabled" of undefined to "0" (script in https://labserver.comp.com/mcwebadm/cgi-bin/edit_local.pl?operation=edit&return_address=%2Fmcwebadm%2Fcgi-bin%2Fmenu.pl&selected=22020c341b11de96c3000423d43f1d from (9, 32) to (840, 15)#824)

  1. tfr 1 times, last 6 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

    Exception invoking removeChild

    at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run()
  2. HtmlUnit
    JavaScriptEngine$HtmlUnitContextAction.run
    1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:883)
    1 frame
  3. 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
  4. HtmlUnit
    XMLHttpRequest$1.run
    1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:815)
    2. com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest.executeListenerEvent(XMLHttpRequest.java:324)
    3. com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest.setState(XMLHttpRequest.java:239)
    4. com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest.doSend(XMLHttpRequest.java:789)
    5. com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest.access$0(XMLHttpRequest.java:690)
    6. com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest$1.run(XMLHttpRequest.java:644)
    6 frames