facebook

ICEfaces Exceptions

  1. MyEclipse Archived
  2.  > 
  3. ICEfaces Integration
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #309095 Reply

    Riadh
    Member

    I tried to develop a small web project with using JSF and Ices faces

    it is similar to JSFLOGINEXAMPLE but i use one page .jspx that contains ICESfaces components.

    I added JSF and ICEFACES Capabilities to tyhe web project
    I have the following exceptions :

    javax.servlet.ServletException: java.lang.Exception: javax.faces.FacesException: java.lang.NullPointerException
    com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:179)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

    java.lang.Exception: javax.faces.FacesException: 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)

    with more exceptionq

    I don’t know what is the source of the problem !

    #309141 Reply

    riadhben,
    Can you clarify when exactly you are getting the exception?
    Can you list out the steps in detail to replicate the issue?

    #309147 Reply

    Riadh
    Member

    I develop a small example for testing ICE FACES ,

    i create a new web project , then a add JSF capabilitiies (1.2) and ICE FACE capabilities (1.8)
    i tried the JSFLOGINEXAMPLE , but the page UserLogin.jsp ( jspx) contains ICFACES Components
    when i run the project , the index page was presented but when i click on link redirecting to page userLogin ,
    one error occured :

    ************************************************************************************************************************************
    Etat HTTP 500 –
    type Rapport d’exception

    message

    description Le serveur a rencontré une erreur interne () qui l’a empêché de satisfaire la requête.

    exception

    javax.servlet.ServletException: java.lang.Exception: javax.faces.FacesException: java.lang.NullPointerException
    com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:179)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

    ****************************************************************************************************************************************

    #309167 Reply

    riadhben,
    I could not replicate this at my end. Can you give some more information?
    1. What is the server you are running on?
    2. Can you try debugging through your application and check if there are any errors? HTTP 500 error can be caused when there are errors in the code.
    3. Can you download the example from MyEclipse > Examples on Demand, run it on MyEclipse Tomcat and check if that works for you?

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: ICEfaces Exceptions

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