-
Bug
-
Resolution: Not A Defect
-
Major
-
Jenkins ver. 1.532.3 Master on RHEL x64
Jenkins Slave node via JNLP start on Windows 7 x64
Jenkins GIT client plugin 1.8.0
Jenkins GIT plugin 2.2.1
Hi,
jGit NPE during check out of branch name set as */master
Fetching changes from the remote Git repository Checking out Revision 5fb16a411385dc6496705703081c3e1c3f830d13 (origin/master) FATAL: null java.lang.NullPointerException at org.eclipse.jgit.api.CheckoutCommand.getShortBranchName(CheckoutCommand.java:323) at org.eclipse.jgit.api.CheckoutCommand.call(CheckoutCommand.java:223) at org.jenkinsci.plugins.gitclient.JGitAPIImpl.doCheckout(JGitAPIImpl.java:215) at org.jenkinsci.plugins.gitclient.JGitAPIImpl.access$100(JGitAPIImpl.java:97) at org.jenkinsci.plugins.gitclient.JGitAPIImpl$1.execute(JGitAPIImpl.java:200) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at hudson.remoting.Engine$1$1.run(Engine.java:63) at java.lang.Thread.run(Thread.java:722)