Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 82925 invoked from network); 9 Sep 2008 18:22:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Sep 2008 18:22:39 -0000 Received: (qmail 8624 invoked by uid 500); 9 Sep 2008 18:22:33 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 8344 invoked by uid 500); 9 Sep 2008 18:22:32 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 8333 invoked by uid 99); 9 Sep 2008 18:22:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Sep 2008 11:22:32 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Sep 2008 18:21:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8B7E2234C1D6 for ; Tue, 9 Sep 2008 11:21:44 -0700 (PDT) Message-ID: <1082680166.1220984504570.JavaMail.jira@brutus> Date: Tue, 9 Sep 2008 11:21:44 -0700 (PDT) From: =?utf-8?Q?J=C3=B6rg_Heinicke_=28JIRA=29?= To: dev@cocoon.apache.org Subject: [jira] Updated: (COCOON-2243) NPE when calling ApplicationUtil.isUserInRole In-Reply-To: <250213612.1220958224507.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COCOON-2243?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] J=C3=B6rg Heinicke updated COCOON-2243: ---------------------------------- Affects Version/s: (was: 2.2-dev (Current SVN)) 2.1.11 > NPE when calling ApplicationUtil.isUserInRole > --------------------------------------------- > > Key: COCOON-2243 > URL: https://issues.apache.org/jira/browse/COCOON-2243 > Project: Cocoon > Issue Type: Bug > Components: Blocks: Authentication Framework > Affects Versions: 2.1.11, 2.2 > Reporter: Benjamin Boksa > Assignee: J=C3=B6rg Heinicke > Priority: Minor > Fix For: 2.1.12-dev (Current SVN), 2.2-dev (Current SVN) > > Attachments: ApplicationUtil.java.patch > > > A NullPointerException is thrown when calling ApplicationUtil.isUserInRol= e(final User user, final String role, final Map objectModel) with user =3D= =3D null. The attached patch should fix that issue. Patch was made against = the nightly build (cocoon_20080909041525.tar.gz). > I hope I submitted everything correctly. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.