https://issues.apache.org/bugzilla/show_bug.cgi?id=54315
--- Comment #18 from Mark Thomas <ma...@apache.org> --- (In reply to Konstantin Kolinko from comment #17) > (In reply to Mark Thomas from comment #13) > > re 2, I don't see how this could lead to the constant NPE issue the OP > > reported unless deployment failed. > I mean that it continues this way: > > TH2 continues shutting down the context, as it thinks that all wrappers are > unloaded and no request processing is happening at this moment. > > In StandardContext.stopInternal() TH2 has done "children[i].stop();" and the > next steps that it does are: > > * filterStop(); > * ((Lifecycle) manager).stop(); > > In ManagerBase.stopInternal() it does "this.sessionIdGenerator = null;". > > > TH1: It goes on with request processing and encounters that the session > manager has been stopped and manager.sessionIdGenerator is null. > > This is just a theory, I have not tested it. That would explain a small number of NPEs. I don't see how it could result in all future requests resulting in NPEs as reported by the OP. -- 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