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

htmlunit | javasquall | 9 years ago
  1. 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
  2. 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
  3. 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
  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

    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

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

      at TestMyGlobalMail.testHomePage()
    2. Unknown
      TestMyGlobalMail.testHomePage
      1. TestMyGlobalMail.testHomePage(TestMyGlobalMail.java:74)
      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
      TestSuite.run
      1. junit.framework.TestCase.runTest(TestCase.java:164)
      2. junit.framework.TestCase.runBare(TestCase.java:130)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:120)
      7. junit.framework.TestSuite.runTest(TestSuite.java:230)
      8. junit.framework.TestSuite.run(TestSuite.java:225)
      8 frames
    5. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
      2. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
      6. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
      6 frames