There's an entry in the dev mailing list (see link below) that talks about
the NPE for the DynaValidatorForm.

http://www.mail-archive.com/[email protected]/msg06269.html

I don't know if this has been fixed, but I'm also getting the same problem even with 
the latest nightly build





Chuck Cavaness <[EMAIL PROTECTED]> on 05/27/2002 10:58:49 AM

Please respond to "Struts Users Mailing List"
      <[EMAIL PROTECTED]>

To:   "Struts Users Mailing List" <[EMAIL PROTECTED]>
cc:
Subject:  Re: Struts Validator


This may be of no help, but I didn't see that you had the dynamic attribute
to "true" like this:

<form-bean
     dynamic="true"
     name="loginForm"
     type="org.apache.struts.action.DynaActionForm">

Chuck

At 02:42 PM 5/27/2002 -0300, you wrote:
>Hi,
>
>Has anyone used the server-side validation with DynaActionForms using
>the Struts Validator included in Struts 1.1-b1?
>
>There are two classes (DynaValidatorForm and DynaValidatorActionForm) in
>the package org.apache.struts.validator, but when I tried always generates
>a NullPointerException whith the getDynaClass() method.
>
>Example:
>
>// OK, but no validation
><form-bean name="loginForm" type
="org.apache.struts.action.DynaActionForm">
>...
></form-bean>
>
>// NullPointerException in getDynaClass() method
><form-bean name="loginForm"
>            type="org.apache.struts.validator.DynaValidatorActionForm">
>...
></form-bean>
>
>Thanks in advance,
>
>Fernando.
>
>
>--
>To unsubscribe, e-mail:   <
mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>


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






**********************************************************************
Please Note:
The information in this E-mail message, and any files transmitted
with it, is confidential and may be legally privileged.  It is
intended only for the use of the individual(s) named above.  If you
are the intended recipient, be aware that your use of any confidential
or personal information may be restricted by state and federal
privacy laws.  If you, the reader of this message, are not the
intended recipient, you are hereby notified that you should not
further disseminate, distribute, or forward this E-mail message.
If you have received this E-mail in error, please notify the sender
and delete the material from any computer.  Thank you.
**********************************************************************




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

Reply via email to