Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 76F78200BD5 for ; Thu, 8 Dec 2016 19:58:02 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 75A7E160B0A; Thu, 8 Dec 2016 18:58:02 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BF996160B1F for ; Thu, 8 Dec 2016 19:58:01 +0100 (CET) Received: (qmail 90410 invoked by uid 500); 8 Dec 2016 18:57:59 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 90136 invoked by uid 500); 8 Dec 2016 18:57:59 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 90079 invoked by uid 99); 8 Dec 2016 18:57:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2016 18:57:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5E0E62C03F6 for ; Thu, 8 Dec 2016 18:57:59 +0000 (UTC) Date: Thu, 8 Dec 2016 18:57:59 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9656) Usage does not gather if you have a project with usage MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 08 Dec 2016 18:58:02 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15733086#comment-15733086 ] ASF subversion and git services commented on CLOUDSTACK-9656: ------------------------------------------------------------- Commit 227c088d77b50722c64d449a3ff72deb277388b8 in cloudstack's branch refs/heads/master from [~rohit.yadav@shapeblue.com] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=227c088 ] Merge pull request #1820 from pdube/CLOUDSTACK-9656-usage-exception CLOUDSTACK-9656 Preventing autoboxing NPE in Usage by setting a default role when not foundhttps://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 * pr/1820: CLOUDSTACK-9656: Preventing autoboxing NPE in Usage by setting a default role when not found Signed-off-by: Rohit Yadav > Usage does not gather if you have a project with usage > ------------------------------------------------------ > > Key: CLOUDSTACK-9656 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9656 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Reporter: Patrick D. > Assignee: Patrick D. > Priority: Blocker > > It hits a NPE in the Usage Job and cannot continue -- This message was sent by Atlassian JIRA (v6.3.4#6332)