[
https://issues.apache.org/jira/browse/LOG4J2-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Gregory closed LOG4J2-2481.
--------------------------------
Resolution: Fixed
In git master and release-2.x.
> Avoid NullPointerExceptions in
> org.apache.logging.log4j.core.config.AbstractConfiguration for null arguments
> to appenders
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: LOG4J2-2481
> URL: https://issues.apache.org/jira/browse/LOG4J2-2481
> Project: Log4j 2
> Issue Type: Bug
> Components: Core
> Reporter: Gary Gregory
> Assignee: Gary Gregory
> Priority: Major
> Fix For: 3.0.0, 2.11.2
>
>
> Avoid NPEs in the class
> {{org.apache.logging.log4j.core.config.AbstractConfiguration}} for null
> arguments to {{appenders}} which uses {{ConcurrentHashMap}} which in turn
> throws {{NullPointerException}} for null keys and values.
> I have edge cases where null trickles down into these Log4j APIs.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)