[prev in list] [next in list] [prev in thread] [next in thread]
List: struts-dev
Subject: DO NOT REPLY [Bug 21203] New: -
From: bugzilla () apache ! org
Date: 2003-06-30 21:11:11
[Download RAW message or body]
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: struts-dev@jakarta.apache.org
ReportedBy: programminglists@alberg30.org
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: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic