You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Cybexion <cy...@email.de> on 2009/02/11 09:15:11 UTC

Nullpointer in StandardHostValve

Hello,

in my tomcat logs (6.0.18) I can see the exception as shown below. 
Anyone having an idea?
Some background:
I have custom 'file_not_found.html' which is stored in WEB-INF dir.

At the end of my my web.xml I have somethin like this
  
    404
    /file_not_found.html
  

Looks that this is not working.

Any idea?




Catalina.out
Feb 11, 2009 8:21:24 AM org.apache.catalina.core.StandardHostValve custom
SEVERE: Exception Processing ErrorPage[errorCode=404,
location=/file_not_found.html]
java.lang.NullPointerException
        at
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:424)
        at
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:343)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
        at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
        at
org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:1947)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)


-- 
View this message in context: http://www.nabble.com/Nullpointer-in-StandardHostValve-tp21950143p21950143.html
Sent from the Tomcat - User mailing list archive at Nabble.com.