tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Stevens <...@latchkey.com>
Subject Re: [patch] npe in contextmanager
Date Sat, 02 Sep 2000 22:36:34 GMT
on 9/2/2000 3:18 PM, "Jon Stevens" <jon@latchkey.com> wrote:

> for some reason, i'm getting a NPE in contextmanger. below is a patch that
> doesn't fix the problem, but at least catches the NPE better and also logs
> the appropriate value for errorServlet if debugging is turned on.
> 
> now, would someone like to explain to me why i'm getting the npe in the
> first place? :-)
> 
> -jon

here is the NPE's that i'm getting...

2000-09-02 02:53:05 - Context: Exception in R( /scarab + /servlet/scarab +
null) - java.lang.NullPointerException
    at 
org.apache.tomcat.core.ContextManager.handleStatus(ContextManager.java:989)
    at org.apache.tomcat.core.Handler.service(Handler.java:283)
    at 
org.apache.tomcat.facade.ServletWrapper.service(ServletWrapper.java:381)
    at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:73
7)
    at 
org.apache.tomcat.core.ContextManager.service(ContextManager.java:681)
    at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:194)
    at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:400)
    at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:498)
    at java.lang.Thread.run(Thread.java:479)

2000-09-02 02:53:05 - HttpConnectionHandler: Error reading request, ignored
- java.lang.NullPointerException
    at 
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1055)
    at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:74
0)
    at 
org.apache.tomcat.core.ContextManager.service(ContextManager.java:681)
    at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:194)
    at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:400)
    at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:498)
    at java.lang.Thread.run(Thread.java:479)

-- 
http://scarab.tigris.org/    | http://noodle.tigris.org/
http://java.apache.org/      | http://java.apache.org/turbine/
http://www.working-dogs.com/ | http://jakarta.apache.org/velocity/
http://www.collab.net/       | http://www.sourcexchange.com/



Mime
View raw message