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)

    Details

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

            • Assignee:
              garydgregory Gary Gregory
              Reporter:
              garydgregory Gary Gregory
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: