NPE in LogbackMDCAdapter

18 Dec
2008
18 Dec
'08
1:06 p.m.
Hi, there is a little NPE when calling setContextMap on a fresch MDC. This could raises a NPE: public static void main(String[] args) { MDC.setContextMap(new HashMap<String, String>()); } Cheers, F.

18 Dec
18 Dec
1:25 p.m.
Thank you François for reporting this bug. It was fixed in the trunk. François Terrier wrote:
Hi,
there is a little NPE when calling setContextMap on a fresch MDC. This could raises a NPE:
public static void main(String[] args) { MDC.setContextMap(new HashMap<String, String>()); }
-- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch
6133
Age (days ago)
6133
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ceki Gulcu
-
François Terrier