Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48483

Webhook stopped work for one repository

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.89.1 / bitbucket-branch-source-plugin ver. 2.2.3 (also checked 2.2.7)
    • Similar Issues:

      Description

      A few weeks ago webhooks stopped trigger build for one project. In Jenkins logs I see only this exception:

      Dec 11, 2017 1:53:37 PM jenkins.scm.api.SCMHeadEvent$DispatcherImpl log 
      Dec 11, 2017 1:53:37 PM WARNING: SCMEventListener.onSCMHeadEvent(SCMHeadEvent) jenkins.branch.MultiBranchProject$SCMEventListenerImpl@685907be propagated an exception
      Dec 11, 2017 1:53:37 PM java.lang.NullPointerException
      at com.cloudbees.jenkins.plugins.bitbucket.hooks.PushHookProcessor$1.heads(PushHookProcessor.java:163)
      at jenkins.scm.api.SCMHeadEvent.isMatch(SCMHeadEvent.java:138)
      at jenkins.branch.MultiBranchProject$SCMEventListenerImpl.processHeadUpdate(MultiBranchProject.java:1392)
      at jenkins.branch.MultiBranchProject$SCMEventListenerImpl.onSCMHeadEvent(MultiBranchProject.java:1170)
      at jenkins.scm.api.SCMHeadEvent$DispatcherImpl.fire(SCMHeadEvent.java:247)
      at jenkins.scm.api.SCMHeadEvent$DispatcherImpl.fire(SCMHeadEvent.java:230)
      at jenkins.scm.api.SCMEvent$Dispatcher.run(SCMEvent.java:481)
      at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:58)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
      
      

      How to enable, maybe, some debugging for this plugin?
      I don't sure if it related, but request body for this webhooks now >1100574 bytes and it is much more then for other our projects.

        Attachments

          Activity

          Hide
          dsudduth Derek Sudduth added a comment -

          Dmytro Kozlovskyi I happened across your bug.  I'm seeing the exact same issue for all of my webhooks.  The only reason I'm building at the moment is that the project scanning.

          Show
          dsudduth Derek Sudduth added a comment - Dmytro Kozlovskyi I happened across your bug.  I'm seeing the exact same issue for all of my webhooks.  The only reason I'm building at the moment is that the project scanning.

            People

            • Assignee:
              Unassigned
              Reporter:
              argus_k Dmytro Kozlovskyi
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: