Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 45428 invoked from network); 27 Oct 2007 23:58:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Oct 2007 23:58:12 -0000 Received: (qmail 89872 invoked by uid 500); 27 Oct 2007 23:57:59 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 89793 invoked by uid 500); 27 Oct 2007 23:57:58 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 89784 invoked by uid 99); 27 Oct 2007 23:57:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Oct 2007 16:57:58 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Sat, 27 Oct 2007 23:58:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8A09A71424F for ; Sat, 27 Oct 2007 16:57:50 -0700 (PDT) Message-ID: <22373494.1193529470556.JavaMail.jira@brutus> Date: Sat, 27 Oct 2007 16:57:50 -0700 (PDT) From: "Frantisek Jandos (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (LOGGING-115) NPE thrown due to exception message logging MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org NPE thrown due to exception message logging ------------------------------------------- Key: LOGGING-115 URL: https://issues.apache.org/jira/browse/LOGGING-115 Project: Commons Logging Issue Type: Bug Affects Versions: 1.1.0 Environment: Java 1.6u2 on Windows XP Professional Reporter: Frantisek Jandos NullPointerException is thrown in more catch blocks while building a log message. Eg. in class LogFactory there can be found construction Exception.getMessage().trim() (lines 470, 484 and 547) but there is no check for null message which could happen as written in java doc. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.