Issue Type: Bug Bug
Assignee: Nicolas De Loof
Components: git-client
Created: 23/Apr/14 3:28 PM
Description:

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)
Environment: 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

    
Project: Jenkins
Labels: jgit plugin nullpointer npe
Priority: Major Major
Reporter: Peter Kolínek
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to