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 <[EMAIL PROTECTED]>:

> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to