https://issues.apache.org/bugzilla/show_bug.cgi?id=50353

--- Comment #1 from Sylvain Laurent <sylvain.laur...@gmail.com> 2010-11-27 
18:04:53 EST ---
Same behavior with getRequest() : it returns null. 
This leads to a NPE if asyncContext.dispatch() is called after the timeout :


java.lang.NullPointerException
    at
org.apache.catalina.core.AsyncContextImpl.dispatch(AsyncContextImpl.java:127)
    at test.MyServlet$1.run(MyServlet.java:42)
    at
org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:439)
    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:680)

(with a variation of the above example)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to