IF the exception is actually being thrown here, then I'm guessing that you haven't instantiated a instance of ActionErrors e.g. ActionErrors errors = new ActionErrors();
Dennis "uma.k" <[EMAIL PROTECTED]> 12/23/2004 07:40 AM Please respond to "Struts Users Mailing List" <user@struts.apache.org> To "'Struts Users Mailing List'" <user@struts.apache.org> cc Subject NullPointerException I get NullPointerException in validate() at this line errors.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("error.text.required")); This is my ApplicationResources.properties file with this line error.text.required=Text is required What could be the reason for NullPointerException? Uma --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]