Bug 41607

Summary: Use JSF by eclipse and run by Tomcat but the error appeared
Product: Taglibs Reporter: Wang Suya <o-soya>
Component: Standard TaglibAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   

Description Wang Suya 2007-02-13 21:27:53 UTC
Hello
 
    I runed a simple example of JSF in tomcat5.5_20, but it appeared error

2007/02/14 11:21:40 org.apache.catalina.core.StandardContext loadOnStartup
’v–½“I: ƒT[ƒuƒŒƒbƒg /sampleJSF ‚ªload()—áŠO‚ð“Š‚°‚Ü‚µ‚½
java.lang.NullPointerException
	at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
	at org.apache.catalina.core.StandardWrapper.loadServlet
(StandardWrapper.java:1105)
	at org.apache.catalina.core.StandardWrapper.load
(StandardWrapper.java:932)
	at org.apache.catalina.core.StandardContext.loadOnStartup
(StandardContext.java:3951)
	at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4225)
	at org.apache.catalina.core.StandardContext.reload
(StandardContext.java:3024)
	at org.apache.catalina.loader.WebappLoader.backgroundProcess
(WebappLoader.java:432)
	at org.apache.catalina.core.ContainerBase.backgroundProcess
(ContainerBase.java:1277)
	at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChild
ren(ContainerBase.java:1569)
	at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChild
ren(ContainerBase.java:1578)
	at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChild
ren(ContainerBase.java:1578)
	at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run
(ContainerBase.java:1558)
	at java.lang.Thread.run(Unknown Source)

   Please tell me why? thank you very much!
Comment 1 Henri Yandell 2007-02-14 08:54:34 UTC
I'm sorry, I haven't a clue.

The Taglibs component of this Bugzilla is for the Jakarta Taglibs project; most
of which user/developer activity is in the Jakarta JSTL implementation. 

Your question would be best asked of either the mailing list for your JSF
implementation (MyFaces? Sun spec?) or the Tomcat user mailing list.