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

    HtmlUnit / Mailing Lists

    sourceforge.net | 2 years ago
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.xml.XmlPage
  2. 0

    Another CCE with Ajax4jsf

    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
      HTMLCollection.get
      1. com.gargoylesoftware.htmlunit.html.HtmlElement.getPage(HtmlElement.java:1425)
      2. com.gargoylesoftware.htmlunit.html.HtmlElement.getPage(HtmlElement.java:78)
      3. com.gargoylesoftware.htmlunit.javascript.host.HTMLCollection.getElements(HTMLCollection.java:252)
      4. com.gargoylesoftware.htmlunit.javascript.host.HTMLCollection.get(HTMLCollection.java:220)
      4 frames
    3. Rhino
      ContextFactory.doTopCall
      1. org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:1625)
      2. org.mozilla.javascript.ScriptRuntime.getObjectIndex(ScriptRuntime.java:1457)
      3. org.mozilla.javascript.ScriptRuntime.getObjectIndex(ScriptRuntime.java:1442)
      4. org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3087)
      5. org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2484)
      6. org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
      7. org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401)
      7 frames
    4. HtmlUnit
      HtmlUnitContextFactory.doTopCall
      1. com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:169)
      1 frame
    5. Rhino
      InterpretedFunction.call
      1. org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3004)
      2. org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
      2 frames
    6. HtmlUnit
      JavaScriptEngine$HtmlUnitContextAction.run
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:473)
      2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$6.doRun(JavaScriptEngine.java:438)
      3. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:530)
      3 frames
    7. Rhino
      ContextFactory.call
      1. org.mozilla.javascript.Context.call(Context.java:502)
      2. org.mozilla.javascript.ContextFactory.call(ContextFactory.java:511)
      2 frames
    8. HtmlUnit
      JavaScriptBackgroundJob.run
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:445)
      2. com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:908)
      3. com.gargoylesoftware.htmlunit.JavaScriptBackgroundJob.run(JavaScriptBackgroundJob.java:96)
      3 frames
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame
    10. HtmlUnit
      ThreadManager$1.run
      1. com.gargoylesoftware.htmlunit.ThreadManager$1.run(ThreadManager.java:107)
      1 frame