commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Ivankovits (JIRA)" <>
Subject [jira] Commented: (VFS-113) NullPointerException during getting InputStream from SftpFileObject
Date Wed, 04 Jul 2007 13:14:04 GMT


Mario Ivankovits commented on VFS-113:


this is your real exception:

Caused by: com.jcraft.jsch.JSchException: Session.connect: Connection
refused: connect
at com.jcraft.jsch.Session.connect(Unknown Source)
at com.jcraft.jsch.Session.connect(Unknown Source)
at org.apache.commons.vfs.provider.sftp.SftpClientFactory.createConnection(

It looks like some sort of network configuration problem, could you try to enable debugging
of your ssh daemon.

In case you use OpenSSH, as far as I know you have to have the configuration option "PasswordAuthentication"
set to yes to make the jsch library work.

> NullPointerException during getting InputStream from SftpFileObject
> -------------------------------------------------------------------
>                 Key: VFS-113
>                 URL:
>             Project: Commons VFS
>          Issue Type: Bug
>            Reporter: Tim Rademacher
>             Fix For: 1.1
>         Attachments: SftpFileObject.diff
> Hi, 
> I experienced unregular NullPointerExceptions while getting an InputStream from an SftpFileObject.
It only occures in a multithreading environment.
> I made a patch. By now it seems to work!
> Regards,
> Tim

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message