org.eclipse.jgit.api.errors.JGitInternalException: Systen wide config file /usr/local/git/etc/gitconfig is invalid org.eclipse.jgit.errors.ConfigInvalidException: Cannot read file /usr/local/git/etc/gitconfig

GitHub | davsclaus | 5 months ago
  1. 0

    hawtio-git - Unit test fails

    GitHub | 5 months ago | davsclaus
    org.eclipse.jgit.api.errors.JGitInternalException: Systen wide config file /usr/local/git/etc/gitconfig is invalid org.eclipse.jgit.errors.ConfigInvalidException: Cannot read file /usr/local/git/etc/gitconfig
  2. 0

    hawtio-git - Unit test fails

    GitHub | 5 months ago | davsclaus
    org.eclipse.jgit.api.errors.JGitInternalException: Systen wide config file /usr/local/git/etc/gitconfig is invalid org.eclipse.jgit.errors.ConfigInvalidException: Cannot read file /usr/local/git/etc/gitconfig
  3. 0

    hawtio-git - Unit test fails

    GitHub | 5 months ago | davsclaus
    org.eclipse.jgit.api.errors.JGitInternalException: Systen wide config file /usr/local/git/etc/gitconfig is invalid org.eclipse.jgit.errors.ConfigInvalidException: Cannot read file /usr/local/git/etc/gitconfig
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 2167#229856256

    GitHub | 5 months ago | davsclaus
    java.io.IOException: Systen wide config file /usr/local/git/etc/gitconfig is invalid org.eclipse.jgit.errors.ConfigInvalidException: Cannot read file /usr/local/git/etc/gitconfig
  6. 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

    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

      Cannot read file /usr/local/git/etc/gitconfig

      at io.hawt.git.GitCloneTest.init()
    2. ${project.artifactId}
      GitCloneTest.init
      1. io.hawt.git.GitCloneTest.init(GitCloneTest.java:19)
      2. io.hawt.git.GitCloneTest.init(GitCloneTest.java:19)
      2 frames