Uploaded image for project: 'Commons Logging'
  1. Commons Logging
  2. LOGGING-115

NPE thrown due to exception message logging

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.1.1
    • None
    • Java 1.6u2 on Windows XP Professional

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yandosh Frantisek Jandos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: