forked from xielong/chatgpt-code-review-gerrit-plugin
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I've just updated our gerrit from 3.11 (where it was working) to 3.13. Now the plugin fails with the following stacktrace whenever a comment is submitted:
java.lang.IncompatibleClassChangeError: Found interface com.google.gerrit.entities.Project$NameKey, but class was expected
at com.googlesource.gerrit.plugins.aicodereview.mode.common.client.api.gerrit.GerritChange.buildFullChangeId(GerritChange.java:85)
at com.googlesource.gerrit.plugins.aicodereview.mode.common.client.api.gerrit.GerritChange.<init>(GerritChange.java:51)
at com.googlesource.gerrit.plugins.aicodereview.mode.common.client.api.gerrit.GerritChange.<init>(GerritChange.java:55)
at com.googlesource.gerrit.plugins.aicodereview.listener.GerritEventContextModule.configure(GerritEventContextModule.java:50)
at com.google.inject.AbstractModule.configure(AbstractModule.java:64)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:426)
at com.google.inject.spi.Elements.getElements(Elements.java:113)
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:160)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:240)
at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:245)
at com.googlesource.gerrit.plugins.aicodereview.listener.EventHandlerExecutor.execute(EventHandlerExecutor.java:49)
at com.googlesource.gerrit.plugins.aicodereview.listener.GerritListener.onEvent(GerritListener.java:67)
at com.google.gerrit.server.events.EventBroker.lambda$fireEventForUnrestrictedListeners$0(EventBroker.java:122)
at com.google.gerrit.server.plugincontext.PluginContext.runLogExceptions(PluginContext.java:217)
at com.google.gerrit.server.plugincontext.PluginSetContext.lambda$runEach$1(PluginSetContext.java:148)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
...
Metadata
Metadata
Assignees
Labels
No labels