GitHub user pdube reopened a pull request: https://github.com/apache/cloudstack/pull/1820
CLOUDSTACK-9656 Preventing autoboxing NPE in Usage by setting a default role when not found https://issues.apache.org/jira/browse/CLOUDSTACK-9656 This is a workaround to avoid NPE when using the usage server with Projects To reproduce bug: Create project Add account to project Create VM within that project Run the usage server Same steps to test resolution You can merge this pull request into a Git repository by running: $ git pull https://github.com/pdube/cloudstack CLOUDSTACK-9656-usage-exception Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/1820.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1820 ---- commit b7ac7fd2a3eddbe66c36a83b80ae6be303c01bc4 Author: Patrick Dube <pd...@cloudops.com> Date: 2016-12-07T19:39:28Z Preventing autoboxing NPE by setting a default role when not found ---- --- 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. ---