ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <xavier.ha...@gmail.com>
Subject Re: NullPointer with ssh/sftp
Date Mon, 04 Feb 2008 21:23:59 GMT
On Feb 4, 2008 6:21 PM, Neil Lott <neilmatthewlott@yahoo.com> 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/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message