Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 11281 invoked from network); 12 Aug 2009 02:38:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Aug 2009 02:38:17 -0000 Received: (qmail 30952 invoked by uid 500); 12 Aug 2009 02:38:24 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 30889 invoked by uid 500); 12 Aug 2009 02:38:24 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 30880 invoked by uid 99); 12 Aug 2009 02:38:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2009 02:38:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2009 02:38:13 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 6342E29A0011; Tue, 11 Aug 2009 19:37:52 -0700 (PDT) From: bugzilla@apache.org To: notifications@ant.apache.org Subject: DO NOT REPLY [Bug 47683] New: Ant task omits Throwable.getCause() X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ant X-Bugzilla-Component: Core tasks X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cowwoc@bbs.darktech.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: notifications@ant.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 11 Aug 2009 19:37:52 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=47683 Summary: Ant task omits Throwable.getCause() Product: Ant Version: 1.7.1 Platform: PC OS/Version: Windows Vista Status: NEW Severity: normal Priority: P2 Component: Core tasks AssignedTo: notifications@ant.apache.org ReportedBy: cowwoc@bbs.darktech.org --- Comment #0 from Gili 2009-08-11 19:37:50 PDT --- If the task invokes a build.xml that in-turn invokes a custom Ant task that throws an exception, the underlying exception "cause" will be dropped silently. For example: The following error occurred while executing this line: C:\Users\Gili\Documents\jperipheral\trunk\java\netbeans\build.xml:102: java.lang.RuntimeException: Error parsing C:\Users\Gili\Documents\jperipheral\trunk\cpp\windows\source\jperipheral\Main.cpp The underlying Ant task throws RuntimeException with a cause of type NoClassDefFoundError. If the cause was reported I'd be able to know what class file was missing. This issue is 100% reproducible. Please see http://www.netbeans.org/issues/show_bug.cgi?id=170170 for more information. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.