You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2016/09/20 19:19:21 UTC

[jira] [Updated] (LOG4J2-1601) NPE due to org.apache.logging.log4j.core.layout.ScriptPatternSelector.createSelector(AbstractScript, PatternMatch[], String, boolean, boolean, Configuration)

     [ https://issues.apache.org/jira/browse/LOG4J2-1601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Gregory updated LOG4J2-1601:
---------------------------------
    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.

  was: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)}}.


> 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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org