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

htmlunit | kelvsyc | 9 years ago
  1. 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
  2. 0

    HtmlUnit / Mailing Lists

    sourceforge.net | 6 months ago
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.UnexpectedPage cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlPage
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HtmlUnit: error — cannot be cast to... - Development - Форум

    org.ru | 11 months ago
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.UnexpectedPage cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlPage
  6. 0

    db:: 4.08::ClassCastException when trying to cast naming reference to s xa

    hivmr.com | 6 months ago
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.UnexpectedPage cannot be cast to com.gargoylesoftware.htmlunit.html.DomNode

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

      at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.init()
    2. HtmlUnit
      JavaScriptEngine$1.run
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.init(JavaScriptEngine.java:225)
      2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.access$000(JavaScriptEngine.java:96)
      3. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$1.run(JavaScriptEngine.java:156)
      3 frames
    3. Rhino
      Context.call
      1. org.mozilla.javascript.Context.call(Context.java:577)
      2. org.mozilla.javascript.Context.call(Context.java:499)
      2 frames
    4. HtmlUnit
      ClickableElement.click
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.initialize(JavaScriptEngine.java:167)
      2. com.gargoylesoftware.htmlunit.WebClient.initialize(WebClient.java:1084)
      3. com.gargoylesoftware.htmlunit.WebWindowImpl.setEnclosedPage(WebWindowImpl.java:115)
      4. com.gargoylesoftware.htmlunit.DefaultPageCreator.createUnexpectedPage(DefaultPageCreator.java:158)
      5. com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:101)
      6. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:450)
      7. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:359)
      8. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:382)
      9. com.gargoylesoftware.htmlunit.html.HtmlAnchor.doClickAction(HtmlAnchor.java:122)
      10. com.gargoylesoftware.htmlunit.html.HtmlAnchor.doClickAction(HtmlAnchor.java:146)
      11. com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:148)
      12. com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:109)
      13. com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:87)
      13 frames