org.eclipse.jgit.errors.RepositoryNotFoundException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Gerrit reindex fail
    via by Vladislav Khudyakov,
    • org.eclipse.jgit.errors.RepositoryNotFoundException: repository not found: /opt/gerrit/git/upstream/linux.git at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:476) at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:435) at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79) at com.google.gerrit.server.index.SiteIndexer$ErrorListener.run(SiteIndexer.java:110) at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:456) at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:817) at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:753) at com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:634) at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:110) at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:41) at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:77) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:417) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: com.google.gwtorm.server.OrmException: org.eclipse.jgit.errors.RepositoryNotFoundException: repository not found: /opt/gerrit/git/upstream/linux.git at com.google.gerrit.server.notedb.AbstractChangeNotes.load(AbstractChangeNotes.java:158) at com.google.gerrit.server.notedb.ChangeNotes$Factory.createFromChangeOnlyWhenNoteDbDisabled(ChangeNotes.java:221) at com.google.gerrit.server.notedb.ChangeNotes$Factory.scanDb(ChangeNotes.java:311) at com.google.gerrit.server.notedb.ChangeNotes$Factory.scan(ChangeNotes.java:297) at com.google.gerrit.server.index.change.AllChangesIndexer$2.call(AllChangesIndexer.java:225) at com.google.gerrit.server.index.change.AllChangesIndexer$2.call(AllChangesIndexer.java:215) at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:108) ... 10 more Caused by: org.eclipse.jgit.errors.RepositoryNotFoundException: repository not found: /opt/gerrit/git/upstream/linux.git at com.google.gerrit.server.git.LocalDiskRepositoryManager.openRepository(LocalDiskRepositoryManager.java:193) at com.google.gerrit.server.git.LocalDiskRepositoryManager.openRepository(LocalDiskRepositoryManager.java:164) at com.google.gerrit.server.notedb.AbstractChangeNotes.load(AbstractChangeNotes.java:146) ... 16 more
    No Bugmate found.