-
Bug
-
Resolution: Fixed
-
Major
-
Jenkins 1.631
-
-
4.5.0
I have configured a job to verify Gerrit changes, but it fails with NPE. Here's the log:
Triggered by Gerrit: http://jerry:3881/104 Building in workspace /var/lib/tomcat/.jenkins/workspace/gerrit-sdm-backend Cloning the remote Git repository Cloning repository http://jerry:3881/sdm/sdm-backend > git init /var/lib/tomcat/.jenkins/workspace/gerrit-sdm-backend # timeout=10 Fetching upstream changes from http://jerry:3881/sdm/sdm-backend > git --version # timeout=10 > git -c core.askpass=true fetch --tags --progress http://jerry:3881/sdm/sdm-backend +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url http://jerry:3881/sdm/sdm-backend # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url http://jerry:3881/sdm/sdm-backend # timeout=10 Fetching upstream changes from http://jerry:3881/sdm/sdm-backend > git -c core.askpass=true fetch --tags --progress http://jerry:3881/sdm/sdm-backend refs/changes/04/104/3 > git rev-parse 14428cdafcdc87c4f6b3fdd87ad1344d3cd8be33^{commit} # timeout=10 Checking out Revision 14428cdafcdc87c4f6b3fdd87ad1344d3cd8be33 () > git config core.sparsecheckout # timeout=10 > git checkout -f 14428cdafcdc87c4f6b3fdd87ad1344d3cd8be33 FATAL: null java.lang.NullPointerException at java.util.TreeMap.compare(TreeMap.java:1188) at java.util.TreeMap.put(TreeMap.java:531) at hudson.util.CopyOnWriteMap.put(CopyOnWriteMap.java:104) at hudson.plugins.git.GitTagAction.<init>(GitTagAction.java:44) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1066) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1277) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) at hudson.model.Run.execute(Run.java:1741) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Finished: FAILURE
git version 2.5.3
- duplicates
-
JENKINS-35259 FATAL: null - Gerrit trigger
- Resolved