MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
riadhben
Post subject: ICEfaces Exceptions  PostPosted: Jun 15, 2010 - 02:40 PM



Joined: Jun 03, 2010
Posts: 7

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 !
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE: ICEfaces Exceptions  PostPosted: Jun 16, 2010 - 10:47 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

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

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
riadhben
Post subject: RE: ICEfaces Exceptions  PostPosted: Jun 16, 2010 - 12:13 PM



Joined: Jun 03, 2010
Posts: 7

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)

****************************************************************************************************************************************
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE: ICEfaces Exceptions  PostPosted: Jun 17, 2010 - 05:29 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

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?

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits