You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2007/09/01 06:05:34 UTC
[jira] Updated: (STR-1725) LookupDispatchAction throws
NullPointerException during first execution
[ https://issues.apache.org/struts/browse/STR-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Benedict updated STR-1725:
-------------------------------
Fix Version/s: Future
Assignee: (was: Struts Developers)
> LookupDispatchAction throws NullPointerException during first execution
> -----------------------------------------------------------------------
>
> Key: STR-1725
> URL: https://issues.apache.org/struts/browse/STR-1725
> Project: Struts 1
> Issue Type: Improvement
> Components: Extras
> Affects Versions: 1.1.0
> Environment: Operating System: other
> Platform: All
> Reporter: Leo Mekenkamp
> Priority: Minor
> Fix For: Future
>
>
> 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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.