tomaswolf / gerrit-gitblit-plugin

Integrates standard GitBlit (currently 1.7.1) as a repository viewer in Gerrit
Apache License 2.0
22 stars 5 forks source link

Gerrit breaking change #37

Closed gpotzkov closed 4 years ago

gpotzkov commented 4 years ago

Hi,

since upgrading to Gerrit 3.1.1 we get the following error when trying to access our repositories with gitblit

Caused by: java.lang.NoSuchMethodError: com.google.gerrit.server.IdentifiedUser.getAccount()Lcom/google/gerrit/reviewdb/client/Account;

I think this due to the breaking changes introduced here https://www.gerritcodereview.com/3.1.html#changed-apis-for-id-and-namekey-classes

Please correct me if i'm wrong if not fix it :D

Regards.

tomaswolf commented 4 years ago

Try Release 3.1.171.0 and please report back whether it works for you.

gpotzkov commented 4 years ago

Try Release 3.1.171.0 and please report back whether it works for you.

Thank you for the quick fix. Works like a charm 👍