-
Bug
-
Resolution: Fixed
-
Major
-
None
-
-
1.0-pre-beta-1
When blueocean (UX) plugin is installed from experimental update center, during install it gives error due to certain plugin not able to resolve guice dependency as other plugin injecting instance is not loaded yet. This happens with 'Install without Restart option'. After restart this error goes aways as Jenkins in this case resolves dependencies correctly.
INFO: Attempting to dynamic load /Users/vivek/Downloads/jh/plugins/blueocean-rest.jpi
Aug 11, 2016 6:49:33 AM hudson.ExtensionFinder$GuiceFinder refresh
SEVERE: Failed to create Guice container from newly added plugins
com.google.inject.CreationException: Guice creation errors:
1) Could not find a suitable constructor in io.jenkins.blueocean.BlueOceanUI. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
at io.jenkins.blueocean.BlueOceanUI.class(BlueOceanUI.java:15)
while locating io.jenkins.blueocean.BlueOceanUI
for field at io.jenkins.blueocean.rest.ApiHead.blueOceanUI(ApiHead.java:33)
at hudson.ExtensionFinder$GuiceFinder$SezpozModule.configure(ExtensionFinder.java:508)
These errors do not appear if 'Download now and install after restart' is selected.