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]

Reply via email to