commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From po...@free.fr
Subject Re: Commons validator error
Date Fri, 09 Nov 2007 20:35:49 GMT
Hi,
The best solution to avoid to spend your time, is to get the source code of the
commons-validator and run your code with a debugger, set a breakpoint on
FieldChecks line 243 and see the root cause.

Regards,
Jérome

Selon Nuno Martins <nuno.martins@multicert.com>:

> Hi all,
>
> I'm developing a commons-validator (with struts) standalone application.
> Since  using  new versions 1.3.1 (commons-validator) and 1.3.9 (struts),
> an error occurred.
>
>
> [WARN ][2007-11-09
> 16:43:17,039][org.apache.struts.util.PropertyMessageResources]:
> Resource org/apache/struts/validator/LocalStrings_en_GB.properties Not
> Found.
> [WARN ][2007-11-09
> 16:43:17,039][org.apache.struts.util.PropertyMessageResources]:
> Resource org/apache/struts/validator/LocalStrings_en.properties Not Found.
> [ERROR][2007-11-09
> 16:43:17,041][org.apache.struts.validator.FieldChecks]: mask validation
> failed for property xpto: java.lang.NullPointerException
> [ERROR][2007-11-09
> 16:43:17,043][org.apache.commons.validator.ValidatorAction]: Unhandled
> exception thrown during validation: null
> java.lang.NullPointerException
>     at
> org.apache.struts.validator.FieldChecks.processFailure(FieldChecks.java:1323)
>     at
> org.apache.struts.validator.FieldChecks.validateMask(FieldChecks.java:243)
>
>
> Any ideia?
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message