[ http://issues.apache.org/jira/browse/VALIDATOR-58?page=all ]
Niall Pemberton resolved VALIDATOR-58.
--------------------------------------
Resolution: Duplicate
Re-openned and the set to "Resolved Duplicate" again to correct "resolution"
which was lost in Bugzilla --> JIRA conversion
> Null Pointer Re depends
> -----------------------
>
> Key: VALIDATOR-58
> URL: http://issues.apache.org/jira/browse/VALIDATOR-58
> Project: Commons Validator
> Issue Type: Bug
> Environment: Operating System: other
> Platform: All
> Reporter: Michael Connor
> Priority: Minor
>
> When you are using Validator in Struts and you leave out the depends attribute
> on a field, you get a null pointer exception on line 502 of Validator. There
> is
> no way to tell which field is causing this. It would be nice if we checked
> for
> a null there and threw an exception providing some info about the field that
> was
> causing the problem.
> I'm not sure if this should be more of a Struts issue or a Validator issue but
> I'm sure it's costing people a lot of time. I just assumed that the field was
> not dependent on any validation routines so I just removed the depends
> attribute.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]