java.lang.ClassCastException: com.gargoylesoftware.htmlunit.xml.XmlPage

htmlunit | ssilvert | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ClassCastException on Ajax4jsf response

    htmlunit | 9 years ago | ssilvert
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.xml.XmlPage

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.gargoylesoftware.htmlunit.xml.XmlPage

      at com.gargoylesoftware.htmlunit.html.HtmlElement.getPage()
    2. HtmlUnit
      XMLHttpRequest.jsxGet_responseXML
      1. com.gargoylesoftware.htmlunit.html.HtmlElement.getPage(HtmlElement.java:1425)
      2. com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:195)
      3. com.gargoylesoftware.htmlunit.html.DomNode.appendChild(DomNode.java:857)
      4. com.gargoylesoftware.htmlunit.xml.XmlUtil.copy(XmlUtil.java:203)
      5. com.gargoylesoftware.htmlunit.xml.XmlUtil.copy(XmlUtil.java:204)
      6. com.gargoylesoftware.htmlunit.xml.XmlUtil.appendChild(XmlUtil.java:138)
      7. com.gargoylesoftware.htmlunit.xml.XmlPage.<init>(XmlPage.java:117)
      8. com.gargoylesoftware.htmlunit.xml.XmlPage.<init>(XmlPage.java:75)
      9. com.gargoylesoftware.htmlunit.javascript.host.XMLHttpRequest.jsxGet_responseXML(XMLHttpRequest.java:219)
      9 frames