[JIRA] (JENKINS-17198) Caused by: org.eclipse.jgit.api.errors.CheckoutConflictException: Checkout conflict with files

2013-03-18 Thread takayuki.okaz...@gmail.com (JIRA)














































Takayuki Okazaki
 commented on  JENKINS-17198


Caused by: org.eclipse.jgit.api.errors.CheckoutConflictException: Checkout conflict with files















In our environment, this workaround doesn't solve this issue.


-Dorg.jenkinsci.plugins.gitclient.Git.useCLI=true


However, we solved with combination below, which described at http://mrkn.hatenablog.com/entry/2013/03/18/225556 (Japanese).


	Git Plugin : 1.3.0
	Git Client Plugin : 1.0.3





























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-17198) Caused by: org.eclipse.jgit.api.errors.CheckoutConflictException: Checkout conflict with files

2013-03-18 Thread takayuki.okaz...@gmail.com (JIRA)














































Takayuki Okazaki
 commented on  JENKINS-17198


Caused by: org.eclipse.jgit.api.errors.CheckoutConflictException: Checkout conflict with files















Ah, That's make sense. Thanks



























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-17013) Git plugin fails with NPE (Jenkins 1.502, 1.503)

2013-02-28 Thread takayuki.okaz...@gmail.com (JIRA)














































Takayuki Okazaki
 created  JENKINS-17013


Git plugin fails with NPE (Jenkins 1.502, 1.503)















Issue Type:


Bug



Assignee:


Nicolas De Loof



Components:


git



Created:


01/Mar/13 7:11 AM



Description:


Git plugin fails with NPE after upgrade to Jenkins 1.502 / Git Plugin 1.2.0.
This could not be solved by upgrading to 1.503.


Started by user 
Building remotely on  in workspace 
Checkout: /  - hudson.remoting.Channel@d5ba3a:
Using strategy: Default
FATAL: null
java.lang.NullPointerException
	at hudson.plugins.git.GitSCM.getGitExe(GitSCM.java:839)
	at hudson.plugins.git.GitSCM.getGitExe(GitSCM.java:829)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1100)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1342)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:683)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:588)
	at hudson.model.Run.execute(Run.java:1567)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:237)


I tried with older versions of git plugin:



Git Plugin version
Cause
Code


1.2.0
NPE
GitSCM.java:839


1.1.29
IllegalAccessError
GitSCM.java:940


1.1.27
ClassCastException
GitSCM.java:1370


1.1.26
NPE
GitSCM.java:875


1.1.25
NPE
GitSCM.java:867


1.1.24
NPE
GitSCM.java:871


1.1.23
NPE
GitSCM.java:993


1.1.22
NPE
GitSCM.java:935



https://github.com/jenkinsci/git-plugin/blob/git-1.2.0/src/main/java/hudson/plugins/git/GitSCM.java#L839

I'm not yet tried to attach any debugger, but it looks like Jenkins returns no git tool installations to the plugin.
Configuration seems correct, at least same setting with previous Jenkins 1.498 / git plugin 1.1.25.


?xml version='1.0' encoding='UTF-8'?
hudson.plugins.git.GitTool_-DescriptorImpl plugin="git-client@1.0.3"
  installations class="hudson.plugins.git.GitTool-array"
hudson.plugins.git.GitTool
  nameDefault/name
  home/usr/bin/git/home
/hudson.plugins.git.GitTool
  /installations
/hudson.plugins.git.GitTool_-DescriptorImpl





Environment:


Debian




Project:


Jenkins



Labels:


plugin
git




Priority:


Major



Reporter:


Takayuki Okazaki

























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-17013) Git plugin fails with NPE (Jenkins 1.502, 1.503)

2013-02-28 Thread takayuki.okaz...@gmail.com (JIRA)














































Takayuki Okazaki
 updated  JENKINS-17013


Git plugin fails with NPE (Jenkins 1.502, 1.503)
















Change By:


Takayuki Okazaki
(01/Mar/13 7:12 AM)




Description:


GitpluginfailswithNPEafterupgradetoJenkins1.502/GitPlugin1.2.0.Thiscouldnotbesolvedbyupgradingto1.503.{code}StartedbyuserBuildingremotelyoninworkspaceCheckout:/-hudson.remoting.Channel@d5ba3a:Usingstrategy:DefaultFATAL:nulljava.lang.NullPointerException	athudson.plugins.git.GitSCM.getGitExe(GitSCM.java:839)	athudson.plugins.git.GitSCM.getGitExe(GitSCM.java:829)	athudson.plugins.git.GitSCM.checkout(GitSCM.java:1100)	athudson.model.AbstractProject.checkout(AbstractProject.java:1342)	athudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:683)	atjenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)	athudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:588)	athudson.model.Run.execute(Run.java:1567)	athudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)	athudson.model.ResourceController.execute(ResourceController.java:88)	athudson.model.Executor.run(Executor.java:237){code}Itriedwitholderversionsofgitplugin:||GitPluginversion||Cause||Code|||1.2.0|NPE|GitSCM.java:839||1.1.29|IllegalAccessError|GitSCM.java:940||1.1.27|ClassCastException|GitSCM.java:1370||1.1.26|NPE|GitSCM.java:875||1.1.25|NPE|GitSCM.java:867||1.1.24|NPE|GitSCM.java:871||1.1.23|NPE|GitSCM.java:993||1.1.22|NPE|GitSCM.java:935|https://github.com/jenkinsci/git-plugin/blob/git-1.2.0/src/main/java/hudson/plugins/git/GitSCM.java#L839Imnotyettriedtoattachanydebugger,butitlookslikeJenkinsreturnsnogittoolinstallationstotheplugin.Configurationseemscorrect,atleastsamesetting
worked
withpreviousJenkins1.498/gitplugin1.1.25.{code}?xmlversion=1.0encoding=UTF-8?hudson.plugins.git.GitTool_-DescriptorImplplugin=git-client@1.0.3installationsclass=hudson.plugins.git.GitTool-arrayhudson.plugins.git.GitToolnameDefault/namehome/usr/bin/git/home/hudson.plugins.git.GitTool/installations/hudson.plugins.git.GitTool_-DescriptorImpl{code}



























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.