Log4j 2
  1. Log4j 2
  2. LOG4J2-143

MessagePatternConverter throws a NullPointerException if the log message is null

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

        Activity

        Hide
        Ralph Goers added a comment -

        MessagePatternConverter now returns "null".

        Show
        Ralph Goers added a comment - MessagePatternConverter now returns "null".

          People

          • Assignee:
            Ralph Goers
            Reporter:
            Ralph Goers
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development