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

NPE during Gitlab notification on Job start

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • gitlab-plugin
    • None
    • Jenkins 2.68
      Gitlab 9.3.5-ee
      gitlab-plugin 1.4.5 vs. 1.4.6

      After updating the pluginĀ from 1.4.5 to 1.4.6 every job fails during the initial Gitlab notification:

      09:21:17 ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com
      09:21:17 java.lang.NullPointerException
      09:21:17 	at com.dabsquared.gitlabjenkins.util.CommitStatusUpdater.retrieveGitlabProjectIds(CommitStatusUpdater.java:120)
      09:21:17 	at com.dabsquared.gitlabjenkins.util.CommitStatusUpdater.updateCommitStatus(CommitStatusUpdater.java:53)
      09:21:17 	at com.dabsquared.gitlabjenkins.publisher.GitLabCommitStatusPublisher.prebuild(GitLabCommitStatusPublisher.java:45)

      After reverting to 1.4.5 everything works again as expected.

      Please let me know if you need further details!

            owenmehegan Owen Mehegan
            swf Yves Schumann
            Votes:
            7 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: