[ 
https://issues.apache.org/jira/browse/LOG4J2-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16657238#comment-16657238
 ] 

ASF subversion and git services commented on LOG4J2-2481:
---------------------------------------------------------

Commit 8c8657e9d36a9302afbbe2ea3451e88411b0087c in logging-log4j2's branch 
refs/heads/release-2.x from [~garydgregory]
[ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=8c8657e ]

[LOG4J2-2481] Avoid NullPointerExceptions in
org.apache.logging.log4j.core.config.AbstractConfiguration for null
arguments to appenders.

> 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)

Reply via email to