Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 67767 invoked from network); 18 Oct 2007 16:09:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Oct 2007 16:09:43 -0000 Received: (qmail 49787 invoked by uid 500); 18 Oct 2007 16:09:29 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 49730 invoked by uid 500); 18 Oct 2007 16:09:29 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 49721 invoked by uid 99); 18 Oct 2007 16:09:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2007 09:09:29 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2007 16:09:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 96F8071420D for ; Thu, 18 Oct 2007 09:08:50 -0700 (PDT) Message-ID: <24006.1192723730613.JavaMail.jira@brutus> Date: Thu, 18 Oct 2007 09:08:50 -0700 (PDT) From: "Tim Ferro (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (BEANUTILS-296) 1.8.0-BETA source does not match up with binary, making debugging difficult In-Reply-To: <14285212.1192641770589.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.