Skip to content

Instantly share code, notes, and snippets.

@davido
Created December 5, 2013 21:10
Show Gist options
  • Save davido/7813954 to your computer and use it in GitHub Desktop.
Save davido/7813954 to your computer and use it in GitHub Desktop.
[2013-12-05 23:08:49,034] ERROR com.google.gerrit.server.index.ChangeBatchIndexer : Failed to index project All-Projects
java.util.concurrent.ExecutionException: com.google.inject.ProvisionException: Guice provision errors:
1) Automatic ReviewDb only available in request scope
at com.google.gerrit.server.util.ThreadLocalRequestContext$1.provideReviewDb(ThreadLocalRequestContext.java:70)
while locating com.google.gerrit.reviewdb.server.ReviewDb
1 error
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:188)
at com.google.gerrit.server.index.ChangeBatchIndexer$1.run(ChangeBatchIndexer.java:153)
at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)
at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)
at com.google.common.util.concurrent.ExecutionList.add(ExecutionList.java:101)
at com.google.common.util.concurrent.ListenableFutureTask.addListener(ListenableFutureTask.java:83)
at com.google.gerrit.server.index.ChangeBatchIndexer.indexAll(ChangeBatchIndexer.java:149)
at com.google.gerrit.lucene.OnlineReindexer.reindex(OnlineReindexer.java:79)
at com.google.gerrit.lucene.OnlineReindexer.access$0(OnlineReindexer.java:74)
at com.google.gerrit.lucene.OnlineReindexer$1.run(OnlineReindexer.java:62)
Caused by: com.google.inject.ProvisionException: Guice provision errors:
1) Automatic ReviewDb only available in request scope
at com.google.gerrit.server.util.ThreadLocalRequestContext$1.provideReviewDb(ThreadLocalRequestContext.java:70)
while locating com.google.gerrit.reviewdb.server.ReviewDb
1 error
at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1014)
at com.google.gerrit.server.index.ChangeBatchIndexer$3.call(ChangeBatchIndexer.java:211)
at com.google.gerrit.server.index.ChangeBatchIndexer$3.call(ChangeBatchIndexer.java:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:132)
at com.google.common.util.concurrent.AbstractListeningExecutorService.submit(AbstractListeningExecutorService.java:58)
at com.google.gerrit.server.index.ChangeBatchIndexer.indexAll(ChangeBatchIndexer.java:145)
... 3 more
[2013-12-05 23:08:55,141] ERROR com.google.gerrit.server.index.ChangeBatchIndexer : Failed to index project test_project
java.util.concurrent.ExecutionException: com.google.inject.ProvisionException: Guice provision errors:
1) Automatic ReviewDb only available in request scope
at com.google.gerrit.server.util.ThreadLocalRequestContext$1.provideReviewDb(ThreadLocalRequestContext.java:70)
while locating com.google.gerrit.reviewdb.server.ReviewDb
1 error
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:188)
at com.google.gerrit.server.index.ChangeBatchIndexer$1.run(ChangeBatchIndexer.java:153)
at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)
at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)
at com.google.common.util.concurrent.ExecutionList.add(ExecutionList.java:101)
at com.google.common.util.concurrent.ListenableFutureTask.addListener(ListenableFutureTask.java:83)
at com.google.gerrit.server.index.ChangeBatchIndexer.indexAll(ChangeBatchIndexer.java:149)
at com.google.gerrit.lucene.OnlineReindexer.reindex(OnlineReindexer.java:79)
at com.google.gerrit.lucene.OnlineReindexer.access$0(OnlineReindexer.java:74)
at com.google.gerrit.lucene.OnlineReindexer$1.run(OnlineReindexer.java:62)
Caused by: com.google.inject.ProvisionException: Guice provision errors:
1) Automatic ReviewDb only available in request scope
at com.google.gerrit.server.util.ThreadLocalRequestContext$1.provideReviewDb(ThreadLocalRequestContext.java:70)
while locating com.google.gerrit.reviewdb.server.ReviewDb
1 error
at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1014)
at com.google.gerrit.server.index.ChangeBatchIndexer$3.call(ChangeBatchIndexer.java:211)
at com.google.gerrit.server.index.ChangeBatchIndexer$3.call(ChangeBatchIndexer.java:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:132)
at com.google.common.util.concurrent.AbstractListeningExecutorService.submit(AbstractListeningExecutorService.java:58)
at com.google.gerrit.server.index.ChangeBatchIndexer.indexAll(ChangeBatchIndexer.java:145)
... 3 more
[2013-12-05 23:08:55,153] ERROR com.google.gerrit.lucene.OnlineReindexer : Online reindex of schema version 6 failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment