Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 41149 invoked from network); 2 Aug 2007 11:04:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Aug 2007 11:04:35 -0000 Received: (qmail 13216 invoked by uid 500); 2 Aug 2007 11:04:34 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 13199 invoked by uid 500); 2 Aug 2007 11:04:34 -0000 Mailing-List: contact ivy-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@incubator.apache.org Delivered-To: mailing list ivy-user@incubator.apache.org Received: (qmail 13190 invoked by uid 99); 2 Aug 2007 11:04:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 04:04:34 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [68.142.201.141] (HELO web30815.mail.mud.yahoo.com) (68.142.201.141) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 02 Aug 2007 11:04:04 +0000 Received: (qmail 81760 invoked by uid 60001); 2 Aug 2007 11:04:03 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=bB/XmrQ1cxSae08ZMMYwsgXkAJBdsv/ln+6rrUUB3Ig8A2gVG0brtnkfjjZDxa8Khu+gO07MLKLWreKJWs0+nw4Eo7D5sfOr2UNPWHkCXNOqy0+Y1eLgWQxufbrrkh6lZ1JjPbdI7w21E3MbSZyE/eIXFxzegRQXYVMsKgjntXA=; X-YMail-OSG: e5uqLPcVM1nAM1HW95kOhMDtoMuaTQJxofPJfqi1.KqvgZRaRB_oxbfVeoIL0O6Kjf3imIwbPLm2lvCphp2k7csYtJBPISIWwzzuAXBWT1B1W6AgbhE0siiIqRb8zA-- Received: from [209.191.119.123] by web30815.mail.mud.yahoo.com via HTTP; Thu, 02 Aug 2007 04:04:03 PDT X-Mailer: YahooMailRC/651.47 YahooMailWebService/0.7.119 Date: Thu, 2 Aug 2007 04:04:03 -0700 (PDT) From: Maarten Coene Subject: Re: NPE in IvyNodeEviction To: ivy-user@incubator.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-ID: <882038.81489.qm@web30815.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org There is already a JIRA issue with patch for this one...=0A(I can't lookup = the issue number right now)=0A=0Aregards,=0AMaarten=0A=0A----- Original Mes= sage ----=0AFrom: Gilles Scokart =0ATo: ivy-user@incuba= tor.apache.org=0ASent: Thursday, August 2, 2007 12:40:27 PM=0ASubject: Re: = NPE in IvyNodeEviction=0A=0AJean-Baptiste, Could you put your patch in a j= ira issue. ezmlm (sory=0Aif I mispel its name ;-) eats all the attachment.= =0A=0AThanks a lot ,=0AGilles=0A=0A2007/8/2, Jean-Baptiste Quenot :=0A> Hi list,=0A>=0A> I got a nasty NPE this morning, both with alp= ha1 and alpha2:=0A>=0A> ---------------------------------------------------= ---------------------=0A> [ivy:resolve] all callers are evicted for [ com.t= heveniceproject.utils | utils-core | 1.0.0 ]: evicting too=0A>=0A> = =0A>=0A> Caused by: java.lang.NullPointerException=0A> at org.apach= e.ivy.core.resolve.IvyNodeEviction$EvictionData.(IvyNodeEviction.java= :48)=0A> at org.apache.ivy.core.resolve.IvyNodeEviction.markEvicted= (IvyNodeEviction.java:266)=0A> at org.apache.ivy.core.resolve.IvyNo= de.markEvicted(IvyNode.java:1101)=0A> at org.apache.ivy.core.resolv= e.ResolveEngine.getDependencies(ResolveEngine.java:523)=0A> at org.= apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:236)=0A> = at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.j= ava:194)=0A> at org.apache.ivy.Ivy.resolve(Ivy.java:256)=0A> = at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:207)=0A> = ... 17 more=0A> --------------------------------------------------------= ----------------=0A>=0A> See patch attached to fix the problem.=0A>=0A> Als= o I wanted to report that running "ant eclipse-ivyde" in ivy=0A> core does = not work, because ivysettings.xml does not exist.=0A> Furthermore the Ivy l= ibrary does not appear correctly in Eclipse,=0A> I had to change it manuall= y.=0A>=0A> I then used "ant eclipse-default" that took a while. I had hard= =0A> times figuring out why the console was stopped, just because of=0A> th= e ant task waiting for confirmation to overwrite the .classpath=0A> file.= =0A>=0A> Then there was errors in the IDE telling that jdom.jar and=0A> sli= de-webdavlib.jar were missing. I had to remove them from the=0A> generated= classpath.=0A>=0A> Cheers,=0A> --=0A> Jean-Baptiste Quenot=0A> aka J= ohn Banana Qwerty=0A> http://caraldi.com/jbq/=0A>=0A>=0A=0A=0A-- =0AGille= s SCOKART=0A=0A=0A=0A=0A=0A =0A______________________________________= ______________________________________________Ready for the edge of your se= at? =0ACheck out tonight's top picks on Yahoo! TV. =0Ahttp://tv.yahoo.com/