We're updating the issue view to help you get more done. 

MDC warnings

Description

Theres a lot of MDC warnings being thrown in a few logs we've gotten from customers. We should look into why they're happening.

More information:
https://github.com/mohamicorp/stash-jenkins-postreceive-webhook/pull/196

Related logs:

1 2 3 4 5 6 7 8 9 10 11 12 2018-04-10 11:51:01,255 WARN [JenkinsWebhook:thread-16] *1J5ZMDKx710x187023x0 1shoj3l 172.20.2.75,10.1.2.46 "POST /projects/MDOW/repos/c2-web-common/pull-requests HTTP/1.0" c.n.s.webhook.notifier.NotifierChain can not set MDC context java.lang.NullPointerException: null at java.util.HashMap.putMapEntries(HashMap.java:501) at java.util.HashMap.putAll(HashMap.java:785) at java.util.Collections$SynchronizedMap.putAll(Collections.java:2594) at ch.qos.logback.classic.util.LogbackMDCAdapter.setContextMap(LogbackMDCAdapter.java:197) at org.slf4j.MDC.setContextMap(MDC.java:264) at com.nerdwin15.stash.webhook.notifier.NotifierChain.lambda$notifyBackground$0(NotifierChain.java:77) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.lang.Thread.run(Thread.java:748) ... 1 frame trimmed

Environment

None

Status

Assignee

Mohammed Davoodi

Reporter

Mohammed Davoodi

Labels

None

Github URL

None

Sprint

None

Priority

Low