Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 52488 invoked from network); 3 Jan 2007 10:43:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jan 2007 10:43:49 -0000 Received: (qmail 40042 invoked by uid 500); 3 Jan 2007 10:43:55 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 39958 invoked by uid 500); 3 Jan 2007 10:43:55 -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 39947 invoked by uid 99); 3 Jan 2007 10:43:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jan 2007 02:43:55 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jan 2007 02:43:47 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8219D7142B5 for ; Wed, 3 Jan 2007 02:43:27 -0800 (PST) Message-ID: <9425392.1167821007514.JavaMail.jira@brutus> Date: Wed, 3 Jan 2007 02:43:27 -0800 (PST) From: "Rob Berens (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Updated: (COCOON-1976) [PATCH] NPE in POI ElementProcessorSerializer for characters between startDocument and first StartElement In-Reply-To: <1999945.1167820887639.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COCOON-1976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rob Berens updated COCOON-1976: ------------------------------- Attachment: patch.txt > [PATCH] NPE in POI ElementProcessorSerializer for characters between startDocument and first StartElement > --------------------------------------------------------------------------------------------------------- > > Key: COCOON-1976 > URL: https://issues.apache.org/jira/browse/COCOON-1976 > Project: Cocoon > Issue Type: Bug > Components: Blocks: POI > Affects Versions: 2.1.9, 2.1.10, 2.1.11-dev (current SVN), 2.2-dev (Current SVN) > Reporter: Rob Berens > Attachments: patch.txt > > > When there are characters (white space) outside elements e.g. between the startDocument() and the first startElement the ElementProcessorSerializer thorws an NPE. This especially occurs in combination with the JXTemplateGenerator, which generates a call to the consumer's contentHandler characters method for the white space between the startDocument() and the first StartElement. > This issue is solved by the attached patch.txt -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira