Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 84802 invoked from network); 27 Mar 2008 12:55:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Mar 2008 12:55:56 -0000 Received: (qmail 30799 invoked by uid 500); 27 Mar 2008 12:55:55 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 30773 invoked by uid 500); 27 Mar 2008 12:55:55 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 30764 invoked by uid 99); 27 Mar 2008 12:55:55 -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 05:55:55 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rbuck@verisign.com designates 216.168.239.74 as permitted sender) Received: from [216.168.239.74] (HELO peregrine.verisign.com) (216.168.239.74) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2008 12:55:06 +0000 Received: from dul1wnexcn03.vcorp.ad.vrsn.com (dul1wnexcn03.vcorp.ad.vrsn.com [10.170.12.113]) by peregrine.verisign.com (8.13.6/8.13.4) with ESMTP id m2RCiQwD017915 for ; Thu, 27 Mar 2008 07:44:26 -0500 Received: from DUL1WNEXMB05.vcorp.ad.vrsn.com ([10.170.12.240]) by dul1wnexcn03.vcorp.ad.vrsn.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 27 Mar 2008 12:55:25 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Ant NPE caused by IVY Date: Thu, 27 Mar 2008 08:55:44 -0400 Message-ID: In-Reply-To: <258107.39635.qm@web30802.mail.mud.yahoo.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Ant NPE caused by IVY Thread-Index: AciQCGZHk51XYeBJRLWjqSjErDpfoQAAXUAg References: <258107.39635.qm@web30802.mail.mud.yahoo.com> From: "Buck, Robert" To: X-OriginalArrivalTime: 27 Mar 2008 12:55:25.0456 (UTC) FILETIME=[D3527100:01C89009] X-Virus-Checked: Checked by ClamAV on apache.org Same NPE.=20 -----Original Message----- From: Maarten Coene [mailto:maarten_coene@yahoo.com]=20 Sent: Thursday, March 27, 2008 8:45 AM To: ivy-user@ant.apache.org Subject: Re: Ant NPE caused by IVY And what happens if you add a loaderRef attribute to your taskdef? Maarten ----- Original Message ---- From: "Buck, Robert" To: ivy-user@ant.apache.org Sent: Thursday, March 27, 2008 12:33:23 PM Subject: RE: Ant NPE caused by IVY Yes, I tried changing the settings id and it did not help at all. I also tried changing the override property with no effect. Thanks=20 -----Original Message----- From: Maarten Coene [mailto:maarten_coene@yahoo.com] Sent: Thursday, March 27, 2008 4:09 AM To: ivy-user@ant.apache.org Subject: Re: Ant NPE caused by IVY Seems like a bug to me, could you create a new issue in JIRA? https://issues.apache.org/jira/browse/IVY Just a guess, but maybe you can workaround this NPE by using another settings id instead of "ivy.instance"? thanks, Maarten ----- Original Message ---- From: "Buck, Robert" To: "Buck, Robert" ; ivy-user@ant.apache.org Sent: Thursday, March 27, 2008 4:25:22 AM Subject: RE: Ant NPE caused by IVY This even simpler file fails even when you call "ant init clean". =20 =20 ________________________________ From: Buck, Robert Sent: Wednesday, March 26, 2008 11:18 PM To: ivy-user@ant.apache.org Subject: Ant NPE caused by IVY Hi, =20 Put these files into the ivy directory and call "ant clean dist", and blammo! The sample files below are the simplest implementations of these files to produce the NPE. BUILD FAILED D:\dev\rbuck\sandboxes\smq-msgbus-dev\releng\vendor\ivy\build.xml:9: java.lang.NullPointerException at org.apache.tools.ant.Task.perform(Task.java:357) 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:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut or.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.apache.tools.ant.Main.runBuild(Main.java:698) at org.apache.tools.ant.Main.startAnt(Main.java:199) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) Caused by: java.lang.NullPointerException at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigura ble.java:381) at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigura ble.java:349) at org.apache.tools.ant.Task.maybeConfigure(Task.java:202) at org.apache.tools.ant.Task.perform(Task.java:347) ... 10 more --- Nested Exception --- java.lang.NullPointerException at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigura ble.java:381) at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigura ble.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:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut or.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.apache.tools.ant.Main.runBuild(Main.java:698) at org.apache.tools.ant.Main.startAnt(Main.java:199) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) =20 Total time: 0 seconds =20 Any reasonable workaround appreciated. =20 This is with Beta2, AND with the latest checked out source code. =20 Thanks in advance, =20 Bob =20 =3D=3D=3D=3D=3D=3D=3D=3Dbuild.xml=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3Divysettings.xml=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =20 =20 ________________________________________________________________________ ____________ Be a better friend, newshound, and=20 know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=3DAhu06i62sR8HDtDypao8Wcj9tAcJ =20 ________________________________________________________________________ ____________ Be a better friend, newshound, and=20 know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=3DAhu06i62sR8HDtDypao8Wcj9tAcJ