facebook

error running .faces page

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #287040 Reply

    lucaMorelli
    Member

    hi, i just created a new project in myeclipse 6.5, adding hibernate and icefaces support.
    i add a jsf faces, for example index.jsp, without add any icefaces component.
    i run the project and in the browser i call index.faces and i obtain the following error

    exception

    javax.faces.FacesException: java.lang.NullPointerException
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:310)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
    com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
    com.icesoft.faces.webapp.http.core.PageServer$1.respond(PageServer.java:25)
    com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:161)
    com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)
    com.icesoft.faces.webapp.http.core.PageServer.service(PageServer.java:30)
    com.icesoft.faces.webapp.http.core.SingleViewServer.service(SingleViewServer.java:48)
    com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50)
    com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19)
    com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
    com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:29)
    com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:139)
    com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:35)
    com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
    com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
    com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:79)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

    i must add or change anything else?
    best regards,
    luca morelli

    #287041 Reply

    lucaMorelli
    Member

    and
    root cause

    java.lang.NullPointerException
    com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:454)
    com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:161)
    com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
    com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
    com.icesoft.faces.webapp.http.core.PageServer$1.respond(PageServer.java:25)
    com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:161)
    com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)
    com.icesoft.faces.webapp.http.core.PageServer.service(PageServer.java:30)
    com.icesoft.faces.webapp.http.core.SingleViewServer.service(SingleViewServer.java:48)
    com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50)
    com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19)
    com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
    com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:29)
    com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:139)
    com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:35)
    com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
    com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
    com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:79)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

    #287117 Reply

    Loyal Water
    Member

    Can you please go through this quick start doc and check if it works:-
    http://www.myeclipseide.com/documentation/quickstarts/icefaces/

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: error running .faces page

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