Details
-
Type: Bug
-
Status: Closed
-
Priority: 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)
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)
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?