facebook

Ice Faces Support does not create runnable app on 8.5

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #309865 Reply

    Jim Jackson
    Member

    To 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.jspx

    Will 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 cause

    java.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)

    #310041 Reply

    support-joy
    Member

    Sungard,

    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.

    #310499 Reply

    Jim Jackson
    Member

    Any updates on this ?

    #310855 Reply

    lwu
    Member

    Sorry 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 capability

    Hope this help!

    Liming from ICEsoft

    #310864 Reply

    support-joy
    Member

    Liming,

    Thank you for the workaround. I have verified this works.

    Best.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Ice Faces Support does not create runnable app on 8.5

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in