ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From testn <te...@doramail.com>
Subject Re: NPE from SshCache
Date Fri, 15 Feb 2008 16:28:38 GMT

Done.. IVY-734 (http://issues.apache.org/jira/browse/IVY-734)


Xavier Hanin wrote:
> 
> Indeed, could you open an issue in JIRA to track this down?
> 
> Xavier
> 
> On Wed, Feb 13, 2008 at 10:21 PM, testn <test1@doramail.com> wrote:
> 
>>
>> The problem came from the fact that host name is missing. The error
>> message
>> should be clearer...
>>
>>
>> testn wrote:
>> >
>> > Any idea what I need to do to fix this problem with ivy-2.0.0-beta1.
>> >
>> > Thanks,
>> >
>> > Caused by: java.lang.NullPointerException
>> >         at
>> > org.apache.ivy.plugins.repository.ssh.SshCache.createCacheKey(
>> SshCache.java:184)
>> >         at
>> > org.apache.ivy.plugins.repository.ssh.SshCache.getCacheEntry(
>> SshCache.java:165)
>> >         at
>> > org.apache.ivy.plugins.repository.ssh.SshCache.getSession(SshCache.java
>> :307)
>> >         at
>> >
>> org.apache.ivy.plugins.repository.ssh.AbstractSshBasedRepository.getSession
>> (AbstractSshBasedRepository.java:82)
>> >         at
>> > org.apache.ivy.plugins.repository.sftp.SFTPRepository.getSftpChannel(
>> SFTPRepository.java:223)
>> >         at
>> > org.apache.ivy.plugins.repository.sftp.SFTPRepository.put(
>> SFTPRepository.java:134)
>> >         at
>> > org.apache.ivy.plugins.repository.AbstractRepository.put(
>> AbstractRepository.java:130)
>> >         at
>> > org.apache.ivy.plugins.resolver.RepositoryResolver.put(
>> RepositoryResolver.java:177)
>> >         at
>> > org.apache.ivy.plugins.resolver.RepositoryResolver.publish(
>> RepositoryResolver.java:167)
>> >         at
>> > org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java
>> :242)
>> >         at
>> > org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java
>> :195)
>> >         at
>> > org.apache.ivy.core.install.InstallEngine.install(InstallEngine.java
>> :146)
>> >         at org.apache.ivy.Ivy.install(Ivy.java:511)
>> >         at org.apache.ivy.ant.IvyInstall.doExecute(IvyInstall.java:95)
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/NPE-from-SshCache-tp15466934p15468241.html
>> Sent from the ivy-user mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Xavier Hanin - Independent Java Consultant
> http://xhab.blogspot.com/
> http://ant.apache.org/ivy/
> http://www.xoocode.org/
> 
> 

-- 
View this message in context: http://www.nabble.com/NPE-from-SshCache-tp15466934p15502805.html
Sent from the ivy-user mailing list archive at Nabble.com.


Mime
View raw message