You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Raible, Matt" <Ma...@cable.comcast.com> on 2003/01/17 15:50:20 UTC
RE: Problem with using DynaValidatorForm, is it possible to do
it ??
http://www.mail-archive.com/struts-dev%40jakarta.apache.org/msg12356.html
-----Original Message-----
From: Ashish Kulkarni [mailto:kulkarni_ash1312@yahoo.com]
Sent: Thursday, January 16, 2003 5:34 PM
To: struts-user@jakarta.apache.org
Subject: Problem with using DynaValidatorForm, is it possible to do it??
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:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>