Gee... this sounds like they forgot to set the load-on-startup element for the Action Servlet.
Rick Hightower Chief Technology Officer Trivera Technologies http://www.triveratech.com 520 290 6855 (Phone) 520 977 8605 (Mobile) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 3:12 AM To: [EMAIL PROTECTED] Subject: DO NOT REPLY [Bug 22878] New: - LookupDispatchAction throws NullPointerException during first execute after tomcat start 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=22878>. 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=22878 LookupDispatchAction throws NullPointerException during first execute after tomcat start Summary: LookupDispatchAction throws NullPointerException during first execute after tomcat start Product: Struts Version: 1.1 Final Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Standard Actions AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] After every start of tomcat the LookupDispatchAction class throws a NullPointerException, but it does only do so the first time any LookupDispatchAction is executed. Any call to execute() for any LookupDispatchAction after that first call does not throw a NullPointerException, Note that this only occurs when _not_ having a message-resources defined in struts-config.xml. This also gives the following workaround: put <message-resources parameter="BugWorkaround"/> in the struts-config.xml and an 'empty' BugWorkaround.properties in WEB-INF/classes. NullPointerException is thrown at org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatchAction. java:236) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
