[ http://issues.apache.org/jira/browse/BEANUTILS-30?page=all ]

Henri Yandell updated BEANUTILS-30:
-----------------------------------

      Bugzilla Id:   (was: 38683)
    Fix Version/s: 1.8.0

> [beanutils] Improve message for "Unknown property"
> --------------------------------------------------
>
>                 Key: BEANUTILS-30
>                 URL: http://issues.apache.org/jira/browse/BEANUTILS-30
>             Project: Commons BeanUtils
>          Issue Type: Bug
>    Affects Versions: 1.6
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Barry Kaplan
>             Fix For: 1.8.0
>
>
> When PropertyUtilsBean attempts to set/get a property it throws an exception
> with the following message:
> Caused by: java.lang.NoSuchMethodException: Unknown property 'name'
>       at
> org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:1741)
>       at
> org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.java:577)
>       at
> com.sun.faces.config.ManagedBeanFactory.setPropertiesIntoBean(ManagedBeanFactory.java:558)
> Its nice to know the name of the property, but it would be even nicer to know
> the class. 
> (Yes, this is also a problem with the calling code, JSF FI in this case, which
> even knows instance and bean name, yet chooses to leave tha a secret.)

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

Reply via email to