Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via htmlunit by sirstrahd
, 1 year ago
com.gargoylesoftware.htmlunit.svg.SvgElement cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlElement
java.lang.ClassCastException: com.gargoylesoftware.htmlunit.svg.SvgElement cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlElement	at com.gargoylesoftware.htmlunit.html.HtmlPage.getDocumentElement(HtmlPage.java:328)	at com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1187)	at com.gargoylesoftware.htmlunit.html.HtmlPage.cleanUp(HtmlPage.java:308)	at com.gargoylesoftware.htmlunit.WebWindowImpl.removeChildWindow(WebWindowImpl.java:225)	at com.gargoylesoftware.htmlunit.WebWindowImpl.destroyChildren(WebWindowImpl.java:207)	at com.gargoylesoftware.htmlunit.TopLevelWindow.close(TopLevelWindow.java:126)	at com.gargoylesoftware.htmlunit.WebClient.close(WebClient.java:1799)	at com.iccenter.integrationtest.tools.HtmlUnitRunner.browser_getPage(HtmlUnitRunner.java:22)