| Issue 3301: | Error reloading replication plugin - stable 2.11 rc2 | |
| 2 people starred this issue and may be notified of changes. | Back to list |
Sign in to add a comment
|
*****************************************************************
***** *****
***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!! *****
***** *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD, *****
***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.*****
***** *****
***** THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS *****
***** *****
*****************************************************************
Affected Version: stable2.11-rc2
What steps will reproduce the problem?
1. reload the replication plugin
What is the expected output? What do you see instead?
$ ssh -p 29418 localhost gerrit plugin reload replication
fatal: Unable to create injector, see the following errors:
1) An exception was caught and reported. Message: Event type already registered: ref-replicated
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:135)
1 error
Stack trace:
[2015-04-15 10:03:11,707] WARN com.google.gerrit.server.plugins.PluginLoader : Cannot reload plugin replication
com.google.inject.CreationException: Unable to create injector, see the following errors:
1) An exception was caught and reported. Message: Event type already registered: ref-replicated
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:135)
1 error
at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:448)
at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:155)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:225)
at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:232)
at com.google.gerrit.server.plugins.ServerPlugin.startPlugin(ServerPlugin.java:187)
at com.google.gerrit.server.plugins.ServerPlugin.start(ServerPlugin.java:170)
at com.google.gerrit.server.plugins.PluginLoader.runPlugin(PluginLoader.java:461)
at com.google.gerrit.server.plugins.PluginLoader.reload(PluginLoader.java:345)
at com.google.gerrit.sshd.commands.PluginReloadCommand.run(PluginReloadCommand.java:51)
at com.google.gerrit.sshd.SshCommand$1.run(SshCommand.java:35)
at com.google.gerrit.sshd.BaseCommand$TaskThunk.run(BaseCommand.java:445)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:379)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.IllegalArgumentException: Event type already registered: ref-replicated
at com.google.gerrit.server.events.EventTypes.registerClass(EventTypes.java:49)
at com.googlesource.gerrit.plugins.replication.ReplicationModule.configure(ReplicationModule.java:66)
at com.google.inject.AbstractModule.configure(AbstractModule.java:62)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:253)
at com.google.inject.spi.Elements.getElements(Elements.java:108)
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:135)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
... 17 more
Please provide any additional information below.
I suspect that this bug is related to this change: https://gerrit-review.googlesource.com/#/c/62516
This means that reloading any plugin which tries to register an EventType will also result in this error.
Apr 15, 2015
(No comment was entered for this change.)
Labels:
Priority-Major
Apr 15, 2015
(No comment was entered for this change.)
Cc:
mf...@codeaurora.org
Apr 15, 2015
(No comment was entered for this change.)
Status:
Accepted
Apr 15, 2015
(No comment was entered for this change.)
Labels:
Blocking-2.11
Apr 16, 2015
(No comment was entered for this change.)
Status:
Submitted
Labels: -Blocking-2.11 FixedIn-2.11
Apr 16, 2015
(No comment was entered for this change.)
Status:
Released
Apr 20, 2015
Could you please help to confirm when this fix will be release in webpage https://gerrit-releases.storage.googleapis.com/index.html? And also help to identify which release would include this fix?
Apr 20, 2015
As you can see from the 'FixedIn-2.11' label and the 'Released' state of this issue, this bug was fixed with Gerrit 2.11.
Apr 22, 2015
Could you please help to provide a link include Gerrit2.11 installation package with this fix? |
||||||||||
| ► Sign in to add a comment | |||||||||||
Labels: -Priority-Minor