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

Stack Overflow | user1373231 | 1 month ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Class Cast Exception in htmldriver

    Stack Overflow | 1 month ago | user1373231
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.javascript.host.Window cannot be cast to com.gargoylesoftware.htmlunit.javascript.host.Console
  2. 0

    Htmlunit ScriptException "console" is not defined

    Stack Overflow | 5 years ago
    com.gargoylesoftware.htmlunit.ScriptException: ReferenceError: "console" is not defined. (script in http://localhost:8080.com/mypage/ll.html from (154, 36) to (301, 14)#168)
  3. 0

    ClassCastException using offsetWidth attribute

    htmlunit | 8 years ago | nobody
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.html.HtmlPage
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    getAnchorByText brings ClassCastException

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

    HtmlUnit / Mailing Lists

    sourceforge.net | 10 months ago
    com.gargoylesoftware.htmlunit.ScriptException: ReferenceError: "console" is not defined. ( )

    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.Console

      at com.gargoylesoftware.htmlunit.javascript.host.Console.error()
    2. HtmlUnit
      Console.error
      1. com.gargoylesoftware.htmlunit.javascript.host.Console.error(Console.java:132)
      1 frame
    3. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame