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

NPE with Git Tag Message Plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • git-tag-message-plugin
    • None
    • Jenkins 1.598
      Git Tag Message Plugin 1.2

      Using the git tag message plugin I receive a NullPointerException:

      Checking out Revision 7f63eea9111ef89bb3c6b109a779430f9a7d800a (refs/remotes/origin/develop)
       > git config core.sparsecheckout # timeout=10
       > git checkout -f 7f63eea9111ef89bb3c6b109a779430f9a7d800a
       > git rev-list 56152421d2b22ced24473646e131d1c63414089c # timeout=10
       > git describe --tags 7f63eea9111ef89bb3c6b109a779430f9a7d800a # timeout=10
       > git tag -l -n10000 # timeout=10
      FATAL: null
      java.lang.NullPointerException
      	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getTagMessage(CliGitAPIImpl.java:2261)
      	at hudson.plugins.git.GitAPI.getTagMessage(GitAPI.java:108)
      	at org.jenkinsci.plugins.gittagmessage.GitTagMessageExtension.onCheckoutCompleted(GitTagMessageExtension.java:56)
      	at hudson.plugins.git.extensions.GitSCMExtension.onCheckoutCompleted(GitSCMExtension.java:161)
      	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1047)
      	at hudson.scm.SCM.checkout(SCM.java:484)
      	at hudson.model.AbstractProject.checkout(AbstractProject.java:1270)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
      	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531)
      	at hudson.model.Run.execute(Run.java:1718)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:89)
      	at hudson.model.Executor.run(Executor.java:240)
      

      Note: There was no gti-tag-message-plugin component, so I attached this issue to the git-plugin but assigned the issue to orrc. Sorry for any grief this might cause, please re-assign without further ado.

            orrc Christopher Orr
            jenkey Claudio B
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: