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)
at com.google.gerrit.server.api.changes.RevisionApiImpl.review(RevisionApiImpl.java:168)
at
I am able to give the review from the plugin thread itself successfully but not from a new thread.
PLease let me know how do I resolve this.
Thanks
Sharath
PLease let me know how do I resolve this.
Thanks
Sharath
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.