commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raviteja Lokineni (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONFIGURATION-629) Fix PropertyDescriptor warning for AbstractConfiguration.setProperty
Date Sat, 25 Jun 2016 03:00:19 GMT

    [ https://issues.apache.org/jira/browse/CONFIGURATION-629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15349035#comment-15349035
] 

Raviteja Lokineni commented on CONFIGURATION-629:
-------------------------------------------------

This is not a issue with commons-configuration AFAIK. Refer to: BEANUTILS-477

> Fix PropertyDescriptor warning for AbstractConfiguration.setProperty
> --------------------------------------------------------------------
>
>                 Key: CONFIGURATION-629
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-629
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Dennis Kieselhorst
>            Priority: Minor
>             Fix For: 2.1
>
>
> Although it's just a warning message it should be fixed to avoid spam in logfiles:
> {noformat}
> WARNUNG: Error when creating PropertyDescriptor for public final void org.apache.commons.configuration2.AbstractConfiguration.setProperty(java.lang.String,java.lang.Object)!
Ignoring this property.
> java.beans.IntrospectionException: bad write method arg count: public final void org.apache.commons.configuration2.AbstractConfiguration.setProperty(java.lang.String,java.lang.Object)
> 	at java.beans.PropertyDescriptor.findPropertyType(PropertyDescriptor.java:657)
> 	at java.beans.PropertyDescriptor.setWriteMethod(PropertyDescriptor.java:327)
> 	at java.beans.PropertyDescriptor.<init>(PropertyDescriptor.java:139)
> 	at org.apache.commons.beanutils.FluentPropertyBeanIntrospector.createFluentPropertyDescritor(FluentPropertyBeanIntrospector.java:177)
> 	at org.apache.commons.beanutils.FluentPropertyBeanIntrospector.introspect(FluentPropertyBeanIntrospector.java:140)
> 	at org.apache.commons.beanutils.PropertyUtilsBean.fetchIntrospectionData(PropertyUtilsBean.java:2234)
> 	at org.apache.commons.beanutils.PropertyUtilsBean.getIntrospectionData(PropertyUtilsBean.java:2215)
> 	at org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor(PropertyUtilsBean.java:950)
> 	at org.apache.commons.beanutils.PropertyUtilsBean.isWriteable(PropertyUtilsBean.java:1466)
> 	at org.apache.commons.configuration2.beanutils.BeanHelper.isPropertyWriteable(BeanHelper.java:521)
> 	at org.apache.commons.configuration2.beanutils.BeanHelper.initProperty(BeanHelper.java:357)
> 	at org.apache.commons.configuration2.beanutils.BeanHelper.initBeanProperties(BeanHelper.java:273)
> 	at org.apache.commons.configuration2.beanutils.BeanHelper.initBean(BeanHelper.java:192)
> 	at org.apache.commons.configuration2.beanutils.BeanHelper$BeanCreationContextImpl.initBean(BeanHelper.java:669)
> 	at org.apache.commons.configuration2.beanutils.DefaultBeanFactory.initBeanInstance(DefaultBeanFactory.java:162)
> 	at org.apache.commons.configuration2.beanutils.DefaultBeanFactory.createBean(DefaultBeanFactory.java:116)
> 	at org.apache.commons.configuration2.beanutils.BeanHelper.createBean(BeanHelper.java:459)
> 	at org.apache.commons.configuration2.beanutils.BeanHelper.createBean(BeanHelper.java:479)
> 	at org.apache.commons.configuration2.beanutils.BeanHelper.createBean(BeanHelper.java:492)
> 	at org.apache.commons.configuration2.builder.BasicConfigurationBuilder.createResultInstance(BasicConfigurationBuilder.java:447)
> 	at org.apache.commons.configuration2.builder.BasicConfigurationBuilder.createResult(BasicConfigurationBuilder.java:417)
> 	at org.apache.commons.configuration2.builder.BasicConfigurationBuilder.getConfiguration(BasicConfigurationBuilder.java:285)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message