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

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

    XMLWordPrintableJSON

Details

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

    Description

      NPE due to org.apache.logging.log4j.core.layout.ScriptPatternSelector.createSelector(AbstractScript, PatternMatch[], String, boolean, boolean, Configuration) if PatternMatch[] is null in org.apache.logging.log4j.core.layout.ScriptPatternSelector.ScriptPatternSelector(AbstractScript, 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: