ICEfaces
  1. ICEfaces
  2. ICE-4264

DOMException with MyFaces 1.1.5, Jboss 4.2 and ICEfaces

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2 SP1b, 1.8RC2
    • Fix Version/s: 1.8.1
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      MyFaces 1.1.5, Jboss 4.2.x

      Description

      When attempting to bring up the main page of the attached test app, an exception is thrown in the server logs:

      09:08:25,254 ERROR [[Persistent Faces Servlet]] Servlet.service() for servlet Persistent Faces Servlet threw exception
      java.lang.RuntimeException: Failed to append element[tag: html; attributes: ] into #document
      at com.icesoft.faces.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:528)
      at com.icesoft.faces.context.DOMResponseWriter.startElement(DOMResponseWriter.java:169)
      ..............
      Caused by: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
      at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(CoreDocumentImpl.java:419)

      The attached test case is a very basic web app. It has the required ICEfaces jar and myFaces jars along with this context param which tells jboss that the war bundles the JSF implementation:

      <context-param>
              <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
              <param-value>true</param-value>
      </context-param>



        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18825 Fri May 01 09:05:13 MDT 2009 ted.goddard successful detection of MyFaces disabled JSF1.2 behaviors (ICE-4264)
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/parser/ImplementationUtil.java

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Tyler Johnson
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: