Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 68667 invoked from network); 17 Oct 2006 18:35:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Oct 2006 18:35:33 -0000 Received: (qmail 12947 invoked by uid 500); 17 Oct 2006 18:35:29 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 12871 invoked by uid 500); 17 Oct 2006 18:35:29 -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 12810 invoked by uid 99); 17 Oct 2006 18:35:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Oct 2006 11:35:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Oct 2006 11:35:28 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EB0AF7142DD for ; Tue, 17 Oct 2006 11:34:36 -0700 (PDT) Message-ID: <15954180.1161110076959.JavaMail.jira@brutus> Date: Tue, 17 Oct 2006 11:34:36 -0700 (PDT) From: "Alexander Klimetschek (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Created: (COCOON-1935) [Patch] NPE in ResourceReader when InputSource returns null on getURI 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 [Patch] NPE in ResourceReader when InputSource returns null on getURI --------------------------------------------------------------------- Key: COCOON-1935 URL: http://issues.apache.org/jira/browse/COCOON-1935 Project: Cocoon Issue Type: Bug Components: * Cocoon Core, - Blocks Framework Affects Versions: 2.2-dev (Current SVN) Reporter: Alexander Klimetschek Priority: Critical The ResourceReader crashes on a NPE when the InputSource returns a null String in getURI() while checking the cache and the lastmodified value. The problem was very invisible because the exception was completely hidden due to reflection when calling the ResourceReader from the pipeline. Problem was triggered by the BlockSource, which falsely returns a null systemId in getURI(). To solve the problem there are two ways, both included as patches: fix the ResourceReader and fix the BlockSource. -- 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