You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2006/10/31 09:25:20 UTC

[jira] Updated: (BEANUTILS-30) [beanutils] Improve message for "Unknown property"

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

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

    Bugzilla Id:   (was: 38683)

I think this should be dealt with in 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
>
> 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org