java.lang.ClassCastException: com.gargoylesoftware.htmlunit.xml.XmlPage cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlPage

Jenkins JIRA | bshine | 7 years ago
  1. 0

    WebClient.getPage exception on XML if WebClient is FIREFOX_2

    htmlunit | 9 years ago | ellecer
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.xml.XmlPage cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlPage
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    ClassCastException when loading PDFs in new window

    htmlunit | 9 years ago | kelvsyc
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.UnexpectedPage cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlPage
  4. 0

    HtmlUnit - General - Re: Wrapped java.lang.ClassCastException: com.gargoylesoftware.htmlunit.xml.XmlPage cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlPage

    nabble.com | 11 months ago
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.xml.XmlPage cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlPage at com.gargoylesoftware.htmlunit.html.FrameWindow.getEnclosingPage(FrameWindow.java:92) at com.gargoylesoftware.htmlunit.WebClient$CurrentWindowTracker.webWindowContentChanged(WebClient.java:1969) at com.gargoylesoftware.htmlunit.WebClient.fireWindowContentChanged(WebClient.java:872) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:450)

    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.xml.XmlPage cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlPage

      at com.gargoylesoftware.htmlunit.JavaScriptBackgroundJob.run()
    2. HtmlUnit
      JavaScriptBackgroundJob.run
      1. com.gargoylesoftware.htmlunit.JavaScriptBackgroundJob.run(JavaScriptBackgroundJob.java:99)
      1 frame
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame
    4. HtmlUnit
      ThreadManager$1.run
      1. com.gargoylesoftware.htmlunit.ThreadManager$1.run(ThreadManager.java:127)
      1 frame