Github user koushik-das commented on the pull request: https://github.com/apache/cloudstack/pull/222#issuecomment-98374391 @DaanHoogland It is not only to prevent NPE but also to go to the next item in the list when the status cannot be determined. Think of it like this - status cannot be determined using the current host, so move to the next one in the list immediately without any further processing.
--- 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. ---