Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Done
    • Labels:
      None
    • Sprint:
      Development Sprint 8

      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:

      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
      

        Attachments

          Activity

            People

            • Assignee:
              mohammed Mohammed Davoodi
              Reporter:
              mohammed Mohammed Davoodi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Upwork Job Post

                  Other reporter's issues