Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 65314 invoked from network); 15 Aug 2007 09:56:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Aug 2007 09:56:44 -0000 Received: (qmail 52915 invoked by uid 500); 15 Aug 2007 09:56:42 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 52891 invoked by uid 500); 15 Aug 2007 09:56:42 -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 52882 invoked by uid 99); 15 Aug 2007 09:56:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 02:56:42 -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 (athena.apache.org: local policy) Received: from [141.146.126.228] (HELO agminet01.oracle.com) (141.146.126.228) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 09:56:39 +0000 Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l7F9uGLU030507 for ; Wed, 15 Aug 2007 04:56:17 -0500 Received: from [10.167.192.132] (ukp79344.uk.oracle.com [10.167.192.132]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id l7F9uE35020743 for ; Wed, 15 Aug 2007 03:56:15 -0600 Message-ID: <46C2CD21.5060004@oracle.com> Date: Wed, 15 Aug 2007 10:53:37 +0100 From: Ross Clewley User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: ivy-user@incubator.apache.org Subject: NPE whilst resolving transitive configurations. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAA== X-Whitelist: TRUE X-Whitelist: TRUE X-Virus-Checked: Checked by ClamAV on apache.org Hi I need some help sorting out a NullPointerException that I'm getting during resolution. The stack looks like this. java.lang.NullPointerException at fr.jayasoft.ivy.IvyNode.isEvicted(IvyNode.java:367) at fr.jayasoft.ivy.IvyNode.loadData(IvyNode.java:590) at fr.jayasoft.ivy.Ivy.fetchDependencies(Ivy.java:1417) at fr.jayasoft.ivy.Ivy.fetchDependencies(Ivy.java:1443) at fr.jayasoft.ivy.Ivy.doFetchDependencies(Ivy.java:1492) at fr.jayasoft.ivy.Ivy.fetchDependencies(Ivy.java:1424) at fr.jayasoft.ivy.Ivy.doFetchDependencies(Ivy.java:1492) at fr.jayasoft.ivy.Ivy.fetchDependencies(Ivy.java:1424) at fr.jayasoft.ivy.Ivy.doFetchDependencies(Ivy.java:1492) at fr.jayasoft.ivy.Ivy.fetchDependencies(Ivy.java:1433) at fr.jayasoft.ivy.Ivy.doFetchDependencies(Ivy.java:1476) at fr.jayasoft.ivy.Ivy.fetchDependencies(Ivy.java:1424) at fr.jayasoft.ivy.Ivy.getDependencies(Ivy.java:1343) at fr.jayasoft.ivy.Ivy.resolve(Ivy.java:1136) at fr.jayasoft.ivy.Ivy.resolve(Ivy.java:1093) at fr.jayasoft.ivy.ant.IvyResolve.execute(IvyResolve.java:167) I'd like to be able to figure out a minimal testcase to reproduce this so I can log a Jira issue and also hopefully work around it. The trouble is I'm having problems figuring out what that minimal testcase is. The problem occurs with certain sets of dependencies and can go away again when those dependencies are changed, or even when the dependencies are re-ordered. I'm hoping someone may be able to give me some pointers about what to look at to help nail this down a bit more firmly. The problem occurs whilst resolving transitive configurations. We have a build systems comprising 170 or so modules, each of which have the following configurations These modules declare dependencies amongst themselves or third party dependencies in their own filesystem repository with Ivy files that just have the default conf. Incase it's relevant the defaultconfmapping used throughout is "compile->default(*);*->@(*)". It's when resolving the transitive runtime of test configurations that the NPE occurs. It's difficult for me to give you a selection of the modules and their dependencies that cause the problem as there would be too many. That is why I want to try to understand the issue better and produce that minimal testcase. Any ideas? thanks Ross