Github user rafaelweingartner commented on a diff in the pull request:
https://github.com/apache/cloudstack/pull/780#discussion_r56508756
--- Diff:
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
---
@@ -3026,11 +3031,16 @@ public VmStatsEntry getVmStat(final Connect conn,
final String vmName) throws Li
try {
dm = getDomain(conn, vmName);
--- End diff --
I believe here we can have a null pointer in very specific cases. For
instance, if this code is being executed while a call to destroy the VM that
has the name âvmNameâ; this getDomain would return a null value.
---
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.
---