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

Icesoft | stewert | 6 years ago
  1. 0

    [Solved] Problem with IceFaces 2.0 and HtmlUnit: HtmlSubmitInput.click() returns a TextPage

    Icesoft | 6 years ago | stewert
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.TextPage cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlPage
  2. 0

    HtmlUnit Class Cast Exception: TextPage cannot be cast to HtmlPage

    Stack Overflow | 3 years ago | Chandra Prakash
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.TextPage cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlPage
  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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't iterate through List of HtmlPage

    htmlunit | 9 years ago | javasquall
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.html.FrameWindow cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlPage
  6. 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

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

      at con.k7progressV2.edge.jsf.user.LoginCtlrTest.testLogin()
    2. con.k7progressV2.edge
      LoginCtlrTest.testLogin
      1. con.k7progressV2.edge.jsf.user.LoginCtlrTest.testLogin(LoginCtlrTest.java:82)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. JUnit
      TestMethod.invoke
      1. org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
      1 frame