Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 63309 invoked from network); 8 Feb 2006 13:30:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Feb 2006 13:30:27 -0000 Received: (qmail 28679 invoked by uid 500); 8 Feb 2006 13:30:23 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 28533 invoked by uid 500); 8 Feb 2006 13:30:22 -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 28473 invoked by uid 99); 8 Feb 2006 13:30:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2006 05:30:21 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 28CEEDF for ; Wed, 8 Feb 2006 14:30:00 +0100 (CET) Message-ID: <1820780487.1139405400165.JavaMail.jira@ajax.apache.org> Date: Wed, 8 Feb 2006 14:30:00 +0100 (CET) From: "Antonio Fiol (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Updated: (COCOON-1772) [PATCH] AuthenticationContext: NullPointerException In-Reply-To: <556591874.1139405397969.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/COCOON-1772?page=all ] Antonio Fiol updated COCOON-1772: --------------------------------- Attachment: AuthenticationContext.java.patch I was not asked for the license grant when creating the issue, so I repost the attachment with it. > [PATCH] AuthenticationContext: NullPointerException > --------------------------------------------------- > > Key: COCOON-1772 > URL: http://issues.apache.org/jira/browse/COCOON-1772 > Project: Cocoon > Type: Bug > Components: Blocks: Authentication Framework > Versions: 2.1.8 > Reporter: Antonio Fiol > Attachments: AuthenticationContext.java.patch, AuthenticationContext.java.patch > > We got a NullPointerException on AuthenticationContext. > Apparently, this.getState() is returning null. > We did not investigate it any further, and supposed that a null RequestState means a null applicationName, which is reasonable as we have no "application" configured. > Patched, and it works perfectly here. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira