commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (VALIDATOR-58) Null Pointer Re depends
Date Wed, 19 Jul 2006 14:12:16 GMT
     [ 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message