[logback-user] NPE in LogbackMDCAdapter

Ceki Gulcu ceki at qos.ch
Thu Dec 18 14:25:21 CET 2008


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


More information about the Logback-user mailing list