************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC. *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS! *****
************************************************************
Affected Version:
Gerrit stable-2.9
Github Plugin stable-2.9
What steps will reproduce the problem?
1. Follow the instructions in the README.md after cloning the github plugin from https://gerrit-review.googlesource.com/#/admin/projects/plugins/github and changing to the origin/stable-2.9 branch
2. Copy the oauth jars and the github-plugin jars to the appropriate locations as specified in the doc.
3. Start gerrit with the following command: ./bin/gerrit.sh start and you get Starting Gerrit Code Review: FAILED.
4. Read the logs (see additional information section below)
What is the expected output? What do you see instead?
The server should start successfully. And the logs (see below) should not have all those warnings.
Please provide any additional information below.
[2014-07-27 01:04:16,186] INFO com.google.gerrit.server.cache.h2.H2CacheFactory : Enabling disk cache /home/gerrit2/Service/cache
[2014-07-27 01:04:18,897] WARN com.google.gerrit.sshd.SshDaemon : Disabling cipher aes192-cbc: Illegal key size; try installing unlimited cryptography extension
[2014-07-27 01:04:18,898] WARN com.google.gerrit.sshd.SshDaemon : Disabling cipher aes256-cbc: Illegal key size; try installing unlimited cryptography extension
[2014-07-27 01:04:18,899] WARN com.google.gerrit.sshd.SshDaemon : Disabling cipher aes256-ctr: Illegal key size; try installing unlimited cryptography extension
[2014-07-27 01:04:18,902] WARN com.google.gerrit.sshd.SshDaemon : Disabling cipher arcfour256: Illegal key size; try installing unlimited cryptography extension
[2014-07-27 01:04:18,903] WARN com.google.gerrit.sshd.SshDaemon : Disabling cipher arcfour128: invalid parameter passed to RC4 init - org.bouncycastle.crypto.params.ParametersWithIV
[2014-07-27 01:04:18,935] WARN com.google.gerrit.httpd.GitWebConfig : gitweb not installed (no /usr/lib/cgi-bin/gitweb.cgi found)
[2014-07-27 01:04:19,632] INFO com.google.gerrit.server.git.LocalDiskRepositoryManager : Defaulting core.streamFileThreshold to 112m
[2014-07-27 01:04:19,671] INFO com.google.gerrit.server.plugins.PluginLoader : Loading plugins from /home/gerrit2/Service/plugins
[2014-07-27 01:04:19,999] INFO com.google.gerrit.server.plugins.PluginLoader : Loaded plugin github-plugin-2.9, version 2.9
[2014-07-27 01:04:20,060] INFO com.google.gerrit.server.plugins.PluginLoader : Loaded plugin singleusergroup, version v2.9-2-g70b4f8f
[2014-07-27 01:04:20,088] WARN com.google.gerrit.server.plugins.PluginLoader : Plugin original-github-plugin-2.9 tries to @null("null") abstract class com.googlesource.gerrit.plugins.github.replication.RemoteSiteUser$Factory
[2014-07-27 01:04:20,118] WARN com.google.gerrit.server.plugins.PluginLoader : Plugin original-github-plugin-2.9 tries to @null("null") abstract class com.googlesource.gerrit.plugins.github.wizard.VelocityController
[2014-07-27 01:04:20,121] WARN com.google.gerrit.server.plugins.PluginLoader : Plugin original-github-plugin-2.9 tries to @null("null") abstract class com.googlesource.gerrit.plugins.github.GitHubURL
[2014-07-27 01:04:20,135] WARN com.google.gerrit.server.plugins.PluginLoader : Plugin original-github-plugin-2.9 tries to @null("null") abstract class com.googlesrouce.gerrit.plugins.github.git.ReplicateProjectStep$Factory
[2014-07-27 01:04:20,137] WARN com.google.gerrit.server.plugins.PluginLoader : Plugin original-github-plugin-2.9 tries to @null("null") abstract class com.googlesrouce.gerrit.plugins.github.git.GitCloneStep$Factory
[2014-07-27 01:04:20,137] WARN com.google.gerrit.server.plugins.PluginLoader : Plugin original-github-plugin-2.9 tries to @null("null") abstract class com.googlesrouce.gerrit.plugins.github.git.GitException
[2014-07-27 01:04:20,137] WARN com.google.gerrit.server.plugins.PluginLoader : Plugin original-github-plugin-2.9 tries to @null("null") abstract class com.googlesrouce.gerrit.plugins.github.git.GitJob
[2014-07-27 01:04:20,137] WARN com.google.gerrit.server.plugins.PluginLoader : Plugin original-github-plugin-2.9 tries to @null("null") abstract class com.googlesrouce.gerrit.plugins.github.git.GitHubRepository$Factory
[2014-07-27 01:04:20,138] WARN com.google.gerrit.server.plugins.PluginLoader : Plugin original-github-plugin-2.9 tries to @null("null") abstract class com.googlesrouce.gerrit.plugins.github.git.ImportStep
[2014-07-27 01:04:20,139] WARN com.google.gerrit.server.plugins.PluginLoader : Plugin original-github-plugin-2.9 tries to @null("null") abstract class com.googlesrouce.gerrit.plugins.github.git.CreateProjectStep$Factory
[2014-07-27 01:04:20,140] WARN com.google.gerrit.server.plugins.PluginLoader : Plugin original-github-plugin-2.9 tries to @null("null") abstract class com.googlesrouce.gerrit.plugins.github.git.PullRequestImportJob$Factory
[2014-07-27 01:04:20,150] WARN com.google.gerrit.server.plugins.PluginLoader : Cannot load plugin original-github-plugin-2.9
com.google.inject.CreationException: Guice creation errors:
1) No implementation for com.google.gerrit.server.CurrentUser was bound.
while locating com.google.inject.Provider<com.google.gerrit.server.CurrentUser>
for parameter 1 at com.googlesource.gerrit.plugins.github.GitHubTopMenu.<init>(GitHubTopMenu.java:37)
at com.google.gerrit.server.plugins.AutoRegisterModules$1.configure(AutoRegisterModules.java:96)
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:230)
at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:237)
at com.google.gerrit.server.plugins.JarPlugin.startPlugin(JarPlugin.java:147)
at com.google.gerrit.server.plugins.JarPlugin.start(JarPlugin.java:127)
at com.google.gerrit.server.plugins.PluginLoader.runPlugin(PluginLoader.java:425)
at com.google.gerrit.server.plugins.PluginLoader.rescan(PluginLoader.java:395)
at com.google.gerrit.server.plugins.PluginLoader.start(PluginLoader.java:306)
at com.google.gerrit.lifecycle.LifecycleManager.start(LifecycleManager.java:74)
at com.google.gerrit.pgm.Daemon.start(Daemon.java:288)
at com.google.gerrit.pgm.Daemon.run(Daemon.java:200)
at com.google.gerrit.pgm.util.AbstractProgram.main(AbstractProgram.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.gerrit.launcher.GerritLauncher.invokeProgram(GerritLauncher.java:166)
at com.google.gerrit.launcher.GerritLauncher.mainImpl(GerritLauncher.java:93)
at com.google.gerrit.launcher.GerritLauncher.main(GerritLauncher.java:50)
at Main.main(Main.java:25)