myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Vieujot (JIRA)" <myfaces-...@incubator.apache.org>
Subject [jira] Commented: (MYFACES-553) NullPointerException in WebXml.getFacesServletMappings
Date Mon, 12 Sep 2005 16:57:31 GMT
    [ http://issues.apache.org/jira/browse/MYFACES-553?page=comments#action_12323244 ] 

Sylvain Vieujot commented on MYFACES-553:
-----------------------------------------

I just committed a fix (r280367), but as I'm not 100% sure it is correct, I leave this bug
open.

Oliver, could you look at it, and close the bug if you're comfortable with it.

For me it works though.

> NullPointerException in WebXml.getFacesServletMappings
> ------------------------------------------------------
>
>          Key: MYFACES-553
>          URL: http://issues.apache.org/jira/browse/MYFACES-553
>      Project: MyFaces
>         Type: Bug
>   Components: General
>     Versions: Nightly Build
>     Reporter: Sylvain Vieujot
>     Assignee: Oliver Rossmueller
>     Priority: Blocker

>
> Oliver, I assigned this to you because I have this bug only since your last changes.
> Here is that bug report with the Stack Trace.
> You will see the NPE at WebXml.java:90
> Error Report
> HTTP Status : 500
> Date : 2005-09-12 11:18:50
> User IP Address : 10.0.0.101
> URL : http://10.0.0.10/windsOfCabarete/forum/edit-jsf.jsf
> Request Parameters
> None.
> Headers
> host: 10.0.0.10
> user-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc4
Firefox/1.0.6
> accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
> accept-language: fr-fr,en-us;q=0.7,en;q=0.3
> accept-encoding: gzip,deflate
> accept-charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> keep-alive: 300
> connection: keep-alive
> referer: http://10.0.0.10/windsOfCabarete/
> cookie: JSESSIONID=10F2F1BA6862585895A9F10E99B920B3
> Attributes
> Request attributes
> javax.servlet.forward.request_uri: /windsOfCabarete/forum/edit-jsf.jsf
> javax.servlet.forward.context_path: /windsOfCabarete
> javax.servlet.forward.servlet_path: /forum/edit-jsf.jsf
> javax.servlet.forward.path_info: /errorHandler.jsp
> javax.servlet.error.servlet_name: Faces Servlet
> com.seanergie.web.util.SecureRedirect: Disabled
> javax.servlet.error.message: 
> javax.servlet.error.exception: javax.servlet.ServletException
> javax.servlet.error.request_uri: /windsOfCabarete/forum/edit-jsf.jsf
> org.apache.myfaces.component.html.util.ExtensionFilter.doFilterCalled: true
> javax.servlet.error.status_code: 500
> class org.apache.myfaces.renderkit.html.util.JavascriptUtils.OLD_VIEW_ID: /forum/edit-jsf.jsp
> Session attributes
> currentAdNumber: 0
> Exception
> null
> javax.servlet.ServletException
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:113)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at com.seanergie.filter.persistence.SessionsManagerFilter.doFilter(SessionsManagerFilter.java:44)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at com.seanergie.filter.authentication.LoginInterceptorFilter.doFilter(LoginInterceptorFilter.java:36)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
> 	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
> 	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> 	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> 	at java.lang.Thread.run(Thread.java:595)
> Caused by:
> java.lang.NullPointerException
> 	at org.apache.myfaces.webapp.webxml.WebXml.getFacesServletMappings(WebXml.java:90)
> 	at org.apache.myfaces.application.jsp.JspViewHandlerImpl.getServletMapping(JspViewHandlerImpl.java:347)
> 	at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:199)
> 	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at com.seanergie.filter.persistence.SessionsManagerFilter.doFilter(SessionsManagerFilter.java:44)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at com.seanergie.filter.authentication.LoginInterceptorFilter.doFilter(LoginInterceptorFilter.java:36)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
> 	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
> 	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> 	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> 	at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message