Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-143

MessagePatternConverter throws a NullPointerException if the log message is null

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta3
    • Fix Version/s: 2.0-beta4
    • Component/s: Layouts
    • Labels:
      None

      Description

      If the application does

      logger.debug(msg)

      where the value of msg is null MessagePatternConverter will get a NullPointerException.

        Attachments

          Activity

            People

            • Assignee:
              ralph.goers@dslextreme.com Ralph Goers
              Reporter:
              ralph.goers@dslextreme.com Ralph Goers
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: