com.google.inject.ProvisionException: Unable to provision, see the > following errors: > 1) Automatic ReviewDb only available in request scope at > com.google.gerrit.server.util.ThreadLocalRequestContext$1.provideReviewDb(ThreadLocalRequestContext.java:70) > (via modules: com.google.gerrit.server.config.GerritGlobalModule -> > com.google.gerrit.server.util.ThreadLocalRequestContext$1) while locating com.google.gerrit.reviewdb.server.ReviewDb > 1 error

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Sharath Gupta, 1 year ago
Unable to provision, see the > following errors: > 1) Automatic ReviewDb only available in request scope at > com.google.gerrit.server.util.ThreadLocalRequestContext$1.provideReviewDb(ThreadLocalRequestContext.java:70) > (via modules
via Stack Overflow by Harish Kayarohanam
, 1 year ago
Guice provision errors: 1) Error in custom provider, java.lang.NullPointerException at org.sonatype.guice.bean.binders.LocatorWiring while locating org.sonatype.nexus.security.filter.authc.PasswordDecryptor for field at
via Google Groups by Chunlin Zhang, 2 years ago
Unable to provision, see the following errors: 1) Cannot open ReviewDb at com.google.gerrit.server.util.ThreadLocalRequestContext$1.provideReviewDb(ThreadLocalRequestContext.java:70) (via modules: com.google.gerrit.server.config.GerritGlobalModule -> com.google.gerrit.server.util.ThreadLocalRequestContext$1) while locating com.google.gerrit.reviewdb.server.ReviewDb 1 error
via nabble.com by Unknown author, 1 year ago
Unable to provision, see the following errors: > 1) No implementation for org.apache.maven.plugins.stage.RepositoryCopier was bound. >   while locating org.apache.maven.plugins.stage.CopyRepositoryMojo > 1 error
via Google Groups by Anjan Tummalapalli, 2 years ago
Unable to provision, see the following errors: 1) Cannot open ReviewDb at com.google.gerrit.server.util.ThreadLocalRequestContext$1.provideReviewDb(ThreadLocalRequestContext.java:70) (via modules: com.google.gerrit.server.config.GerritGlobalModule -> com.google.gerrit.server.util.ThreadLocalRequestContext$1) while locating com.google.gerrit.reviewdb.server.ReviewDb 1 error
via GitHub by eschabell
, 2 years ago
Unable to provision, see the following errors: 1) No implementation for org.eclipse.aether.connector.wagon.WagonProvider was bound. while locating org.eclipse.aether.connector.wagon.WagonRepositoryConnectorFactory 1 error
com.google.inject.ProvisionException: Unable to provision, see the > following errors: > 1) Automatic ReviewDb only available in request scope at > com.google.gerrit.server.util.ThreadLocalRequestContext$1.provideReviewDb(ThreadLocalRequestContext.java:70) > (via modules: com.google.gerrit.server.config.GerritGlobalModule -> > com.google.gerrit.server.util.ThreadLocalRequestContext$1) while locating com.google.gerrit.reviewdb.server.ReviewDb > 1 error
at com.google.gerrit.server.change.PostReview.apply(PostReview.java:168)
at com.google.gerrit.server.change.PostReview.apply(PostReview.java:144)

Users with the same issue

Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.