Merge pull request #1550 from ustcweizhou/CLOUDSTACK-9380-listDomains-NPE CLOUDSTACK-9380: fix NPE in listDomains API for a mistakeThe issue happens if volumeTotal is NULL in database. This is caused by commit 0407fb334f3a79f570217f35636b47076b06d500 for CLOUDSTACK-7847.
* pr/1550: CLOUDSTACK-9380: fix NPE in listDomains API for a mistake Signed-off-by: Will Stevens <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/550aabb3 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/550aabb3 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/550aabb3 Branch: refs/heads/master Commit: 550aabb3082e2df4787ada8904f67b086213db09 Parents: 05a7bec 59edbb5 Author: Will Stevens <[email protected]> Authored: Wed May 25 22:58:45 2016 -0400 Committer: Will Stevens <[email protected]> Committed: Wed May 25 22:58:46 2016 -0400 ---------------------------------------------------------------------- server/src/com/cloud/api/query/dao/DomainJoinDaoImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ----------------------------------------------------------------------
