java.lang.NullPointerException

Jenkins JIRA | Claudio B | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Using the git tag message plugin I receive a NullPointerException: {code}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) {code} 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.

    Jenkins JIRA | 2 years ago | Claudio B
    java.lang.NullPointerException
  2. 0

    Using the git tag message plugin I receive a NullPointerException: {code}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) {code} 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.

    Jenkins JIRA | 2 years ago | Claudio B
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getTagMessage()
    2. org.jenkinsci.plugins
      CliGitAPIImpl.getTagMessage
      1. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getTagMessage(CliGitAPIImpl.java:2261)
      1 frame
    3. Hudson GIT plugin
      GitAPI.getTagMessage
      1. hudson.plugins.git.GitAPI.getTagMessage(GitAPI.java:108)
      1 frame
    4. org.jenkinsci.plugins
      GitTagMessageExtension.onCheckoutCompleted
      1. org.jenkinsci.plugins.gittagmessage.GitTagMessageExtension.onCheckoutCompleted(GitTagMessageExtension.java:56)
      1 frame
    5. hudson.plugins.git
      GitSCMExtension.onCheckoutCompleted
      1. hudson.plugins.git.extensions.GitSCMExtension.onCheckoutCompleted(GitSCMExtension.java:161)
      1 frame
    6. Hudson GIT plugin
      GitSCM.checkout
      1. hudson.plugins.git.GitSCM.checkout(GitSCM.java:1047)
      1 frame
    7. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.scm.SCM.checkout(SCM.java:484)
      2. hudson.model.AbstractProject.checkout(AbstractProject.java:1270)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
      3 frames
    8. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      1 frame
    9. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531)
      2. hudson.model.Run.execute(Run.java:1718)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      4. hudson.model.ResourceController.execute(ResourceController.java:89)
      5. hudson.model.Executor.run(Executor.java:240)
      5 frames