You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (Jira)" <ji...@apache.org> on 2020/05/10 17:30:00 UTC

[jira] [Created] (LOG4J2-2838) NullPointerException in ThreadContextDataInjector

Ralph Goers created LOG4J2-2838:
-----------------------------------

             Summary: NullPointerException in ThreadContextDataInjector
                 Key: LOG4J2-2838
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2838
             Project: Log4j 2
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.13.2
            Reporter: Ralph Goers
            Assignee: Ralph Goers


The ContextDataProvider interface was added in Log4j 2.13.2. Unfortunately, support for it has a bug where it tries to determine the number of properties passed to the injectContextData method. If the properties object is null a NullPointerException occurs.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)