Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 30509 invoked from network); 2 Aug 2007 10:40:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Aug 2007 10:40:56 -0000 Received: (qmail 79726 invoked by uid 500); 2 Aug 2007 10:40:56 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 79705 invoked by uid 500); 2 Aug 2007 10:40:56 -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 79696 invoked by uid 99); 2 Aug 2007 10:40:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 03:40:56 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gscokart@gmail.com designates 209.85.146.183 as permitted sender) Received: from [209.85.146.183] (HELO wa-out-1112.google.com) (209.85.146.183) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 10:40:48 +0000 Received: by wa-out-1112.google.com with SMTP id n4so1406798wag for ; Thu, 02 Aug 2007 03:40:28 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hiQnJSb80Rlm4BNWjq1PgTamd8ADeapCEL4jn0zrJ/iUszUIvPBoXeS0uf1w8p/FgKrhq0psqX33SstpEMbsBTbR1egtCvGXWRVbcXGmIQW44jtpFqVEbkg5uJiSeb06/vL+1PzesPQYfeAiZan7YWqmv/kaX2nJU+zgREB58zg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lfIUMo2FuLkVXsiOUx8GRRL7wXKughI19xgnFCNO+3YG0b+Kp8TG1I1f4uqlunEtAkimBqBKGrOcF3TFqPvBovtRWoLwsDuYrKak5L7coMhrR+ryd3ZG8tlMTIjJcZZG9EjLUCP0jltnmRRw42flCmm/VgTHZGxMJ5hESMWi5UQ= Received: by 10.114.171.1 with SMTP id t1mr1689558wae.1186051227791; Thu, 02 Aug 2007 03:40:27 -0700 (PDT) Received: by 10.114.103.16 with HTTP; Thu, 2 Aug 2007 03:40:27 -0700 (PDT) Message-ID: Date: Thu, 2 Aug 2007 12:40:27 +0200 From: "Gilles Scokart" To: ivy-user@incubator.apache.org Subject: Re: NPE in IvyNodeEviction In-Reply-To: <20070802093222.GA14583@much.anyware> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070802093222.GA14583@much.anyware> X-Virus-Checked: Checked by ClamAV on apache.org Jean-Baptiste, Could you put your patch in a jira issue. ezmlm (sory if I mispel its name ;-) eats all the attachment. Thanks a lot , Gilles 2007/8/2, Jean-Baptiste Quenot : > Hi list, > > I got a nasty NPE this morning, both with alpha1 and alpha2: > > ------------------------------------------------------------------------ > [ivy:resolve] all callers are evicted for [ com.theveniceproject.utils | utils-core | 1.0.0 ]: evicting too > > > > Caused by: java.lang.NullPointerException > at org.apache.ivy.core.resolve.IvyNodeEviction$EvictionData.(IvyNodeEviction.java:48) > at org.apache.ivy.core.resolve.IvyNodeEviction.markEvicted(IvyNodeEviction.java:266) > at org.apache.ivy.core.resolve.IvyNode.markEvicted(IvyNode.java:1101) > at org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:523) > at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:236) > at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:194) > at org.apache.ivy.Ivy.resolve(Ivy.java:256) > at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:207) > ... 17 more > ------------------------------------------------------------------------ > > See patch attached to fix the problem. > > Also I wanted to report that running "ant eclipse-ivyde" in ivy > core does not work, because ivysettings.xml does not exist. > Furthermore the Ivy library does not appear correctly in Eclipse, > I had to change it manually. > > I then used "ant eclipse-default" that took a while. I had hard > times figuring out why the console was stopped, just because of > the ant task waiting for confirmation to overwrite the .classpath > file. > > Then there was errors in the IDE telling that jdom.jar and > slide-webdavlib.jar were missing. I had to remove them from the > generated classpath. > > Cheers, > -- > Jean-Baptiste Quenot > aka John Banana Qwerty > http://caraldi.com/jbq/ > > -- Gilles SCOKART