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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 2.11.2
    • Component/s: Core
    • Labels:
      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

            • Assignee:
              ggregory Gary Gregory
              Reporter:
              ggregory Gary Gregory
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: