hudson.plugins.git.GitException: Could not clone git@github.com:PvM_Iain/BitzCommands.git

Jenkins JIRA | Iain Banks | 4 years ago
  1. 0

    When I try to build a build and get it to fetch from github I get this error Started by user Iain Building in workspace /var/lib/jenkins/workspace/BitzCommands Checkout:BitzCommands / /var/lib/jenkins/workspace/BitzCommands - hudson.remoting.LocalChannel@55f9bcfa Using strategy: Default Cloning the remote Git repository Cloning repository origin Error trying to determine the git version: Error performing command: --version Assuming 1.6 ERROR: Error cloning remote repo 'origin' : Could not clone git@github.com:PvM_Iain/BitzCommands.git hudson.plugins.git.GitException: Could not clone git@github.com:PvM_Iain/BitzCommands.git at hudson.plugins.git.GitAPI.clone(GitAPI.java:268) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1122) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1064) at hudson.FilePath.act(FilePath.java:842) at hudson.FilePath.act(FilePath.java:824) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1064) at hudson.model.AbstractProject.checkout(AbstractProject.java:1256) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494) at hudson.model.Run.execute(Run.java:1502) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: hudson.plugins.git.GitException: Error performing command: clone -o origin git@github.com:PvM_Iain/BitzCommands.git /var/lib/jenkins/workspace/BitzCommands at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:862) at hudson.plugins.git.GitAPI.access$000(GitAPI.java:40) at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:264) at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:244) at hudson.FilePath.act(FilePath.java:842) at hudson.FilePath.act(FilePath.java:824) at hudson.plugins.git.GitAPI.clone(GitAPI.java:244) ... 13 more Caused by: java.lang.NullPointerException at hudson.Launcher.printCommandLine(Launcher.java:592) at hudson.Launcher.maskedPrintCommandLine(Launcher.java:614) at hudson.Launcher$LocalLauncher.launch(Launcher.java:700) at hudson.Launcher$ProcStarter.start(Launcher.java:338) at hudson.Launcher$ProcStarter.join(Launcher.java:345) at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:843) ... 19 more Trying next repository ERROR: Could not clone repository FATAL: Could not clone hudson.plugins.git.GitException: Could not clone at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1134) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1064) at hudson.FilePath.act(FilePath.java:842) at hudson.FilePath.act(FilePath.java:824) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1064) at hudson.model.AbstractProject.checkout(AbstractProject.java:1256) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494) at hudson.model.Run.execute(Run.java:1502) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) I'm new to Jenkins and don't know to set it up properly.

    Jenkins JIRA | 4 years ago | Iain Banks
    hudson.plugins.git.GitException: Could not clone git@github.com:PvM_Iain/BitzCommands.git
  2. 0

    When I try to build a build and get it to fetch from github I get this error Started by user Iain Building in workspace /var/lib/jenkins/workspace/BitzCommands Checkout:BitzCommands / /var/lib/jenkins/workspace/BitzCommands - hudson.remoting.LocalChannel@55f9bcfa Using strategy: Default Cloning the remote Git repository Cloning repository origin Error trying to determine the git version: Error performing command: --version Assuming 1.6 ERROR: Error cloning remote repo 'origin' : Could not clone git@github.com:PvM_Iain/BitzCommands.git hudson.plugins.git.GitException: Could not clone git@github.com:PvM_Iain/BitzCommands.git at hudson.plugins.git.GitAPI.clone(GitAPI.java:268) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1122) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1064) at hudson.FilePath.act(FilePath.java:842) at hudson.FilePath.act(FilePath.java:824) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1064) at hudson.model.AbstractProject.checkout(AbstractProject.java:1256) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494) at hudson.model.Run.execute(Run.java:1502) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: hudson.plugins.git.GitException: Error performing command: clone -o origin git@github.com:PvM_Iain/BitzCommands.git /var/lib/jenkins/workspace/BitzCommands at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:862) at hudson.plugins.git.GitAPI.access$000(GitAPI.java:40) at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:264) at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:244) at hudson.FilePath.act(FilePath.java:842) at hudson.FilePath.act(FilePath.java:824) at hudson.plugins.git.GitAPI.clone(GitAPI.java:244) ... 13 more Caused by: java.lang.NullPointerException at hudson.Launcher.printCommandLine(Launcher.java:592) at hudson.Launcher.maskedPrintCommandLine(Launcher.java:614) at hudson.Launcher$LocalLauncher.launch(Launcher.java:700) at hudson.Launcher$ProcStarter.start(Launcher.java:338) at hudson.Launcher$ProcStarter.join(Launcher.java:345) at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:843) ... 19 more Trying next repository ERROR: Could not clone repository FATAL: Could not clone hudson.plugins.git.GitException: Could not clone at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1134) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1064) at hudson.FilePath.act(FilePath.java:842) at hudson.FilePath.act(FilePath.java:824) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1064) at hudson.model.AbstractProject.checkout(AbstractProject.java:1256) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494) at hudson.model.Run.execute(Run.java:1502) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) I'm new to Jenkins and don't know to set it up properly.

    Jenkins JIRA | 4 years ago | Iain Banks
    hudson.plugins.git.GitException: Could not clone git@github.com:PvM_Iain/BitzCommands.git
  3. 0

    Suddenly, the git plugin stopped to work. It issues the following error message: {{Error trying to determine the git version: Error performing command: --version}} Full stack trace: {code:none} ERROR: Error cloning remote repo 'origin' : Could not clone ssh://<URL> hudson.plugins.git.GitException: Could not clone ssh://<URL> at hudson.plugins.git.GitAPI.clone(GitAPI.java:273) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1044) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:986) at hudson.FilePath.act(FilePath.java:865) at hudson.FilePath.act(FilePath.java:838) at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:986) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1142) at hudson.model.AbstractProject.checkout(AbstractProject.java:1331) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587) at hudson.model.Run.execute(Run.java:1557) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: hudson.plugins.git.GitException: Error performing command: clone -o origin ssh://<URL> /var/lib/jenkins/jobs/<project>/workspace at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:904) at hudson.plugins.git.GitAPI.access$000(GitAPI.java:42) at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:269) at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:248) at hudson.FilePath.act(FilePath.java:865) at hudson.FilePath.act(FilePath.java:838) at hudson.plugins.git.GitAPI.clone(GitAPI.java:248) ... 14 more Caused by: java.lang.NullPointerException at hudson.Launcher.printCommandLine(Launcher.java:607) at hudson.Launcher.maskedPrintCommandLine(Launcher.java:629) at hudson.Launcher$LocalLauncher.launch(Launcher.java:754) at hudson.Launcher$ProcStarter.start(Launcher.java:353) at hudson.Launcher$ProcStarter.join(Launcher.java:360) at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:885) ... 20 more Trying next repository ERROR: Could not clone repository FATAL: Could not clone hudson.plugins.git.GitException: Could not clone at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1056) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:986) at hudson.FilePath.act(FilePath.java:865) at hudson.FilePath.act(FilePath.java:838) at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:986) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1142) at hudson.model.AbstractProject.checkout(AbstractProject.java:1331) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587) at hudson.model.Run.execute(Run.java:1557) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) {code} As system user jenkins (which runs Jenkins) I am perfectly able to run that command: {code:none} $ git --version git version 1.7.9.5 {code} Cloning worked before, but all of a sudden the above error occurs. I tried both to specify the full path to the git executable ({{/usr/bin/git}}) and to specify the name of the executable only (without path: {{git}}). However, without success.

    Jenkins JIRA | 4 years ago | Martin Burger
    hudson.plugins.git.GitException: Could not clone ssh://<URL>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Suddenly, the git plugin stopped to work. It issues the following error message: {{Error trying to determine the git version: Error performing command: --version}} Full stack trace: {code:none} ERROR: Error cloning remote repo 'origin' : Could not clone ssh://<URL> hudson.plugins.git.GitException: Could not clone ssh://<URL> at hudson.plugins.git.GitAPI.clone(GitAPI.java:273) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1044) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:986) at hudson.FilePath.act(FilePath.java:865) at hudson.FilePath.act(FilePath.java:838) at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:986) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1142) at hudson.model.AbstractProject.checkout(AbstractProject.java:1331) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587) at hudson.model.Run.execute(Run.java:1557) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: hudson.plugins.git.GitException: Error performing command: clone -o origin ssh://<URL> /var/lib/jenkins/jobs/<project>/workspace at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:904) at hudson.plugins.git.GitAPI.access$000(GitAPI.java:42) at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:269) at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:248) at hudson.FilePath.act(FilePath.java:865) at hudson.FilePath.act(FilePath.java:838) at hudson.plugins.git.GitAPI.clone(GitAPI.java:248) ... 14 more Caused by: java.lang.NullPointerException at hudson.Launcher.printCommandLine(Launcher.java:607) at hudson.Launcher.maskedPrintCommandLine(Launcher.java:629) at hudson.Launcher$LocalLauncher.launch(Launcher.java:754) at hudson.Launcher$ProcStarter.start(Launcher.java:353) at hudson.Launcher$ProcStarter.join(Launcher.java:360) at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:885) ... 20 more Trying next repository ERROR: Could not clone repository FATAL: Could not clone hudson.plugins.git.GitException: Could not clone at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1056) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:986) at hudson.FilePath.act(FilePath.java:865) at hudson.FilePath.act(FilePath.java:838) at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:986) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1142) at hudson.model.AbstractProject.checkout(AbstractProject.java:1331) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587) at hudson.model.Run.execute(Run.java:1557) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) {code} As system user jenkins (which runs Jenkins) I am perfectly able to run that command: {code:none} $ git --version git version 1.7.9.5 {code} Cloning worked before, but all of a sudden the above error occurs. I tried both to specify the full path to the git executable ({{/usr/bin/git}}) and to specify the name of the executable only (without path: {{git}}). However, without success.

    Jenkins JIRA | 4 years ago | Martin Burger
    hudson.plugins.git.GitException: Could not clone ssh://<URL>
  6. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    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 hudson.Launcher.printCommandLine()
    2. Hudson
      Launcher$ProcStarter.join
      1. hudson.Launcher.printCommandLine(Launcher.java:592)
      2. hudson.Launcher.maskedPrintCommandLine(Launcher.java:614)
      3. hudson.Launcher$LocalLauncher.launch(Launcher.java:700)
      4. hudson.Launcher$ProcStarter.start(Launcher.java:338)
      5. hudson.Launcher$ProcStarter.join(Launcher.java:345)
      5 frames
    3. Hudson GIT plugin
      GitAPI$1.invoke
      1. hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:843)
      2. hudson.plugins.git.GitAPI.access$000(GitAPI.java:40)
      3. hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:264)
      4. hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:244)
      4 frames
    4. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:842)
      2. hudson.FilePath.act(FilePath.java:824)
      2 frames
    5. Hudson GIT plugin
      GitSCM$2.invoke
      1. hudson.plugins.git.GitAPI.clone(GitAPI.java:244)
      2. hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1122)
      3. hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1064)
      3 frames
    6. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:842)
      2. hudson.FilePath.act(FilePath.java:824)
      2 frames
    7. Hudson GIT plugin
      GitSCM.checkout
      1. hudson.plugins.git.GitSCM.checkout(GitSCM.java:1064)
      1 frame
    8. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1256)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589)
      2 frames
    9. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      1 frame
    10. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494)
      2. hudson.model.Run.execute(Run.java:1502)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      4. hudson.model.ResourceController.execute(ResourceController.java:88)
      5. hudson.model.Executor.run(Executor.java:236)
      5 frames