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 ssilvert
, 1 year ago
com.gargoylesoftware.htmlunit.xml.XmlPage
via htmlunit by ssilvert
, 1 year ago
com.gargoylesoftware.htmlunit.xml.XmlPage
via sourceforge.net by Unknown author, 2 years ago
com.gargoylesoftware.htmlunit.xml.XmlPage
java.lang.ClassCastException: com.gargoylesoftware.htmlunit.xml.XmlPage	at com.gargoylesoftware.htmlunit.html.HtmlElement.getPage(HtmlElement.java:1425)	at com.gargoylesoftware.htmlunit.html.HtmlElement.getPage(HtmlElement.java:78)	at com.gargoylesoftware.htmlunit.javascript.host.HTMLCollection.getElements(HTMLCollection.java:252)	at com.gargoylesoftware.htmlunit.javascript.host.HTMLCollection.get(HTMLCollection.java:220)	at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:1625)	at org.mozilla.javascript.ScriptRuntime.getObjectIndex(ScriptRuntime.java:1457)	at org.mozilla.javascript.ScriptRuntime.getObjectIndex(ScriptRuntime.java:1442)	at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3087)	at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2484)	at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401)	at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:169)	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3004)	at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:473)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$6.doRun(JavaScriptEngine.java:438)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:530)	at org.mozilla.javascript.Context.call(Context.java:502)	at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:511)	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:445)	at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:908)	at com.gargoylesoftware.htmlunit.JavaScriptBackgroundJob.run(JavaScriptBackgroundJob.java:96)	at java.lang.Thread.run(Thread.java:595)	at com.gargoylesoftware.htmlunit.ThreadManager$1.run(ThreadManager.java:107)