Hi, I am trying to do the following and i get null pointer exception, DynaValidatorForm PL1820UpdateForm = new DynaValidatorForm(); PL1820UpdateForm.set("input1", "This is test");
And my form definiation in struts-config is <form-bean name="PL1820UpdateForm" dynamic="true" type="org.apache.struts.validator.DynaValidatorForm"> <form-property name="input1" type="java.lang.String" /> </form-bean> The error i get it following java.lang.NullPointerException [1/16/03 19:30:24:908 EST] 311dffa9 SystemErr R at org.apache.struts.action.DynaActionForm.getDynaProperty(DynaActionForm.java:551) [1/16/03 19:30:24:908 EST] 311dffa9 SystemErr R at org.apache.struts.action.DynaActionForm.set(DynaActionForm.java:365) [1/16/03 19:30:24:908 EST] 311dffa9 SystemErr R at com.pfizer.maps.action.sop.PL1820DispatchAction.getData(PL1820DispatchAction.java:197) [1/16/03 19:30:24:908 EST] 311dffa9 SystemErr R at com.pfizer.maps.action.sop.PL1820DispatchAction.change(PL1820DispatchAction.java:145) Need help ===== A$HI$H __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>