commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ferro (JIRA)" <j...@apache.org>
Subject [jira] Commented: (BEANUTILS-296) 1.8.0-BETA source does not match up with binary, making debugging difficult
Date Thu, 18 Oct 2007 16:08:50 GMT

    [ https://issues.apache.org/jira/browse/BEANUTILS-296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535957
] 

Tim Ferro commented on BEANUTILS-296:
-------------------------------------

Hi Niall, thanks for taking a look - 

Here is an (obviously sanitized) trace of the path I'm following through the code.  I'm using
Intellij 6.0.5 (in the Environment section above), and I only have one project containing
the commons-beanutils library.  Please ignore the exception itself, that's what I was debugging,
that fault is in my own code.

java.lang.NoSuchMethodException: Property 'myBeanProperty' has no setter method
        at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:1746)
        at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1648)
        at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:1677)
        at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.java:559)
        at com.myPackage.MyClass.setValue(MyClass.java:181)

I have confirmed that I'm attached to the correct source in the commons-beanutils-1.8.0-BETA-sources.jar
that shipped inside the commons-beanutils-1.8.0-BETA.jar file in my classpath.  I do not have
any other commons-beanutils jars (binary or source) in my classpath or ide settings.  

PropertyUtils:559 has me in comments above getProperty type(Object bean, String name).
PropertyUtilsBean:1677 has me in the setMappedProperty(Object bean, String name, Object value)
method
PropertyUtilsBean:1648 is in the comments above setMappedProperty(Object bean, String name,
Object value)
PropertyUtilsBean: 1746 is in the setMappedProperty(Object bean, String name, String key,
Object value) method

Thanks again for taking a look

Tim

> 1.8.0-BETA source does not match up with binary, making debugging difficult
> ---------------------------------------------------------------------------
>
>                 Key: BEANUTILS-296
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-296
>             Project: Commons BeanUtils
>          Issue Type: Bug
>          Components: Bean / Property Utils
>    Affects Versions: 1.8.0-BETA
>         Environment: Windows XP, IntelliJIDEA 6.0.5, Java JDK 6u2
>            Reporter: Tim Ferro
>            Priority: Minor
>
> I downloaded the file 'commons-beanutils-1.8.0-BETA.zip' on 10/17/2007 at noon.  I apologize
for not knowing which mirror.
> I attached the enclosed source jar (commons-beanutils-1.8.0-BETA-sources.jar) and when
I step into the beanutils code through the debugger, I'm sitting on comments, the wrong method,
etc.  Appears to be going to the correct line #, but the source is apparently not the same
source used to build the binary.
> Please contact if you need more information.

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