Return-Path: Delivered-To: apmail-ant-notifications-archive@locus.apache.org Received: (qmail 20641 invoked from network); 27 Mar 2008 13:59:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Mar 2008 13:59:33 -0000 Received: (qmail 53720 invoked by uid 500); 27 Mar 2008 13:59:32 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 53681 invoked by uid 500); 27 Mar 2008 13:59:32 -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 53672 invoked by uid 99); 27 Mar 2008 13:59:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2008 06:59:32 -0700 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; Thu, 27 Mar 2008 13:58:50 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id C0101234C0A8; Thu, 27 Mar 2008 06:57:19 -0700 (PDT) From: bugzilla@apache.org To: notifications@ant.apache.org Subject: DO NOT REPLY [Bug 44689] New: NPE when running multiple targets in Ant X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ant X-Bugzilla-Component: Core X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: rbuck@verisign.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: notifications@ant.apache.org X-Bugzilla-Target-Milestone: 1.7.1 X-Bugzilla-Changed-Fields: Message-ID: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 27 Mar 2008 06:57:19 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=44689 Summary: NPE when running multiple targets in Ant Product: Ant Version: 1.7.0 Platform: PC OS/Version: Windows XP Status: NEW Severity: critical Priority: P2 Component: Core AssignedTo: notifications@ant.apache.org ReportedBy: rbuck@verisign.com Run the following build file as "ant init clean" and you ALWAYS get an NPE. I have seen this behavior in several scenarios, and basically one cannot run multiple build targets from the command line without Ant blowing up. test D:\dev\thirdparty\shared\apache-ant-1.7.1beta>ant -version Apache Ant version 1.7.1beta compiled on March 18 2008 D:\dev\thirdparty\shared\apache-ant-1.7.1beta>ant -f antfails.xml init clean Buildfile: antfails.xml init: [echo] test init: BUILD FAILED java.lang.NullPointerException at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfig urable.java:381) at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfig urable.java:349) at org.apache.tools.ant.Task.maybeConfigure(Task.java:202) at org.apache.tools.ant.Task.perform(Task.java:347) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe cutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1189) at org.apache.tools.ant.Main.runBuild(Main.java:758) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) Total time: 0 seconds -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.