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

--- Comment #1 from Sylvain Laurent <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to