MyEclipse: ICEfaces Exceptions

riadhben - Jun 15, 2010 - 02:40 PM
Post subject: ICEfaces Exceptions
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 !
support-shalini - Jun 16, 2010 - 10:47 AM
Post subject: RE: ICEfaces Exceptions
riadhben,
Can you clarify when exactly you are getting the exception?
Can you list out the steps in detail to replicate the issue?
riadhben - Jun 16, 2010 - 12:13 PM
Post subject: RE: ICEfaces Exceptions
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)

****************************************************************************************************************************************
support-shalini - Jun 17, 2010 - 05:29 AM
Post subject: RE: ICEfaces Exceptions
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?
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits