java.lang.ClassCastException: com.gargoylesoftware.htmlunit.html.HtmlScript incompatible with com.gargoylesoftware.htmlunit.html.DomCharacterData

htmlunit | lannb | 8 years ago
  1. 0

    ClassCastException in HtmlPage.asXml()

    htmlunit | 8 years ago | lannb
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.html.HtmlScript incompatible with com.gargoylesoftware.htmlunit.html.DomCharacterData
  2. 0

    Class loading problem with websphere 6.1

    Oracle Community | 8 years ago | 796219
    java.lang.ClassCastException: javax.faces.component.UIViewRoot incompatible with com.opentext.docviewer.ui.component.toolbar.Toolbar
  3. 0

    In testing the latest component-showcase-portlets example in the icefaces2/trunk, I ran into a problem with delta submit. It looks like a recent change that delta submit has been enabled by default for the component-showcase example. <context-param> <param-name>org.icefaces.deltaSubmit</param-name> <param-value>true</param-value> </context-param> When running the example on WebSphere Portal 7 with the latest PortletFaces bridge and the ICEfaces EE extensions, I ran into the following: java.lang.ClassCastException: com.ibm.ws.portletcontainer.core.impl.ResourceRequestImpl incompatible with javax.portlet.ActionRequest at org.icefaces.impl.event.DeltaSubmitPhaseListener.reconstructParametersFromDeltaSubmit(DeltaSubmitPhaseListener.java:157) at org.icefaces.impl.event.DeltaSubmitPhaseListener.beforePhase(DeltaSubmitPhaseListener.java:58) at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at org.portletfaces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:513) at org.portletfaces.bridge.GenericFacesPortlet.serveResource(GenericFacesPortlet.java:131 ... The code in the phase listener is casting to an ActionRequest which, for some requests, is too specific. While the request could be an ActionRequest, it's more likely to be a ResourceRequest as that is how Ajax requests are treated.

    ICEsoft JIRA Issue Tracker | 6 years ago | Deryk Sinotte
    java.lang.ClassCastException: com.ibm.ws.portletcontainer.core.impl.ResourceRequestImpl incompatible with javax.portlet.ActionRequest
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassCastException when creating Web service from J2EE Project Explorer

    Eclipse Bugzilla | 1 decade ago | kathy
    java.lang.ClassCastException: org.eclipse.jst.j2ee.webservice.wsdd.internal.impl.ServletLinkImpl incompatible with java.lang.String
  6. 0

    ClassCastException in J2EEUtils.getOutputContainerRoot()

    Eclipse Bugzilla | 9 years ago | kathy
    java.lang.ClassCastException: org.eclipse.core.internal.resources.Project incompatible with org.eclipse.core.resources.IFolder

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.gargoylesoftware.htmlunit.html.HtmlScript incompatible with com.gargoylesoftware.htmlunit.html.DomCharacterData

      at com.gargoylesoftware.htmlunit.html.HtmlScript.printChildrenAsXml()
    2. HtmlUnit
      HtmlPage.asXml
      1. com.gargoylesoftware.htmlunit.html.HtmlScript.printChildrenAsXml(HtmlScript.java:412)
      2. com.gargoylesoftware.htmlunit.html.HtmlElement.printXml(HtmlElement.java:844)
      3. com.gargoylesoftware.htmlunit.html.DomNode.printChildrenAsXml(DomNode.java:757)
      4. com.gargoylesoftware.htmlunit.html.HtmlElement.printXml(HtmlElement.java:844)
      5. com.gargoylesoftware.htmlunit.html.DomNode.printChildrenAsXml(DomNode.java:757)
      6. com.gargoylesoftware.htmlunit.html.HtmlElement.printXml(HtmlElement.java:844)
      7. com.gargoylesoftware.htmlunit.html.DomNode.asXml(DomNode.java:732)
      8. com.gargoylesoftware.htmlunit.html.HtmlPage.asXml(HtmlPage.java:1729)
      8 frames