Return-Path: Delivered-To: apmail-cocoon-cvs-archive@cocoon.apache.org Received: (qmail 97851 invoked by uid 500); 26 Aug 2003 06:43:10 -0000 Mailing-List: contact cvs-help@cocoon.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@cocoon.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@cocoon.apache.org Received: (qmail 97773 invoked by uid 500); 26 Aug 2003 06:43:07 -0000 Delivered-To: apmail-cocoon-2.1-cvs@apache.org Received: (qmail 97679 invoked from network); 26 Aug 2003 06:43:05 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 26 Aug 2003 06:43:04 -0000 Received: (qmail 73754 invoked by uid 1260); 26 Aug 2003 06:43:32 -0000 Date: 26 Aug 2003 06:43:32 -0000 Message-ID: <20030826064332.73753.qmail@minotaur.apache.org> From: cziegeler@apache.org To: cocoon-2.1-cvs@apache.org Subject: cvs commit: cocoon-2.1/src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/components PipelineAuthenticator.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N cziegeler 2003/08/25 23:43:32 Modified: src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/components PipelineAuthenticator.java Log: Fixing NPE in authentication reported bySonny Sukumar (ahimsadesi@yahoo.com) Revision Changes Path 1.3 +3 -1 cocoon-2.1/src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/components/PipelineAuthenticator.java Index: PipelineAuthenticator.java =================================================================== RCS file: /home/cvs/cocoon-2.1/src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/components/PipelineAuthenticator.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- PipelineAuthenticator.java 4 Aug 2003 03:06:30 -0000 1.2 +++ PipelineAuthenticator.java 26 Aug 2003 06:43:32 -0000 1.3 @@ -280,6 +280,8 @@ if (doc != null) { data = DOMUtil.getFirstNodeFromPath(doc, new String[] {"authentication","data"}, false); + } else { + doc = DOMUtil.createDocument(); } // now create the following xml: