Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.3.0
-
Security Level: Public (Anyone can view this level - this is the default.)
-
None
-
linux
Description
The listUsageRecords API command, pulls down the list of usage records in the cloud_usage database and augments records with information pulled from the cloud database.
When dealing with instance records, only instances which are do not have a value for the removed field are considered. Unfortunately, since the output of _entityMgr.findById is not checked this means that Null Pointer Exceptions are generated when trying to access the output for expunged VMs.
The attached patch fixes the issue and applies a similar fix for other similar cases.
Attachments
Attachments
Issue Links
- duplicates
-
CLOUDSTACK-6651 Include resource UUId in usage events
- Resolved