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.

  • HtmlUnit / Mailing Lists
    via by Unknown author,
  • Another CCE with Ajax4jsf
    via htmlunit by ssilvert
    ,
    • 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)
    No Bugmate found.