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

NullPointerException and threads blocked in the JVM with the Gitlab Merge Requests Builder plugin

XMLWordPrintable

      Dear,

      We are currently using Jenkins 1.596.3 with the Gitlab Merge Requests Builder plugin version 1.2.2.

      If we create a jenkins job which uses this plugin, and if we try to save the configuration of the job, we see a NPE:

      WARNING: org.jenkinsci.plugins.gitlab.GitlabBuildTrigger.run() failed for hudson.model.FreeStyleProject@37d513a0[MY_JOB]
      java.lang.NullPointerException
              at org.jenkinsci.plugins.gitlab.GitlabBuildTrigger.run(GitlabBuildTrigger.java:100)
              at hudson.triggers.Trigger.checkTriggers(Trigger.java:266)
              at hudson.triggers.Trigger$Cron.doRun(Trigger.java:214)
              at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:744)
      

      At the same time, we also see that the thread related to the save of the job gets blocked in the JVM.
      As users try and try again to save the job configuration, we have several threads blocked in the JVM, which has an impact on the stability of our Jenkins instance.

      Could you please investigate ?

      Thanks

            timols Timothy Olshansky
            lvercruysse Ludovic Vercruysse
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: