My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 3212: Problems to update to current master
1 person starred this issue and may be notified of changes. Back to list
Status:  Released
Owner:  ----
Closed:  Mar 2015


Sign in to add a comment
 
Reported by icee...@googlemail.com, Feb 26, 2015

Affected Version:
master v2.11-rc0-46-g614f128

What steps will reproduce the problem?
1. start with a recent gerrit (before secure-store changes)
2. try to update to recent master

What is the expected output? What do you see instead?

init fails with an exception.

Please provide any additional information below.
java -jar gerrit.war init 
Exception in thread "main" com.google.inject.CreationException: Unable to create injector, see the following errors:

1) Binding to null instances is not allowed. Use toProvider(Providers.of(null)) if this is your intended behaviour.
  at com.google.gerrit.pgm.util.SiteProgram$4.configure(SiteProgram.java:196)

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.Guice.createInjector(Guice.java:96)
	at com.google.inject.Guice.createInjector(Guice.java:73)
	at com.google.inject.Guice.createInjector(Guice.java:62)
	at com.google.gerrit.pgm.util.SiteProgram.getConfiguredSecureStoreClass(SiteProgram.java:200)
	at com.google.gerrit.pgm.init.BaseInit.createSiteInit(BaseInit.java:219)
	at com.google.gerrit.pgm.init.BaseInit.run(BaseInit.java:111)
	at com.google.gerrit.pgm.util.AbstractProgram.main(AbstractProgram.java:64)
	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)

Mar 4, 2015
#1 icee...@googlemail.com
I tracked it down to :https://gerrit-review.googlesource.com/#/c/59246
The bug only happend if -d / --site-path is not explicitly given. 
Mar 4, 2015
#2 Dariusz.Luksza
Here is fix for this issue https://gerrit-review.googlesource.com/65695
Mar 4, 2015
Project Member #3 david.pu...@sonymobile.com
(No comment was entered for this change.)
Status: ChangeUnderReview
Mar 4, 2015
Project Member #4 david.pu...@sonymobile.com
(No comment was entered for this change.)
Status: Submitted
Labels: FixedIn-2.12
Dec 21, 2015
Project Member #5 david.pu...@sonymobile.com
(No comment was entered for this change.)
Status: Released
Sign in to add a comment

Powered by Google Project Hosting