Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 21350 invoked from network); 4 Feb 2008 21:24:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Feb 2008 21:24:32 -0000 Received: (qmail 99812 invoked by uid 500); 4 Feb 2008 21:24:24 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 99785 invoked by uid 500); 4 Feb 2008 21:24:24 -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 99772 invoked by uid 99); 4 Feb 2008 21:24:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 13:24:24 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of xavier.hanin@gmail.com designates 64.233.178.249 as permitted sender) Received: from [64.233.178.249] (HELO hs-out-2122.google.com) (64.233.178.249) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 21:23:54 +0000 Received: by hs-out-2122.google.com with SMTP id n78so2295050hsc.12 for ; Mon, 04 Feb 2008 13:24:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=mo7+Hr5G/PkZWR/iZD6nPJHhKaHnqWzJ17zKWAmDRyA=; b=L82hji8mN/PhODMOYfVSIANaMLXPRFMogVSGAipEPSB5zKJeMPHqpvS8aBU42h9UG99e9b4tRJllNL4lpx90K/dhXzx+c4ApMk8ngCP5qqDD8IG2Fp9eEbDrbUwrgZ3apHuJmskJ7KZg8NYkdk+smthY4RTgT/+Z/aZpvCow6WQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=rBBRv5yJ4umINB0Bh0V2vOzuQ6UJMQf9ISQliDyJb9OK0iHmqobuD83MrvnsxnJzbd9TXRDoruFpBGmKvfXJKH+i5R5UXaxaDaKpariDIYXqkwv/cqLk3EZ3bbHH3JFmYId5hRk20fMN3DbylvePYnG3NgtURVgvRdsqKodcsx4= Received: by 10.141.141.3 with SMTP id t3mr5045259rvn.226.1202160239771; Mon, 04 Feb 2008 13:23:59 -0800 (PST) Received: by 10.140.225.10 with HTTP; Mon, 4 Feb 2008 13:23:59 -0800 (PST) Message-ID: <635a05060802041323t2762fb5ev2eb18a762c30e546@mail.gmail.com> Date: Mon, 4 Feb 2008 22:23:59 +0100 From: "Xavier Hanin" To: ivy-user@ant.apache.org Subject: Re: NullPointer with ssh/sftp In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13771_7767455.1202160239774" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_13771_7767455.1202160239774 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Feb 4, 2008 6:21 PM, Neil Lott wrote: > I keep getting the following error when I try to resolve my dependencies. > Does anyone have any suggestions? First, you can open a bug in JIRA, since a NPE like this should at least be avoid to throw a more user friendly exception. To help find the origin of the NPE, please run your build in verbose mode to get the full stack trace. Second, I see many "null" in your logs, maybe you have a resolver with no name? This should raise a clear error, but maybe we have a bug there. Xavier > > > Thanks, > > Neil > > [ivy:retrieve] == resolving dependencies for > atgw#mas-btm;working@flicker.local [interface] > [ivy:retrieve] == resolving dependencies > atgw#mas-btm;working@flicker.local->log4j#log4j;1.2.8 [interface->*] > [ivy:retrieve] tried > /home/maven/repository/log4j/log4j/1.2.8/log4j-1.2.8.pom > [ivy:retrieve] :: SSH :: connecting to 10.143.8.95... > [ivy:retrieve] :: SSH :: connected to 10.143.8.95! > [ivy:retrieve] null: found md file for log4j#log4j;1.2.8 > [ivy:retrieve] => > SshResource:/home/maven/repository/log4j/log4j/1.2.8/log4j-1.2.8.pom(145)] > (1.2.8) > [ivy:retrieve] downloading > SshResource:/home/maven/repository/log4j/log4j/1.2.8/log4j-1.2.8.pom(145)] > .... > [ivy:retrieve] null: downloading > /home/maven/repository/log4j/log4j/1.2.8/log4j-1.2.8.pom > [ivy:retrieve] [SUCCESSFUL ] log4j#log4j;1.2.8!log4j.original.pom > (283ms) > [ivy:retrieve] problem occured while resolving dependency: > log4j#log4j;1.2.8 > {*=[*]} with null: java.lang.NullPointerException > [ivy:retrieve] == resolving dependencies > atgw#mas-btm;working@flicker.local->log4j#log4j;1.2.8 [interface->*] > [ivy:retrieve] == resolving dependencies > atgw#mas-btm;working@flicker.local->jacorb#jacorb;2.2.2 [interface->*] > [ivy:retrieve] tried > /home/maven/repository/jacorb/jacorb/2.2.2/jacorb-2.2.2.pom > [ivy:retrieve] null: found md file for jacorb#jacorb;2.2.2 > [ivy:retrieve] => > SshResource:/home/maven/repository/jacorb/jacorb/2.2.2/jacorb-2.2.2.pom > (186)] (2.2.2) > [ivy:retrieve] downloading > SshResource:/home/maven/repository/jacorb/jacorb/2.2.2/jacorb-2.2.2.pom > (186)] ... > [ivy:retrieve] null: downloading > /home/maven/repository/jacorb/jacorb/2.2.2/jacorb-2.2.2.pom > [ivy:retrieve] [SUCCESSFUL ] jacorb#jacorb;2.2.2!jacorb.original.pom > (271ms) > [ivy:retrieve] problem occured while resolving dependency: > jacorb#jacorb;2.2.2 {*=[*]} with null: java.lang.NullPointerException > > .... > > [ivy:retrieve] :: problems summary :: > [ivy:retrieve] :::: WARNINGS > [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:retrieve] :: UNRESOLVED DEPENDENCIES :: > [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:retrieve] :: jacorb#jacorb;2.2.2: > java.lang.NullPointerException at > java.util.Hashtable.put(Hashtable.java:396) > [ivy:retrieve] :: log4j#log4j;1.2.8: > java.lang.NullPointerException > at java.util.Hashtable.put(Hashtable.java:396) > [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:retrieve] > [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS > [ivy:retrieve] :: SSH :: closing ssh connection from 10.143.8.95... > [ivy:retrieve] :: SSH :: ssh connection closed from 10.143.8.95 > > > > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/ ------=_Part_13771_7767455.1202160239774--