-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
browsing revision from review UI leads to internal error #22
Comments
Is there any exception trace in the logs? And what Gerrit version, and what version of the plugin? I cannot reproduce this with Gerrit 2.12.1 and plugin version 2.12.171.1. |
All right, I can reproduce it now. One needs to have a completely empty repository and a change for it pushed to Gerrit (but not submitted yet). Then try to view that change in Gitblit via the (browse) link on the Gerrit change page. Gives a
The problem is in |
If a repository is completely empty (no initial commit), but a change was pushed to Gerrit and one then tries to view that change in Gitblit, Gitblit fails with an internal server error caused by an NPE in Syntevo's BugtraqConfig, which tries to read some config file from the repository. Fix by handling the case of a repository not having a HEAD yet.
Fixed in version v2.12.171.2. |
the repository is newly created, that has no any commits (without initial empty commit).
The text was updated successfully, but these errors were encountered: