java.lang.ClassCastException: com.gargoylesoftware.htmlunit.javascript.host.Window cannot be cast to com.gargoylesoftware.htmlunit.javascript.host.html.HTMLDocument

htmlunit | derrichter | 6 months ago
  1. 0

    getAnchorByText brings ClassCastException

    htmlunit | 6 months ago | derrichter
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.javascript.host.Window cannot be cast to com.gargoylesoftware.htmlunit.javascript.host.html.HTMLDocument
  2. 0

    Memcached Java客户端2.6.1发布 - 编程语言 - ITeye资讯

    iteye.com | 1 year ago
    java.lang.ClassCastException: cannot be cast to
  3. 0

    ClassCastException in HandleFactory.getPkgFragmentRoot (355)

    Eclipse Bugzilla | 1 year ago | error-reports-inbox
    java.lang.ClassCastException: cannot be cast to org.eclipse.wst.jsdt.internal.core.PackageFragmentRoot
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String
  6. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String

    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.javascript.host.Window cannot be cast to com.gargoylesoftware.htmlunit.javascript.host.html.HTMLDocument

      at com.gargoylesoftware.htmlunit.javascript.host.Window.getComputedStyle()
    2. HtmlUnit
      HtmlPage.getAnchorByText
      1. com.gargoylesoftware.htmlunit.javascript.host.Window.getComputedStyle(Window.java:1587)
      2. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:276)
      3. com.gargoylesoftware.htmlunit.html.HtmlSerializer.asText(HtmlSerializer.java:62)
      4. com.gargoylesoftware.htmlunit.html.DomNode.asText(DomNode.java:794)
      5. com.gargoylesoftware.htmlunit.html.HtmlPage.getAnchorByText(HtmlPage.java:628)
      5 frames