GitHub user nlivens opened a pull request: https://github.com/apache/cloudstack/pull/1585
CLOUDSTACK-9399 : NPE during deletion of host when clusterId is null In most network plugins, there's a Resource class which will handle the communication with the actual device / underlaying client / ... They're configured as a host, so ACS is able to send commands towards it. When they're configured as a host, the clusterId is not filled in since it's not relevant. Hence, the NPE while deleting this host because of ```long clusterId = host.getClusterId();``` You can merge this pull request into a Git repository by running: $ git pull https://github.com/nlivens/cloudstack CLOUDSTACK-9399 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/1585.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 #1585 ---- commit ffe72ca227a518907bca396603a2641e10c5d02d Author: Nick Livens <nick.liv...@nuagenetworks.net> Date: 2016-06-03T09:04:09Z CLOUDSTACK-9399 : NPE during deletion of host when clusterId is null commit a64f0b903e8c421dfef33b1a2c7347548b5f7fa9 Author: Prashanth Manthena <prashanth.manth...@alcatel-lucent.com> Date: 2016-06-03T18:51:25Z CLOUDSTACK-9399 : Marvin test coverage for Nuage VSP device CRUD operations ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---