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

Jenkins JIRA | bshine | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

    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