[
https://issues.apache.org/jira/browse/SSHD-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Nagy updated SSHD-197:
----------------------------
Attachment: apache_sshd_ioexception.patch
this patch fixes it in the two places I've encountered
> IOExceptions thrown from SshFile can cause NPE
> ----------------------------------------------
>
> Key: SSHD-197
> URL: https://issues.apache.org/jira/browse/SSHD-197
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 0.7.0, 0.8.0
> Reporter: Peter Nagy
> Priority: Trivial
> Attachments: apache_sshd_ioexception.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> if you create an exception without message, then getMessage() returns null.
> There are a few places where we catch an IOException, and then use the
> message without checking for null-ness
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira