DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=32779>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32779 Summary: NullPointerException when removing webapp with manager Product: Tomcat 4 Version: 4.1.30 Platform: PC OS/Version: Windows 2000 Status: NEW Severity: normal Priority: P2 Component: Webapps:Manager AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I get a NullPointerException when I try to remove a web application installed with the Tomcat manager application. The NullPointerException only happens when I've installed the webapp via an XML file that contains the <Context> for the application; not when I install it directly from a WAR file. Steps to reproduce: (Using Tomcat 4.1.30 on Windows 2000 or Windows XP) (Tomcat installed under C:\Java\apache-tomcat-4.1.30) - Start Tomcat - Copy demoapp.war and demoapp.xml to C:\Java\apache-tomcat-4.1.30\webapps - Install webapp by pointing browser at http://localhost:8080/manager/install?config=file:/C:/Java/apache-tomcat-4.1.30/webapps/demoapp.xml Response: OK - Installed application from context file file:/C:/Java/apache-tomcat-4.1.30/webapps/demoapp.xml - Remove webapp by pointing browser at http://localhost:8080/manager/remove?path=/demoapp Response: FAIL - Encountered exception java.io.IOException: java.lang.NullPointerException Even though I get an error message, the application is undeployed, as it is not available anymore at http://localhost:8080/demoapp If I install the web application directly, like this: http://localhost:8080/manager/install?war=jar:file:/C:/Java/apache-tomcat-4.1.30/webapps/demoapp.war!/ Then the remove does work correctly; removing it gives: OK - Removed application at context path /demoapp -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]