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

Avoid NullPointerExceptions in org.apache.logging.log4j.core.config.AbstractConfiguration for null arguments to appenders

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 2.11.2
    • Core
    • None

    Description

      Avoid NPEs in the class org.apache.logging.log4j.core.config.AbstractConfiguration for null arguments to appenders which uses ConcurrentHashMap which in turn throws NullPointerException for null keys and values.

      I have edge cases where null trickles down into these Log4j APIs.

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: