-
Notifications
You must be signed in to change notification settings - Fork 601
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
Endless 'while' loop when making a non existing directory. #442
Comments
Can you check whether the fix from #415 makes a difference? |
Thanks, the fix works! It would be very nice to merge it in the master. |
Could you recommend a workaround at the moment? |
The best workaround would be to build sshj manually with the fix and use that for the time being. It's currently merged so the next release it will be fixed. But before releasing that I want to fix a few other issues. |
Closing this issue as it is solved with latest master. |
The following snippet results in hanging my application:
SFTPClient sftp = sshClient.newSFTPClient();
sftp.mkdirs("/non_existent_dir/another_dir");
Everything works if the path starts with an existing directory.
The cause seems to be in SFTPClient.statExistence(current.getPath())
which returns always 'null' for the case mentioned above.
The text was updated successfully, but these errors were encountered: