tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49884] NullPointerException in org.apache.catalina.core.AsyncContextImpl.doInternalComplete
Date Sun, 05 Sep 2010 21:42:06 GMT

--- Comment #3 from Kevin <> 2010-09-05 17:42:02 EDT ---
(In reply to comment #2)
> The state changes in AsyncContextImpl aren't atomic so I think what you are
> seeing is the result of multiple parallel calls to doInternalComplete(). Am I
> correct in thinking this error is fairly rare?

Yes, it is rare. The reason I reported this is that I'm load testing this
servlet (well, my real servlet, but this one just to repro the problem), and
every once in a while I get a 200 or 500 response that takes over 10 seconds
whereas the average is half a second (using AccessLogValve %D to see this). I
ran with tracing and noticed this NPE and thought maybe it's somehow related to
the sporadic long request, but I don't know if it's root cause. Also, it is
preceded by the "TIMING OUT!" entry, so maybe this NPE is just a side effect of
the timeout?

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message