[
https://issues.apache.org/jira/browse/LOG4J2-1601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Gregory closed LOG4J2-1601.
--------------------------------
Resolution: Fixed
> Prevent potential NPE due to
> org.apache.logging.log4j.core.layout.ScriptPatternSelector.createSelector(AbstractScript,
> PatternMatch[], String, boolean, boolean, Configuration)
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: LOG4J2-1601
> URL: https://issues.apache.org/jira/browse/LOG4J2-1601
> Project: Log4j 2
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.6.2
> Reporter: Gary Gregory
> Assignee: Gary Gregory
> Fix For: 2.7
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]