You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/10/19 18:10:00 UTC

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

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

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

  was:
Avoid NPEs in the class {{org.apache.logging.log4j.core.config.AbstractConfiguration}} for null arguments 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.


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