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

NullPointerException in ThreadContextDataInjector

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.13.2
    • Fix Version/s: 2.13.3
    • Component/s: Core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: