- This topic has 4 replies, 3 voices, and was last updated 14 years, 3 months ago by support-joy.
-
AuthorPosts
-
Jim JacksonMemberTo re-create:
1. File / New Web Project
2. Check Maven Support
3. Next and Finish
4. Right click on project / MyEclipse Add JSF support
5. Click Add JSF Facelets Support
6. Click Next
7. Change template files extension to .jspx
8. Click Finish
9. Right click on project / MyEclipse Add ICEfaces Capabilities
10. Select 1.8.1 and click finish
11. Right click on project / New JSP Advanced Templates
12. Use the ICEfaces JSPX page template
13. Change files name from MyJsp.jsp to MyJsp.jspx
14. Click Finish
15. Deploy app to either JBoss 4.2 or 5.1
16. Start app server
17. Navigate web browser to http://localhost/(project name)/MyJsp.jspxWill fail with:
javax.servlet.ServletException: java.lang.Exception: java.lang.NullPointerException
com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:179)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root causejava.lang.Exception: java.lang.NullPointerException
com.icesoft.faces.context.View.servePage(View.java:142)
com.icesoft.faces.webapp.http.core.SingleViewServer.service(SingleViewServer.java:52)
com.icesoft.faces.webapp.http.common.ServerProxy.service(ServerProxy.java:11)
com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet$4.service(MainSessionBoundServlet.java:114)
com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:42)
com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:62)
com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:153)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
support-joyMemberSungard,
Sorry for the late reply. I have raised a PR with the dev team to investigate this issue. I shall get back to you on this.
Sorry for the inconvenience.
Jim JacksonMemberAny updates on this ?
lwuMemberSorry for late response.
To create ICEfaces facelets project, you shouldn’t do step 5 “Add JSF Facelets Support”. Instead, you should add capabilities in following order:
JSF capability
ICEfaces Capability
ICEfaces facelets capabilityHope this help!
Liming from ICEsoft
support-joyMemberLiming,
Thank you for the workaround. I have verified this works.
Best.
-
AuthorPosts