java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • ClassCastException in HtmlPage.asXml()
    via htmlunit by lannb
    ,
    • java.lang.ClassCastException: com.gargoylesoftware.htmlunit.html.HtmlScript incompatible with com.gargoylesoftware.htmlunit.html.DomCharacterData at com.gargoylesoftware.htmlunit.html.HtmlScript.printChildrenAsXml(HtmlScript.java:412) at com.gargoylesoftware.htmlunit.html.HtmlElement.printXml(HtmlElement.java:844) at com.gargoylesoftware.htmlunit.html.DomNode.printChildrenAsXml(DomNode.java:757) at com.gargoylesoftware.htmlunit.html.HtmlElement.printXml(HtmlElement.java:844) at com.gargoylesoftware.htmlunit.html.DomNode.printChildrenAsXml(DomNode.java:757) at com.gargoylesoftware.htmlunit.html.HtmlElement.printXml(HtmlElement.java:844) at com.gargoylesoftware.htmlunit.html.DomNode.asXml(DomNode.java:732) at com.gargoylesoftware.htmlunit.html.HtmlPage.asXml(HtmlPage.java:1729)
    No Bugmate found.