commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frantisek Jandos (JIRA)" <>
Subject [jira] Created: (LOGGING-115) NPE thrown due to exception message logging
Date Sat, 27 Oct 2007 23:57:50 GMT
NPE thrown due to exception message logging

                 Key: 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.

View raw message