2017-06-26 16:35 GMT+03:00 Mark Thomas <ma...@apache.org>: > > On 26/06/17 14:18, Violeta Georgieva wrote: > > 2017-06-26 16:13 GMT+03:00 Mark Thomas <ma...@apache.org>: > >> > >> On 23/06/17 14:47, Violeta Georgieva wrote: > >>> 2017-06-13 15:44 GMT+03:00 Mark Thomas <ma...@apache.org>: > >>>> On 13/06/17 11:05, Violeta Georgieva wrote: > >>>>> 2017-06-13 13:04 GMT+03:00 Violeta Georgieva <violet...@apache.org>: > >> > >> <snip/> > >> > >>>>>> java.lang.NullPointerException: null > >>>> > >>>> Appears to be the same cause as above, but triggered at a different > > point. > >>>> > >>> > >>> What about at least not throw NPE? > >> > >> Which object is null? Since the stack trace is from a dev version, I'm > >> not exactly sure where the null is in this case. > > > > The first thread makes a dispatch and clears the request and response > > https://github.com/apache/tomcat/blob/trunk/java/org/apache/catalina/core/AsyncContextImpl.java#L209 > > > > the second thread handles the error and tries to set a status code > > https://github.com/apache/tomcat/blob/trunk/java/org/apache/catalina/core/AsyncContextImpl.java#L411 > > This should be fixed in trunk. If this is sufficient, we can back-port. >
I just tested it. I did not see any NPEs. Please back-port it. Thanks, Violeta > Mark > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org >