You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Matt Raible <ma...@yahoo.com> on 2001/09/20 20:00:15 UTC

ActionMessages throwing NullPointer and message is in properties??

I am getting a NullPointerException on the following code:

messages.add(new ActionMessage("timesheetManage.reset.success",
aTimesheetDO.getEmployeeName()));	

And in my ApplicationResources.properties file, I have the following entry:

timesheetManage.reset.success=Timesheet for \"{0}\" re-generated successfully
from holidays and work profile (if applicable).

Any ideas?

Thanks,

Matt

__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/