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] Updated: (VALIDATOR-19) [validator] The Form cannot be used for the validator's method parameter.
Date Wed, 19 Jul 2006 13:27:14 GMT
     [ http://issues.apache.org/jira/browse/VALIDATOR-19?page=all ]

Niall Pemberton updated VALIDATOR-19:
-------------------------------------

    Bugzilla Id:   (was: 39151)
    Component/s: Framework

> [validator] The Form cannot be used for the validator's method parameter.
> -------------------------------------------------------------------------
>
>                 Key: VALIDATOR-19
>                 URL: http://issues.apache.org/jira/browse/VALIDATOR-19
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 1.3.0 Release
>         Environment: Operating System: Windows XP
> Platform: All
>            Reporter: Masahiro Honda
>         Attachments: commons-validator.lzh, commons-validator.zip
>
>
> The form is declared as a validator's method parameter.
> The exception occur.
> org.apache.commons.validator.ValidatorException: argument type mismatch
> 	at org.apache.commons.validator.ValidatorAction.executeValidationMethod
> (ValidatorAction.java:549)
> 	at org.apache.commons.validator.Field.validateForRule(Field.java:766)
> 	at org.apache.commons.validator.Field.validate(Field.java:845)
> 	at org.apache.commons.validator.Form.validate(Form.java:290)
> 	at org.apache.commons.validator.Validator.validate(Validator.java:353)
> 	at org.apache.commons.validator.ValidatorParameterTest.testAllValid
> (ValidatorParameterTest.java:120)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:324)
> 	at junit.framework.TestCase.runTest(TestCase.java:154)
> 	at junit.framework.TestCase.runBare(TestCase.java:127)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests
> (RemoteTestRunner.java:478)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run
> (RemoteTestRunner.java:344)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main
> (RemoteTestRunner.java:196)

-- 
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