[
https://issues.apache.org/jira/browse/SSHD-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet resolved SSHD-197.
----------------------------------
Resolution: Fixed
Fix Version/s: 0.9.0
Assignee: Guillaume Nodet
Committing to https://svn.apache.org/repos/asf/mina/sshd/trunk ...
M
sshd-core/src/main/java/org/apache/sshd/server/command/ScpCommand.java
M
sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java
Committed r1429800
Thx for the patch !
> 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
> Assignee: Guillaume Nodet
> Priority: Trivial
> Fix For: 0.9.0
>
> 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