java.lang.ClassCastException: com.gargoylesoftware.htmlunit.html.DomDocumentFragment cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlElement

htmlunit | bug55cv | 6 years ago
  1. 0

    Frame window's frame element inconsistent

    htmlunit | 6 years ago | bug55cv
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.html.DomDocumentFragment cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlElement
  2. 0

    ClassCast exception loading page

    htmlunit | 2 months ago | sirstrahd
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.svg.SvgElement cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlElement
  3. 0

    ClassCast exception loading page

    htmlunit | 2 months ago | sirstrahd
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.svg.SvgElement cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlElement
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassCastException with javascript/SVG/c3.js

    htmlunit | 9 months ago | abrin523
    com.gargoylesoftware.htmlunit.ScriptException: Exception invoking add
  6. 0

    ClassCastException with javascript/SVG/c3.js

    htmlunit | 9 months ago | abrin523
    java.lang.RuntimeException: Exception invoking add

    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. java.lang.ClassCastException

      com.gargoylesoftware.htmlunit.html.DomDocumentFragment cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlElement

      at com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.selects()
    2. HtmlUnit
      WebClient.loadWebResponseInto
      1. com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.selects(CSSStyleSheet.java:304)
      2. com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.selects(CSSStyleSheet.java:282)
      3. com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:177)
      4. com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:160)
      5. com.gargoylesoftware.htmlunit.javascript.host.Window.jsxFunction_getComputedStyle(Window.java:1433)
      6. com.gargoylesoftware.htmlunit.javascript.host.html.HTMLElement.jsxGet_currentStyle(HTMLElement.java:204)
      7. com.gargoylesoftware.htmlunit.html.DomNode.isDisplayed(DomNode.java:669)
      8. com.gargoylesoftware.htmlunit.WebClient$CurrentWindowTracker.webWindowContentChanged(WebClient.java:1822)
      9. com.gargoylesoftware.htmlunit.WebClient.fireWindowContentChanged(WebClient.java:867)
      10. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:432)
      10 frames