[ 
https://issues.apache.org/jira/browse/LOGGING-115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simon Kitching closed LOGGING-115.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.1

Thanks very much for the report!

This has now been fixed (r593798), and will be in the 1.1.1 release.
Note that this problem could only occur when diagnostics are enabled.

> 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
>             Fix For: 1.1.1
>
>
> 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.

Reply via email to