Rémi C. created LOG4J2-2721:
-------------------------------
Summary: Thread crash when parameter is a null value for
StringMapMessage
Key: LOG4J2-2721
URL: https://issues.apache.org/jira/browse/LOG4J2-2721
Project: Log4j 2
Issue Type: Bug
Components: API
Affects Versions: 2.12.1
Reporter: Rémi C.
{{logger.info(markerCLM, new StringMapMessage()
.with("message", "Test message")
.with("event.action", null)
.with("event.category", "General"));}}
This will crash. It is not supposed to happen, but sometimes a parameter can be
null unexpectedly.
StringMapMessage should be "null safe".
--
This message was sent by Atlassian Jira
(v8.3.4#803005)