ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nat (JIRA)" <>
Subject [jira] Created: (IVY-734) SFTP should verify input parameter for hostname
Date Thu, 14 Feb 2008 15:25:11 GMT
SFTP should verify input parameter for hostname

                 Key: IVY-734
             Project: Ivy
          Issue Type: Improvement
          Components: Core
    Affects Versions: 2.0.0-beta-1
            Reporter: Nat
             Fix For: 2.0.0-beta-2

SFTP resolver doesn't have proper check when hostname missing from both url and hostname.
If it's not specified in both places, the following exception will be thrown

Caused by: java.lang.NullPointerException 
        at org.apache.ivy.plugins.repository.ssh.SshCache.createCacheKey(

        at org.apache.ivy.plugins.repository.ssh.SshCache.getCacheEntry(

        at org.apache.ivy.plugins.repository.ssh.SshCache.getSession( 
        at org.apache.ivy.plugins.repository.ssh.AbstractSshBasedRepository.getSession(

        at org.apache.ivy.plugins.repository.sftp.SFTPRepository.getSftpChannel(

        at org.apache.ivy.plugins.repository.sftp.SFTPRepository.put(

        at org.apache.ivy.plugins.repository.AbstractRepository.put(

        at org.apache.ivy.plugins.resolver.RepositoryResolver.put(

        at org.apache.ivy.plugins.resolver.RepositoryResolver.publish(

        at org.apache.ivy.core.publish.PublishEngine.publish( 
        at org.apache.ivy.core.publish.PublishEngine.publish( 
        at org.apache.ivy.core.install.InstallEngine.install( 
        at org.apache.ivy.Ivy.install( 
        at org.apache.ivy.ant.IvyInstall.doExecute(

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message