Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2838

NullPointerException in ThreadContextDataInjector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.13.2
    • 2.13.3
    • Core
    • None

    Description

      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.

      Attachments

        Activity

          People

            rgoers Ralph Goers
            rgoers Ralph Goers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: