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

Invoke disconnect() throw NPE #19

Open
GoogleJ opened this issue Sep 19, 2022 · 0 comments
Open

Invoke disconnect() throw NPE #19

GoogleJ opened this issue Sep 19, 2022 · 0 comments

Comments

@GoogleJ
Copy link

GoogleJ commented Sep 19, 2022

I am trying to disconnect the last connection when starting a new one, but it still came out error:
SshPlugin.java:600
java.lang.NullPointerException: Attempt to read from field 'com.jcraft.jsch.ChannelSftp sq.flutter.ssh.SshPlugin$SSHClient._sftpSession' on a null object reference
I want to make sure I disconnect the last connection when I am starting a new one. How do I do it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant