NPE when known host file is empty
---------------------------------
Key: WAGON-91
URL: http://jira.codehaus.org/browse/WAGON-91
Project: wagon
Issue Type: Bug
Components: wagon-ssh
Affects Versions: 1.0-beta-2
Environment: xp, linux
Reporter: Dan Tran
There is an issue where HostKeyRepository hkr = sch.getHostKeyRepository();
return null due to empty known host file or when using NullKnownHostProvider.
AbstractJschWagon should check for null which means no host key to process
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira