Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » Eclipse JSF Tutorial Not working(Eclipse JSF Tutorial Not working)
Eclipse JSF Tutorial Not working [message #1404847] Wed, 06 August 2014 02:11 Go to next message
Sunil S is currently offline Sunil SFriend
Messages: 2
Registered: August 2014
Junior Member
I followed the same steps as mentioned in tutorial in eclipse JSF 2.0 Tutorial. When I try to run the application I am getting the following error. Not sure what I am missing.

Environment
IDE : Eclipse Juno Service Release 2
Tomcat 7.0.55 and JSF 2.0 (Mojarra 2.0.3-FCS)
HTTP error : HTTP Status 500 - null source
URL : <Tomcat localhost>/JSFFaceletsTutorial/faces/login.xhtml

Exception
SEVERE: Servlet.service() for servlet [Faces Servlet] in context with path [/JSFFaceletsTutorial] threw exception [null source] with root cause
java.lang.IllegalArgumentException: null source
at java.util.EventObject.<init>(EventObject.java:56)
at javax.faces.event.SystemEvent.<init>(SystemEvent.java:67)
at javax.faces.event.ComponentSystemEvent.<init>(ComponentSystemEvent.java:69)
at javax.faces.event.PostRestoreStateEvent.<init>(PostRestoreStateEvent.java:69)
at com.sun.faces.lifecycle.RestoreViewPhase.deliverPostRestoreStateEvent(RestoreViewPhase.java:256)
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:245)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:722)
Re: Eclipse JSF Tutorial Not working [message #1405118 is a reply to message #1404847] Wed, 06 August 2014 16:15 Go to previous messageGo to next message
Ian Trimble is currently offline Ian TrimbleFriend
Messages: 137
Registered: July 2009
Senior Member
Maybe start by taking a look at http://stackoverflow.com/questions/4792437/java-lang-illegalargumentexception-null-source. It suggests that it could be due to a bug in Mojarra 2.0.3.

- Ian
Re: Eclipse JSF Tutorial Not working [message #1405254 is a reply to message #1405118] Thu, 07 August 2014 00:05 Go to previous message
Sunil S is currently offline Sunil SFriend
Messages: 2
Registered: August 2014
Junior Member
Ian, Thanks for reply. You were right on. When I used "mojarra-2.1.1-FCS" it worked like a charm.
Previous Topic:JSF Web Page Editor Preview Problem
Next Topic:Change parameter and reflect to url From Filter
Goto Forum:
  


Current Time: Tue Sep 25 01:50:54 GMT 2018

Powered by FUDForum. Page generated in 0.01887 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top