DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27910>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27910

java.lang.NullPointerException at 
org.apache.struts.validator.ValidatorForm.validate(ValidatorForm.java:143)





------- Additional Comments From [EMAIL PROTECTED]  2004-03-24 17:58 -------
Struts has some deep assumptions that you aren't creating your own form beans.
Some work has already happened to make it easier to ask Struts for instances of
form beans (instead of using "new") -- in nightly builds you can can call
RequestUtils.createActionForm(FormBeanConfig,ActionServlet)

http://jakarta.apache.org/struts/api/org/apache/struts/util/RequestUtils.html#createActionForm(org.apache.struts.config.FormBeanConfig,%20org.apache.struts.action.ActionServlet)

I think there are legitimate reasons to encourage people to use Struts to get
form bean instances rather than constructing them themselves.  I'd like to steer
this bug along the lines of making that work better instead of encouraging
people to instantiate their own form beans.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to