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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web400

  • 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 Google Groups by Anjan Tummalapalli, 1 year 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
  • 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
  • Stack trace

    • 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.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1025) at com.google.gerrit.server.change.PostReview.apply(PostReview.java:168) at com.google.gerrit.server.change.PostReview.apply(PostReview.java:144)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Once, 1 month ago
    Unknown user
    Once, 1 year ago
    2 more bugmates