ICEfaces
  1. ICEfaces
  2. ICE-3537

Component-showcase facelets-enh not working on OC4J 10.1.3

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.7.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      Oracle Application Server 10.1.3

      Description

      Component-showcase facelets-enh does not work on Oracle Application Server 10.1.3
      This server is JDK1.5.

      javax.faces.FacesException: Problem in renderResponse: /showcase.jspx @47,78 template="#{currentContentDescriptor.templateRef.path}" /showcase.jspx
      @47,78 template="#{currentContentDescriptor.templateRef.path}": /showcase.jspx @45,79 value="#{applicationController.currentContextDescriptor}":
      Error getting property 'currentContextDescriptor' from bean of type org.icefaces.application.showcase.view.bean.ApplicationController:
      javax.faces.el.EvaluationException: javax.faces.FacesException: javax.faces.el.EvaluationException: javax.faces.el.EvaluationException:
      Error getting property 'defaultNode' from bean of type org.icefaces.application.showcase.view.builder.ApplicationBuilder: java.lang.NullPointerException
      at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:294)
      at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:161)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)


      Caused by: com.sun.facelets.tag.TagAttributeException: /showcase.jspx @47,78 template="#{currentContentDescriptor.templateRef.path}" /showcase.jspx
      @47,78 template="#{currentContentDescriptor.templateRef.path}": /showcase.jspx @45,79 value="#{applicationController.currentContextDescriptor}":
      Error getting property 'currentContextDescriptor' from bean of type org.icefaces.application.showcase.view.bean.ApplicationController:
      javax.faces.el.EvaluationException: javax.faces.FacesException: javax.faces.el.EvaluationException: javax.faces.el.EvaluationException:
      Error getting property 'defaultNode' from bean of type org.icefaces.application.showcase.view.builder.ApplicationBuilder: java.lang.NullPointerException
      at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:235)

        Activity

        Hide
        Jack Van Ooststroom added a comment -

        The same issue was seen using WebLogic 9.2: ICE-3166

        However, it still seems to be an issue on OC4J.

        Show
        Jack Van Ooststroom added a comment - The same issue was seen using WebLogic 9.2: ICE-3166 However, it still seems to be an issue on OC4J.
        Hide
        Ken Fyten added a comment -

        Test on Branch 1.7 revision revision #17583
        Browser tested: Firefox 2

        Both JSP and facelets versions work fine, just the icefaces-enh version fails.

        Show
        Ken Fyten added a comment - Test on Branch 1.7 revision revision #17583 Browser tested: Firefox 2 Both JSP and facelets versions work fine, just the icefaces-enh version fails.
        Hide
        Patrick Corless added a comment -

        Tested against oc4j 10.1.3.4.0 and didn't see any problems loading the component showcase and doing a small click though test. This was true for both the 1.7.1, 1.7 and trunk. I used the oc4j build parameter when building the war.

        I made changes in ICE-3166 to fix a similar issue with websphere. Maybe the tests could be run again just to verify my test results.

        Show
        Patrick Corless added a comment - Tested against oc4j 10.1.3.4.0 and didn't see any problems loading the component showcase and doing a small click though test. This was true for both the 1.7.1, 1.7 and trunk. I used the oc4j build parameter when building the war. I made changes in ICE-3166 to fix a similar issue with websphere. Maybe the tests could be run again just to verify my test results.
        Hide
        Patrick Corless added a comment -

        Did a little more test after a Mandeep was still running into the same problem. Here are the findings/workaround.

        The oracle.xml global library is included on the application class path by default and includes Jaxb2.0. My test was with jdk 1.6_06 which includes libs for Jaxb2.1, jdk 1.6_04 and early includes libs for jaxb2.0. JDK 1.5 includes no libs for any of the JAXB versions. So what does this all mean?

        • JDK 1.6._05 and higher, no changes are needed, facelets-enh will worked out of the box as the JDK jaxb 2.1 libs will be loaded before the oracle.xml libs.
        • For JDK 1.6_04 and lower and JDK 1.5 the oracle.xml libs must be deselected during the deployment screens.
        Show
        Patrick Corless added a comment - Did a little more test after a Mandeep was still running into the same problem. Here are the findings/workaround. The oracle.xml global library is included on the application class path by default and includes Jaxb2.0. My test was with jdk 1.6_06 which includes libs for Jaxb2.1, jdk 1.6_04 and early includes libs for jaxb2.0. JDK 1.5 includes no libs for any of the JAXB versions. So what does this all mean? JDK 1.6._05 and higher, no changes are needed, facelets-enh will worked out of the box as the JDK jaxb 2.1 libs will be loaded before the oracle.xml libs. For JDK 1.6_04 and lower and JDK 1.5 the oracle.xml libs must be deselected during the deployment screens.

          People

          • Assignee:
            Unassigned
            Reporter:
            Jack Van Ooststroom
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: