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 EF548200BD3 for ; Tue, 6 Dec 2016 18:13:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EDF8E160B1B; Tue, 6 Dec 2016 17:13:59 +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 BB536160B17 for ; Tue, 6 Dec 2016 18:13:58 +0100 (CET) Received: (qmail 2005 invoked by uid 500); 6 Dec 2016 17:13:57 -0000 Mailing-List: contact dev-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 dev@cloudstack.apache.org Received: (qmail 1993 invoked by uid 99); 6 Dec 2016 17:13:57 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2016 17:13:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 041F71AB66A for ; Tue, 6 Dec 2016 17:13:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.148 X-Spam-Level: ** X-Spam-Status: No, score=2.148 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id al-wCFVzTLA7 for ; Tue, 6 Dec 2016 17:13:56 +0000 (UTC) Received: from mail-io0-f172.google.com (mail-io0-f172.google.com [209.85.223.172]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 127545F4A7 for ; Tue, 6 Dec 2016 17:13:56 +0000 (UTC) Received: by mail-io0-f172.google.com with SMTP id a124so663840212ioe.2 for ; Tue, 06 Dec 2016 09:13:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=zMCnoM/LcgHMUiV0GMIFxEX8q5P8MLBZACSYFpwHC2I=; b=XvHNtAXFYPzosdU1AM0LZd4jL91Bpd28O8SqP5AFMPlhVmueHQbk2IXyq/zvyiOBBO hmvLLbZV7OIoP3IhXAqrQjVQCYpVF9ghRC7tL+tYdVfXXmyVvqIbZWnmy/Bdjqiw5ZBn +8q48qI5fyk85YDq31myNliW66BR2/2rPRF2YrIsKN9PSKdTmHGyTD6h0S0RnTBMd5Sb s4CdJJXrp6gSwOuUZxGcd+X9B92tNFp7o9uiCdTC3BtfZt7SDeYli5pPUh78idETjdov mzXexrr3O8B1VkqPDVR1/ObbVv2qzOs9jgf681FNB4Nd+XqtSbZ99dy+SZtOgS66oWWU vF4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zMCnoM/LcgHMUiV0GMIFxEX8q5P8MLBZACSYFpwHC2I=; b=QQcfqQk8vec2vZ7CMF8jn0Am4Q9D59CdfpnC+rem3vaCdCvfB1B7F+YUeevFTsSaLy V3arFGqNUo5n49G+3s7CmSSTjFN6otfZmEzD2dLqnsct1Ai9xDO09Ca4rIfgM02sStCx 9ioN/XQk1CywS3AaT/d91F5t0DbGvsFKt6BuLvT3yLpCt5yovliBgjRU4KKoPUtmbjN6 6vCSio+YOcPNfYys/+NW3WQo9OmegSQKSJErkYh0r9K+pFtnz1YYUnG52Saaf7FJde51 U438HCbHMEUVOnCTZLg08wMBkVeSHnNuE0FkN2VKgJ2r6bbBRS1MvkKUJ81XjrE8028B 0SSg== X-Gm-Message-State: AKaTC03hKIo0dMiHbVdniQgW1zHEjUz1z9hRP6Ep4jh489pcd2GumNb+cc+qE8KbStdb1fhVq7kyvBobnwPCgw== X-Received: by 10.107.22.6 with SMTP id 6mr56800242iow.8.1481044434122; Tue, 06 Dec 2016 09:13:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.15.14 with HTTP; Tue, 6 Dec 2016 09:13:23 -0800 (PST) From: Patrick Dube Date: Tue, 6 Dec 2016 12:13:23 -0500 Message-ID: Subject: Usage server development To: dev@cloudstack.apache.org Content-Type: multipart/alternative; boundary=94eb2c05b4ee647c1705430087ef archived-at: Tue, 06 Dec 2016 17:14:00 -0000 --94eb2c05b4ee647c1705430087ef Content-Type: text/plain; charset=UTF-8 Hey all, Since 4.9, usage is broken if you have a project that has resources. Basically, it is an autoboxing NPE because a project account has no role (UsageDaoImpl line 116). I know where to fix it, but I can't find any documentation about running the usage server in a dev setup, so I can't test it. Can someone help me? Thanks, P. --94eb2c05b4ee647c1705430087ef--