commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Commented: (BEANUTILS-323) upon 'java.lang.NoSuchMethodException: Unknown property 'xyz'' say what the class FQDN the object had
Date Thu, 02 Dec 2010 22:28:11 GMT

    [ https://issues.apache.org/jira/browse/BEANUTILS-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966313#action_12966313
] 

Niall Pemberton commented on BEANUTILS-323:
-------------------------------------------

It was fixed in 1.8.0 - but I suggest you try the latest 1.8.3 release

> upon 'java.lang.NoSuchMethodException: Unknown property 'xyz'' say what the class FQDN
the object had
> -----------------------------------------------------------------------------------------------------
>
>                 Key: BEANUTILS-323
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-323
>             Project: Commons BeanUtils
>          Issue Type: Improvement
>          Components: Bean / Property Utils
>    Affects Versions: 1.7.0
>         Environment: java 5, debian stable
>            Reporter: Ralf Hauser
>
> Somehow, a wrong object was received by beanutils from validator, but it provides no
hint what it is working on in 
> ERROR [http-www.privasphere.com%2F212.25.12.194-8443-Processor10] (ValidatorUtils.java:112)
- Unknown property 'xyz'
> java.lang.NoSuchMethodException: Unknown property 'xyz'
>         at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1122)
>         at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:686)
>         at org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715)
>         at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290)
>         at org.apache.commons.validator.util.ValidatorUtils.getValueAsString(ValidatorUtils.java:102)
>         at org.apache.struts.validator.FieldChecks.evaluateBean(FieldChecks.java:336)
>         at org.apache.struts.validator.FieldChecks.validateMinLength(FieldChecks.java:1156)
>         at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.commons.validator.ValidatorAction.executeValidationMethod(ValidatorAction.java:544)
>         at org.apache.commons.validator.Field.validateForRule(Field.java:796)
>         at org.apache.commons.validator.Field.validate(Field.java:876)
>         at org.apache.commons.validator.Form.validate(Form.java:288)
>         at org.apache.commons.validator.Validator.validate(Validator.java:351)
>         at org.apache.struts.validator.ValidatorForm.validate(ValidatorForm.java:116)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message