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

Prevent potential NPE due to org.apache.logging.log4j.core.layout.MarkerPatternSelector.createSelector(PatternMatch[], String, boolean, boolean, Configuration)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.2
    • 2.7
    • Core
    • None

    Description

      NPE in org.apache.logging.log4j.core.layout.MarkerPatternSelector.createSelector(PatternMatch[], String, boolean, boolean, Configuration)

      If PatternMatch[] is null, you'll get an NPE in org.apache.logging.log4j.core.layout.MarkerPatternSelector.MarkerPatternSelector(PatternMatch[], String, boolean, boolean, Configuration).

      Reported by FindBugs.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: