{"action":"created","issue":{"url":"https://api.github.com/repos/apache/cloudstack/issues/1585","repository_url":"https://api.github.com/repos/apache/cloudstack","labels_url":"https://api.github.com/repos/apache/cloudstack/issues/1585/labels{/name}","comments_url":"https://api.github.com/repos/apache/cloudstack/issues/1585/comments","events_url":"https://api.github.com/repos/apache/cloudstack/issues/1585/events","html_url":"https://github.com/apache/cloudstack/pull/1585","id":159088636,"number":1585,"title":"CLOUDSTACK-9399 : NPE during deletion of host when clusterId is null","user":{"login":"nlivens","id":3336539,"avatar_url":"https://avatars.githubusercontent.com/u/3336539?v=3","gravatar_id":"","url":"https://api.github.com/users/nlivens","html_url":"https://github.com/nlivens","followers_url":"https://api.github.com/users/nlivens/followers","following_url":"https://api.github.com/users/nlivens/following{/other_user}","gists_url":"https://api.github.com/users/nlivens/gists{/gist_id}","starred_url":"https://api.github.com/users/nlivens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlivens/subscriptions","organizations_url":"https://api.github.com/users/nlivens/orgs","repos_url":"https://api.github.com/users/nlivens/repos","events_url":"https://api.github.com/users/nlivens/events{/privacy}","received_events_url":"https://api.github.com/users/nlivens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-06-08T06:27:57Z","updated_at":"2016-06-10T17:57:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/cloudstack/pulls/1585","html_url":"https://github.com/apache/cloudstack/pull/1585","diff_url":"https://github.com/apache/cloudstack/pull/1585.diff","patch_url":"https://github.com/apache/cloudstack/pull/1585.patch"},"body":"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. \r\n\r\nWhen 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();```"},"comment":{"url":"https://api.github.com/repos/apache/cloudstack/issues/comments/225251703","html_url":"https://github.com/apache/cloudstack/pull/1585#issuecomment-225251703","issue_url":"https://api.github.com/repos/apache/cloudstack/issues/1585","id":225251703,"user":{"login":"swill","id":13644,"avatar_url":"https://avatars.githubusercontent.com/u/13644?v=3","gravatar_id":"","url":"https://api.github.com/users/swill","html_url":"https://github.com/swill","followers_url":"https://api.github.com/users/swill/followers","following_url":"https://api.github.com/users/swill/following{/other_user}","gists_url":"https://api.github.com/users/swill/gists{/gist_id}","starred_url":"https://api.github.com/users/swill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swill/subscriptions","organizations_url":"https://api.github.com/users/swill/orgs","repos_url":"https://api.github.com/users/swill/repos","events_url":"https://api.github.com/users/swill/events{/privacy}","received_events_url":"https://api.github.com/users/swill/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T17:57:04Z","updated_at":"2016-06-10T17:57:04Z","body":"It is easier for you to just close and reopen, so that is usually the method people use.  You can force push as well, either work..."}}
{"actor":{"display_login":"swill"}}