Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 27651 invoked from network); 8 Jun 2010 17:53:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Jun 2010 17:53:55 -0000 Received: (qmail 60938 invoked by uid 500); 8 Jun 2010 17:53:55 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 60902 invoked by uid 500); 8 Jun 2010 17:53:55 -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 60895 invoked by uid 99); 8 Jun 2010 17:53:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jun 2010 17:53:55 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jun 2010 17:53:53 +0000 Received: from thor.apache.org (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o58HrVqp002699 for ; Tue, 8 Jun 2010 17:53:31 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o58HrVCl002698; Tue, 8 Jun 2010 13:53:31 -0400 (EDT) Date: Tue, 8 Jun 2010 13:53:31 -0400 (EDT) Message-Id: <201006081753.o58HrVCl002698@thor.apache.org> From: bugzilla@apache.org To: notifications@ant.apache.org Subject: DO NOT REPLY [Bug 49400] Log statements in AbstractFileset can cause NullPointerExceptions X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ant X-Bugzilla-Component: Core X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jkf@apache.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: notifications@ant.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Resolution In-Reply-To: References: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=49400 J.M. (Martijn) Kruithof changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #3 from J.M. (Martijn) Kruithof 2010-06-08 13:53:28 EDT --- Setting the project is an explicit step in the lifecycle of each task, therefore you should always set the project instance, also when using ant task programatically, note that this is also valid for the Location and Target, these items are explicitly stated in the manual. These can be set using setProject, setLocation and setOwningTarget. The workaround you describe actually solves a part of the bug in your code, in such way that you are not hitting a bug anymore. Though the code still does not obey the lifecycle of the task. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.