You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2006/07/19 15:31:21 UTC
[jira] Reopened: (VALIDATOR-58) Null Pointer Re depends
[ http://issues.apache.org/jira/browse/VALIDATOR-58?page=all ]
Niall Pemberton reopened VALIDATOR-58:
--------------------------------------
> 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org