org.eclipse.jgit.api.errors.JGitInternalException: Unknown repository format

Jenkins JIRA | Oliver Hepperle | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Hi all, after creating a new project today and tried to run first time i noticed that the initial checkout isn't working anymore. Older projects which were already built are working correctly. Does anybody have an advice why the initial git clone command isn't working anymore? Here is the stacktrace from jenkins server: Started on Sep 3, 2015 11:06:22 AM Creating git repository in C:\Jenkins\caches\git-02c0446b939beedabfea0b1e39a6132f FATAL: Unknown repository format org.eclipse.jgit.api.errors.JGitInternalException: Unknown repository format at org.eclipse.jgit.api.InitCommand.call(InitCommand.java:118) at org.jenkinsci.plugins.gitclient.JGitAPIImpl.doInit(JGitAPIImpl.java:216) at org.jenkinsci.plugins.gitclient.JGitAPIImpl.access$600(JGitAPIImpl.java:133) at org.jenkinsci.plugins.gitclient.JGitAPIImpl$7.execute(JGitAPIImpl.java:1556) at org.jenkinsci.plugins.gitclient.JGitAPIImpl.init(JGitAPIImpl.java:211) at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:164) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:141) at jenkins.scm.api.SCMSource.retrieve(SCMSource.java:180) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:167) at com.github.mjdetullio.jenkins.plugins.multibranch.AbstractMultiBranchProject._syncBranches(AbstractMultiBranchProject.java:981) at com.github.mjdetullio.jenkins.plugins.multibranch.AbstractMultiBranchProject.syncBranches(AbstractMultiBranchProject.java:948) at com.github.mjdetullio.jenkins.plugins.multibranch.SyncBranchesTrigger.run(SyncBranchesTrigger.java:102) at com.github.mjdetullio.jenkins.plugins.multibranch.SyncBranchesTrigger.checkTriggers(SyncBranchesTrigger.java:255) at com.github.mjdetullio.jenkins.plugins.multibranch.SyncBranchesTrigger$Cron.doRun(SyncBranchesTrigger.java:230) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Unknown repository format at org.eclipse.jgit.internal.storage.file.FileRepository.loadRepoConfig(FileRepository.java:249) at org.eclipse.jgit.internal.storage.file.FileRepository.<init>(FileRepository.java:192) at org.eclipse.jgit.lib.BaseRepositoryBuilder.build(BaseRepositoryBuilder.java:577) at org.eclipse.jgit.api.InitCommand.call(InitCommand.java:113) ... 21 more Caused by: org.eclipse.jgit.errors.ConfigInvalidException: Cannot read file C:\Jenkins\caches\git-02c0446b939beedabfea0b1e39a6132f\.git\config at org.eclipse.jgit.storage.file.FileBasedConfig.load(FileBasedConfig.java:173) at org.eclipse.jgit.internal.storage.file.FileRepository.loadRepoConfig(FileRepository.java:247) ... 24 more Caused by: org.eclipse.jgit.errors.ConfigInvalidException: Invalid line in config file at org.eclipse.jgit.lib.Config.fromText(Config.java:1087) at org.eclipse.jgit.storage.file.FileBasedConfig.load(FileBasedConfig.java:161) ... 25 more Done. Took 0 ms regards pix_oli

    Jenkins JIRA | 1 year ago | Oliver Hepperle
    org.eclipse.jgit.api.errors.JGitInternalException: Unknown repository format
  2. 0

    Hi all, after creating a new project today and tried to run first time i noticed that the initial checkout isn't working anymore. Older projects which were already built are working correctly. Does anybody have an advice why the initial git clone command isn't working anymore? Here is the stacktrace from jenkins server: Started on Sep 3, 2015 11:06:22 AM Creating git repository in C:\Jenkins\caches\git-02c0446b939beedabfea0b1e39a6132f FATAL: Unknown repository format org.eclipse.jgit.api.errors.JGitInternalException: Unknown repository format at org.eclipse.jgit.api.InitCommand.call(InitCommand.java:118) at org.jenkinsci.plugins.gitclient.JGitAPIImpl.doInit(JGitAPIImpl.java:216) at org.jenkinsci.plugins.gitclient.JGitAPIImpl.access$600(JGitAPIImpl.java:133) at org.jenkinsci.plugins.gitclient.JGitAPIImpl$7.execute(JGitAPIImpl.java:1556) at org.jenkinsci.plugins.gitclient.JGitAPIImpl.init(JGitAPIImpl.java:211) at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:164) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:141) at jenkins.scm.api.SCMSource.retrieve(SCMSource.java:180) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:167) at com.github.mjdetullio.jenkins.plugins.multibranch.AbstractMultiBranchProject._syncBranches(AbstractMultiBranchProject.java:981) at com.github.mjdetullio.jenkins.plugins.multibranch.AbstractMultiBranchProject.syncBranches(AbstractMultiBranchProject.java:948) at com.github.mjdetullio.jenkins.plugins.multibranch.SyncBranchesTrigger.run(SyncBranchesTrigger.java:102) at com.github.mjdetullio.jenkins.plugins.multibranch.SyncBranchesTrigger.checkTriggers(SyncBranchesTrigger.java:255) at com.github.mjdetullio.jenkins.plugins.multibranch.SyncBranchesTrigger$Cron.doRun(SyncBranchesTrigger.java:230) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Unknown repository format at org.eclipse.jgit.internal.storage.file.FileRepository.loadRepoConfig(FileRepository.java:249) at org.eclipse.jgit.internal.storage.file.FileRepository.<init>(FileRepository.java:192) at org.eclipse.jgit.lib.BaseRepositoryBuilder.build(BaseRepositoryBuilder.java:577) at org.eclipse.jgit.api.InitCommand.call(InitCommand.java:113) ... 21 more Caused by: org.eclipse.jgit.errors.ConfigInvalidException: Cannot read file C:\Jenkins\caches\git-02c0446b939beedabfea0b1e39a6132f\.git\config at org.eclipse.jgit.storage.file.FileBasedConfig.load(FileBasedConfig.java:173) at org.eclipse.jgit.internal.storage.file.FileRepository.loadRepoConfig(FileRepository.java:247) ... 24 more Caused by: org.eclipse.jgit.errors.ConfigInvalidException: Invalid line in config file at org.eclipse.jgit.lib.Config.fromText(Config.java:1087) at org.eclipse.jgit.storage.file.FileBasedConfig.load(FileBasedConfig.java:161) ... 25 more Done. Took 0 ms regards pix_oli

    Jenkins JIRA | 1 year ago | Oliver Hepperle
    org.eclipse.jgit.api.errors.JGitInternalException: Unknown repository format
  3. 0

    Error: Creating directories for /.niogit/system.git failed deploying jbpm-console.war on Wildfly-8.1.0.Final

    Stack Overflow | 2 years ago
    org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke public void org.guvnor.structure.backend.config.ConfigurationServiceImpl.setup() on org.guvnor.structure.backend.config.ConfigurationServiceImpl@6b2e98c8
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 26#257764622

    GitHub | 4 months ago | maks
    org.eclipse.jgit.api.errors.JGitInternalException: Creating directories for /repo/stickmap/.git failed
  6. 0

    GitHub comment 182#249820502

    GitHub | 5 months ago | henrik242
    org.eclipse.jgit.api.errors.JGitInternalException: Creating directories for /repo/stickmap/.git failed

    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. org.eclipse.jgit.errors.ConfigInvalidException

      Invalid line in config file

      at org.eclipse.jgit.lib.Config.fromText()
    2. JGit - Core
      InitCommand.call
      1. org.eclipse.jgit.lib.Config.fromText(Config.java:1087)
      2. org.eclipse.jgit.storage.file.FileBasedConfig.load(FileBasedConfig.java:161)
      3. org.eclipse.jgit.internal.storage.file.FileRepository.loadRepoConfig(FileRepository.java:247)
      4. org.eclipse.jgit.internal.storage.file.FileRepository.<init>(FileRepository.java:192)
      5. org.eclipse.jgit.lib.BaseRepositoryBuilder.build(BaseRepositoryBuilder.java:577)
      6. org.eclipse.jgit.api.InitCommand.call(InitCommand.java:113)
      6 frames
    3. org.jenkinsci.plugins
      JGitAPIImpl.init
      1. org.jenkinsci.plugins.gitclient.JGitAPIImpl.doInit(JGitAPIImpl.java:216)
      2. org.jenkinsci.plugins.gitclient.JGitAPIImpl.access$600(JGitAPIImpl.java:133)
      3. org.jenkinsci.plugins.gitclient.JGitAPIImpl$7.execute(JGitAPIImpl.java:1556)
      4. org.jenkinsci.plugins.gitclient.JGitAPIImpl.init(JGitAPIImpl.java:211)
      4 frames
    4. jenkins.plugins.git
      AbstractGitSCMSource.retrieve
      1. jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:164)
      1 frame
    5. jenkins.scm.api
      SCMSource.fetch
      1. jenkins.scm.api.SCMSource.fetch(SCMSource.java:141)
      2. jenkins.scm.api.SCMSource.retrieve(SCMSource.java:180)
      3. jenkins.scm.api.SCMSource.fetch(SCMSource.java:167)
      3 frames
    6. com.github.mjdetullio
      SyncBranchesTrigger$Cron.doRun
      1. com.github.mjdetullio.jenkins.plugins.multibranch.AbstractMultiBranchProject._syncBranches(AbstractMultiBranchProject.java:981)
      2. com.github.mjdetullio.jenkins.plugins.multibranch.AbstractMultiBranchProject.syncBranches(AbstractMultiBranchProject.java:948)
      3. com.github.mjdetullio.jenkins.plugins.multibranch.SyncBranchesTrigger.run(SyncBranchesTrigger.java:102)
      4. com.github.mjdetullio.jenkins.plugins.multibranch.SyncBranchesTrigger.checkTriggers(SyncBranchesTrigger.java:255)
      5. com.github.mjdetullio.jenkins.plugins.multibranch.SyncBranchesTrigger$Cron.doRun(SyncBranchesTrigger.java:230)
      5 frames
    7. Hudson
      SafeTimerTask.run
      1. hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51)
      1 frame
    8. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      7. java.lang.Thread.run(Thread.java:745)
      7 frames