Nikita Tolstunov created VFS-780:
------------------------------------

             Summary: SftpFileSystem returns null channel and produce NPE
                 Key: VFS-780
                 URL: https://issues.apache.org/jira/browse/VFS-780
             Project: Commons VFS
          Issue Type: Bug
    Affects Versions: 2.6.0, 2.4
            Reporter: Nikita Tolstunov


I caught NPE in case of parallel operations with files:
Caused by: java.lang.NullPointerException
        at 
org.apache.commons.vfs2.provider.sftp.SftpFileSystem.putChannel(SftpFileSystem.java:183)
        at 
org.apache.commons.vfs2.provider.sftp.SftpFileObject.doRename(SftpFileObject.java:215)
        at 
org.apache.commons.vfs2.provider.AbstractFileObject.moveTo(AbstractFileObject.java:1668)

After short investigation I see issue in SftpFileSystem#getChannel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to