Skip to content

Invoke disconnect() throw NPE #19

@GoogleJ

Description

@GoogleJ

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions