I ran into a NPE in Ssh2Client.toString() when I enabled logging, set an own logger with LoggerFactory.setInstance(...) and connected to a SSH server.
The NPE happened at the first two log entries where the source is a Ssh2Client.
The first log entry reads "Connecting @:22".
The second log entry reads "Remote identification is SSH-2.0-OpenSSH_7.2".
At this point the Ssh2Client's field "transport" is null which causes the NPE in toString().
I ran into a NPE in Ssh2Client.toString() when I enabled logging, set an own logger with LoggerFactory.setInstance(...) and connected to a SSH server.
The NPE happened at the first two log entries where the source is a Ssh2Client.
The first log entry reads "Connecting @:22".
The second log entry reads "Remote identification is SSH-2.0-OpenSSH_7.2".
At this point the Ssh2Client's field "transport" is null which causes the NPE in toString().