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=21203>. 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=21203 NullPointerException initializing ActionServlet Summary: NullPointerException initializing ActionServlet Product: Struts Version: Nightly Build Platform: All OS/Version: All Status: NEW Severity: Minor Priority: Other Component: Standard Actions AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When initializing servlet, if /WEB-INF/web.xml cannot be found, a NullPointerException is thrown within the parser. The actual cause of the problem could be indicated more clearly if some guard code was added at line 1431 of ActionServlet.java * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java,v 1.150 2003/06/28 06:16:34 dgraham Exp $ * $Revision: 1.150 $ * $Date: 2003/06/28 06:16:34 $ The code could be something like: if (input == null) { Exception e = new Exception("/WEB-INF/web.xml not found"); log.error(internal.getMessage("configWebXml"), e); throw new ServletException(e); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]