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