Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 19582 invoked from network); 5 Oct 2004 13:51:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 5 Oct 2004 13:51:13 -0000 Received: (qmail 90911 invoked by uid 500); 5 Oct 2004 13:51:09 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 90726 invoked by uid 500); 5 Oct 2004 13:51:06 -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 Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 90710 invoked by uid 99); 5 Oct 2004 13:51:06 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 05 Oct 2004 06:51:05 -0700 Received: (qmail 20056 invoked by uid 50); 5 Oct 2004 13:53:01 -0000 Date: 5 Oct 2004 13:53:01 -0000 Message-ID: <20041005135301.20055.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@cocoon.apache.org Cc: Subject: DO NOT REPLY [Bug 31545] New: - [PATCH] Serializers: NPE in constructor of CharSetFactory X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=31545 [PATCH] Serializers: NPE in constructor of CharSetFactory Summary: [PATCH] Serializers: NPE in constructor of CharSetFactory Product: Cocoon 2 Version: 2.1 Platform: All OS/Version: All Status: NEW Severity: Minor Priority: Other Component: blocks AssignedTo: dev@cocoon.apache.org ReportedBy: johan@hippo.nl If the charsets are not on the class path a NPE will be thrown during the initialization of the CharSetFactory. This patch checks for a null value of the URL and throws a more specific exception if the URL is null.