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

NullPointerException in ThreadContextDataInjector

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment