Github user swill commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/780#discussion_r56506811
  
    --- Diff: 
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
 ---
    @@ -3115,6 +3125,9 @@ public VmStatsEntry getVmStat(final Connect conn, 
final String vmName) throws Li
                 newStat._bytesRead = bytes_rd;
                 newStat._bytesWrote = bytes_wr;
                 newStat._timestamp = now;
    +            newStat._intmemfree = mems[0].getValue();
    --- End diff --
    
    Is this guaranteed to have a result?  This looks like it is prime to 
introduce a Null Pointer Exception...


---
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.
---

Reply via email to