Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cyberduck:ssh] sftp causes NPE #11074

cyberduck opened this issue Jun 17, 2020 · 1 comment

[cyberduck:ssh] sftp causes NPE #11074

cyberduck opened this issue Jun 17, 2020 · 1 comment


Copy link

@cyberduck cyberduck commented Jun 17, 2020

b2c635c created the issue

i'm developing an application using cyberduck libraries

■ i got NPE when i used sftp session.

    at net.schmizz.sshj.sftp.RemoteFile$ReadAheadRemoteFileInputStream.retrieveUnconfirmedRead(
    at net.schmizz.sshj.sftp.RemoteFile$ReadAheadRemoteFileInputStream.available(
    at java.nio.channels.Channels$
    at vavi.nio.file.Util$
    at vavi.nio.file.cyberduck.CyberduckFileSystemDriver$
  • error location is here

  • program entry point is here

  • my env
  +- ch.iterate.ssh:sshj:0:22:14
$ java -version
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)

■ i did

  • update cyberduck version
  +- ch.iterate.ssh:sshj:0:22:15


  • update sshj


but got warning

java.lang.NoSuchMethodError: net.schmizz.sshj.sftp.SFTPEngine.supportsServerExtension(Ljava/lang/String;Ljava/lang/String;)Z
	at ch.cyberduck.core.sftp.SFTPQuotaFeature.isStatVFSOpenSSHSupported(
	at ch.cyberduck.core.sftp.SFTPQuotaFeature.get(
	at vavi.nio.file.cyberduck.CyberduckFileStore.getQuota(
	at vavi.nio.file.cyberduck.CyberduckFileStore.getTotalSpace(
	at net.fusejna.FuseFilesystem._statfs(
	at net.fusejna.StructFuseOperations$26.callback(
	at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at com.sun.jna.CallbackReference$DefaultCallbackProxy.invokeCallback(
	at com.sun.jna.CallbackReference$DefaultCallbackProxy.callback(

■ i want you

  • update cyberduck:ssh's sshj library to 0.29.0 compatible


@cyberduck cyberduck closed this Sep 14, 2020
Copy link
Collaborator Author

@cyberduck cyberduck commented Sep 14, 2020

@dkocher commented

The dependency has since been updated in cc78eb0.


@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant