GitHub user CMoH opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/757
Fix SshMachineLocation unable to connect
Details in commit message.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/CMoH/incubator-brooklyn bug_ssh_port_null
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/757.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #757
----
commit 29da8c723fc90d192e67c26c538abe34a2d7c51a
Author: Ciprian Ciubotariu <[email protected]>
Date: 2015-07-17T15:41:32Z
Fix SshMachineLocation unable to connect without port setting
ShellAbstractTool.getOptionalVal is unable to coerce null to integer
type, throwing NullPointerException. This manifests as
SshMachineLocation being unable to connect to any host that has no
explicit port setting.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---