cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luis Henrique Okama" <lok...@gmail.com>
Subject Re: Review Request 24571: Bugfix CS-7309: Null pointer in usage records listing
Date Tue, 12 Aug 2014 16:32:28 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24571/
-----------------------------------------------------------

(Updated Aug. 12, 2014, 4:32 p.m.)


Review request for cloudstack.


Changes
-------

As suggested by Rajani Karuturi, using findProjectByProjectAccountIdIncludingRemoved instead
of findProjectByProjectAccountId.


Bugs: https://issues.apache.org/jira/browse/CLOUDSTACK-7309
    https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-7309


Repository: cloudstack-git


Description
-------

When listing usage records for running VMs and project to which this VM belonged was removed,
a Null Pointer Exception happens at the time of building an usage response.

Included a verification to see if the project is null.

https://issues.apache.org/jira/browse/CLOUDSTACK-7309


Diffs (updated)
-----

  server/src/com/cloud/api/ApiResponseHelper.java 7718fc1 

Diff: https://reviews.apache.org/r/24571/diff/


Testing
-------

Using API, i got a list of instances successfully.


Thanks,

Luis Henrique Okama


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message