DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24349>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24349 NullPointerException Summary: NullPointerException Product: Tomcat 5 Version: 5.0.14 Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Catalina:Modules AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When deploying a web-app with bad URL, with the Tomcat Manager, NullPointerException is thrown at org.apache.catalina.manager.HTMLManagerServlet.java:423 (method list) ( The code is: args[4] = new Integer(context.getManager().findSessions().length); ^ null for mistyped directory ) After this no application can be deployed, because this exception is rethrown. (Tomcat must be restarted) I have made some test: The manager for the context of the mistyped URL does not exist. So I modified the enclosing if statement's condition if (context != null && context.getManager() != null) This version works, but does not report an error, at least I can try again by correcting the web app location, without restarting tomcat. I hope it is enough. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]