https://issues.apache.org/bugzilla/show_bug.cgi?id=51883
Konstantin Kolinko <knst.koli...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version| |All --- Comment #1 from Konstantin Kolinko <knst.koli...@gmail.com> 2011-09-23 13:30:13 UTC --- In TOMCAT_7_0_19: (The code is the same in the current trunk) It is inside the following method: public final void invoke(Request request, Response response) throws IOException, ServletException { 122 // Wait if we are reloading 123 boolean reloaded = false; 124 while (context.getPaused()) { 125 reloaded = true; 126 try { 127 Thread.sleep(1000); 128 } catch (InterruptedException e) { 129 // Ignore 130 } 131 } The only reason that I see why context can be null on line 124 is that the webapp has been stopped. In that case you would not be able to process the request anyway. The NPE is unexpected, but it saves you from infinite looping there. -- 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