Upgraded Plugins: Jenkins fails to start

141 views
Skip to first unread message

Sverre Moe

unread,
May 23, 2021, 1:55:03 PMMay 23
to Jenkins Users
I have upgraded all the plugins, then restarted Jenkins.
It fails to start properly.
Any idea what the problem here is about?

The website is loading, but shows the following Stacktrace
java.lang.IllegalArgumentException: Unable to inject class hudson.model.UserIdMapper   at hudson.init.TaskMethodFinder.lookUp(TaskMethodFinder.java:125)
 at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105) 
 at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) 
 at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296) 
 at jenkins.model.Jenkins$5.runTask(Jenkins.java:1131) 
 at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214) 
 at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
 at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68) 
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
 at java.lang.Thread.run(Thread.java:748) 
Caused: org.jvnet.hudson.reactor.ReactorException 
 at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:282) 
 at jenkins.InitReactorRunner.run(InitReactorRunner.java:49) 
 at jenkins.model.Jenkins.executeReactor(Jenkins.java:1164)
 at jenkins.model.Jenkins.<init>(Jenkins.java:962) 
 at hudson.model.Hudson.<init>(Hudson.java:85) 
 at hudson.model.Hudson.<init>(Hudson.java:81) 
 at hudson.WebAppMain$3.run(WebAppMain.java:295) 
Caused: hudson.util.HudsonFailedToLoad at hudson.WebAppMain$3.run(WebAppMain.java:312)

The jenkins log output shows rthe following Exceptions:
2021-05-23 16:50:01.547+0000 [id=37]    INFO    jenkins.InitReactorRunner$1#onAttained: Listed all plugins
2021-05-23 16:50:09.041+0000 [id=36]    SEVERE  h.ExtensionFinder$GuiceFinder#<init>: Failed to create Guice container from all the plugins
java.lang.LinkageError: loader constraint violation: loader (instance of hudson/PluginFirstClassLoader) previously initiated loading for a different type with name "com/google/inject/Binder"
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
        at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1155)
        at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1326)
        at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1377)
        at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1342)
        at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1095)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at com.google.inject.multibindings.Multibinder.newSetBinder(Multibinder.java:136)
        at com.google.inject.multibindings.Multibinder.newSetBinder(Multibinder.java:99)
        at hudson.plugins.depgraph_view.model.graph.DependencyGraphModule.configure(DependencyGraphModule.java:49)
        at com.google.inject.AbstractModule.configure(AbstractModule.java:62)
        at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340)
        at com.google.inject.spi.Elements.getElements(Elements.java:110)
        at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138)
        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
        at com.google.inject.Guice.createInjector(Guice.java:96)
        at com.google.inject.Guice.createInjector(Guice.java:73)
        at hudson.ExtensionFinder$GuiceFinder.<init>(ExtensionFinder.java:285)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at net.java.sezpoz.IndexItem.instance(IndexItem.java:181)
        at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:703)
        at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:689)
        at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:349)
        at hudson.ExtensionList.load(ExtensionList.java:381)
        at hudson.ExtensionList.ensureLoaded(ExtensionList.java:317)
        at hudson.ExtensionList.getComponents(ExtensionList.java:183)
        at jenkins.model.Jenkins$6.onInitMilestoneAttained(Jenkins.java:1161)
        at jenkins.InitReactorRunner$1.onAttained(InitReactorRunner.java:84)
        at org.jvnet.hudson.reactor.ReactorListener$Aggregator.lambda$onAttained$3(ReactorListener.java:102)
        at org.jvnet.hudson.reactor.ReactorListener$Aggregator.run(ReactorListener.java:109)
        at org.jvnet.hudson.reactor.ReactorListener$Aggregator.onAttained(ReactorListener.java:102)
        at org.jvnet.hudson.reactor.Reactor$1.run(Reactor.java:177)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
        at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
2021-05-23 16:50:09.657+0000 [id=36]    WARNING hudson.ExtensionFinder$Sezpoz#_find: Failed to load hudson.ExtensionFinder$GuiceFinder
com.google.inject.CreationException: Unable to create injector, see the following errors:

1) Could not find a suitable constructor in jenkins.model.Jenkins. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
  at jenkins.model.Jenkins.class(Jenkins.java:314)
  while locating jenkins.model.Jenkins
    for field at jenkins.model.Jenkins$EnforceSlaveAgentPortAdministrativeMonitor.j(Jenkins.java:1321)
  at hudson.ExtensionFinder$GuiceFinder$SezpozModule.configure(ExtensionFinder.java:527)

2) Could not find a suitable constructor in jenkins.model.Jenkins. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
  at jenkins.model.Jenkins.class(Jenkins.java:314)
  while locating jenkins.model.Jenkins
    for field at jenkins.security.s2m.AdminCallableMonitor.jenkins(AdminCallableMonitor.java:33)
  at hudson.ExtensionFinder$GuiceFinder$SezpozModule.configure(ExtensionFinder.java:527)

3) Could not find a suitable constructor in jenkins.model.Jenkins. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
  at jenkins.model.Jenkins.class(Jenkins.java:314)
  while locating jenkins.model.Jenkins
    for field at jenkins.security.s2m.MasterKillSwitchConfiguration.jenkins(MasterKillSwitchConfiguration.java:20)
  at hudson.ExtensionFinder$GuiceFinder$SezpozModule.configure(ExtensionFinder.java:527)

3 errors
        at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:466)
        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 hudson.ExtensionFinder$GuiceFinder.<init>(ExtensionFinder.java:291)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at net.java.sezpoz.IndexItem.instance(IndexItem.java:181)
Caused: java.lang.InstantiationException
        at net.java.sezpoz.IndexItem.instance(IndexItem.java:191)
        at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:703)
        at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:689)
        at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:349)
        at hudson.ExtensionList.load(ExtensionList.java:381)
        at hudson.ExtensionList.ensureLoaded(ExtensionList.java:317)
        at hudson.ExtensionList.getComponents(ExtensionList.java:183)
        at jenkins.model.Jenkins$6.onInitMilestoneAttained(Jenkins.java:1161)
        at jenkins.InitReactorRunner$1.onAttained(InitReactorRunner.java:84)
        at org.jvnet.hudson.reactor.ReactorListener$Aggregator.lambda$onAttained$3(ReactorListener.java:102)
        at org.jvnet.hudson.reactor.ReactorListener$Aggregator.run(ReactorListener.java:109)
        at org.jvnet.hudson.reactor.ReactorListener$Aggregator.onAttained(ReactorListener.java:102)
        at org.jvnet.hudson.reactor.Reactor$1.run(Reactor.java:177)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
        at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
2021-05-23 16:50:09.672+0000 [id=36]    INFO    jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
2021-05-23 16:50:09.673+0000 [id=36]    SEVERE  jenkins.InitReactorRunner$1#onTaskFailed: Failed Contributed.load
java.lang.NullPointerException
        at jenkins.security.CustomClassFilter$Contributed.load(CustomClassFilter.java:155)
Caused: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104)
Caused: java.lang.Error
        at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:110)
        at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175)
        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
        at jenkins.model.Jenkins$5.runTask(Jenkins.java:1131)
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
        at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
2021-05-23 16:50:09.684+0000 [id=33]    SEVERE  jenkins.InitReactorRunner$1#onTaskFailed: Failed Initializing plugin chroot
java.lang.NullPointerException
        at org.jenkinsci.plugins.chroot.tools.ChrootToolset.list(ChrootToolset.java:146)
        at org.jenkinsci.plugins.chroot.tools.ChrootToolset.isEmpty(ChrootToolset.java:142)
        at org.jenkinsci.plugins.chroot.Chroot.postInitialize(Chroot.java:39)
        at hudson.PluginManager$2$1$2.run(PluginManager.java:575)
        at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
        at jenkins.model.Jenkins$5.runTask(Jenkins.java:1131)
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
        at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
2021-05-23 16:50:09.688+0000 [id=34]    SEVERE  jenkins.InitReactorRunner$1#onTaskFailed: Failed Initializing plugin jenkins-jira-plugin
java.lang.AssertionError: class org.marvelution.jji.configuration.JiraSitesConfiguration is missing its descriptor
        at jenkins.model.Jenkins.getDescriptorOrDie(Jenkins.java:1599)
        at org.marvelution.jji.configuration.JiraSitesConfiguration.get(JiraSitesConfiguration.java:47)
        at org.marvelution.jji.security.SyncTokenAuthenticationFilter.<init>(SyncTokenAuthenticationFilter.java:50)
        at org.marvelution.jji.JiraPlugin.postInitialize(JiraPlugin.java:72)
        at hudson.PluginManager$2$1$2.run(PluginManager.java:575)
        at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
        at jenkins.model.Jenkins$5.runTask(Jenkins.java:1131)
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
        at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
2021-05-23 16:50:09.973+0000 [id=30]    INFO    jenkins.InitReactorRunner$1#onAttained: Started all plugins
2021-05-23 16:50:09.974+0000 [id=28]    SEVERE  jenkins.InitReactorRunner$1#onTaskFailed: Failed UserIdMapper.init
java.lang.IllegalArgumentException: Unable to inject class hudson.model.UserIdMapper
        at hudson.init.TaskMethodFinder.lookUp(TaskMethodFinder.java:125)
        at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105)
        at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175)
        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
        at jenkins.model.Jenkins$5.runTask(Jenkins.java:1131)
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
        at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
2021-05-23 16:50:09.974+0000 [id=33]    SEVERE  jenkins.InitReactorRunner$1#onTaskFailed: Failed PluginImpl.init
java.lang.IllegalStateException: Expected 1 instance of hudson.PluginManager$PluginUpdateMonitor but got 0
        at hudson.ExtensionList.lookupSingleton(ExtensionList.java:451)
        at hudson.PluginManager$PluginUpdateMonitor.getInstance(PluginManager.java:2304)
        at hudson.maven.PluginImpl.init(PluginImpl.java:58)
Caused: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104)
Caused: java.lang.Error
        at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:110)
        at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175)
        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
        at jenkins.model.Jenkins$5.runTask(Jenkins.java:1131)
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
        at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
2021-05-23 16:50:09.976+0000 [id=22]    SEVERE  hudson.util.BootFailure#publish: Failed to initialize Jenkins
java.lang.IllegalArgumentException: Unable to inject class hudson.model.UserIdMapper
        at hudson.init.TaskMethodFinder.lookUp(TaskMethodFinder.java:125)
        at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105)
        at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175)
        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
        at jenkins.model.Jenkins$5.runTask(Jenkins.java:1131)
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
        at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused: org.jvnet.hudson.reactor.ReactorException
        at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:282)
        at jenkins.InitReactorRunner.run(InitReactorRunner.java:49)
        at jenkins.model.Jenkins.executeReactor(Jenkins.java:1164)
        at jenkins.model.Jenkins.<init>(Jenkins.java:962)
        at hudson.model.Hudson.<init>(Hudson.java:85)
        at hudson.model.Hudson.<init>(Hudson.java:81)
        at hudson.WebAppMain$3.run(WebAppMain.java:295)
Caused: hudson.util.HudsonFailedToLoad
        at hudson.WebAppMain$3.run(WebAppMain.java:312)
2021-05-23 16:50:09.986+0000 [id=22]    INFO    jenkins.model.Jenkins#cleanUp: Stopping Jenkins
2021-05-23 16:50:10.027+0000 [id=22]    INFO    jenkins.model.Jenkins$18#onAttained: Started termination
2021-05-23 16:50:10.039+0000 [id=22]    INFO    c.a.s.j.p.d.cache.BuildCache#stopGarbageCollector: Stopping GC scheduling
2021-05-23 16:50:10.040+0000 [id=22]    INFO    c.a.s.j.p.d.cache.BuildCache#stopWorkerThread: Stopping Worker Thread Pool...
2021-05-23 16:50:10.040+0000 [id=22]    SEVERE  jenkins.model.Jenkins$18#onTaskFailed: Failed BuildCache.stop
java.lang.NullPointerException
        at com.axis.system.jenkins.plugins.downstream.cache.BuildCache.stopWorkerThread(BuildCache.java:298)
        at com.axis.system.jenkins.plugins.downstream.cache.BuildCache.stop(BuildCache.java:81)
Caused: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104)
Caused: java.lang.Error
        at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:110)
        at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175)
        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
        at jenkins.model.Jenkins$17.execute(Jenkins.java:3507)
        at org.jvnet.hudson.reactor.Reactor$Node.runIfPossible(Reactor.java:139)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:128)
        at jenkins.model.Jenkins$17.execute(Jenkins.java:3507)
        at org.jvnet.hudson.reactor.Reactor$Node.runIfPossible(Reactor.java:139)
        at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:276)
        at jenkins.model.Jenkins._cleanUpRunTerminators(Jenkins.java:3504)
        at jenkins.model.Jenkins.cleanUp(Jenkins.java:3429)
        at hudson.WebAppMain$3.run(WebAppMain.java:316)
2021-05-23 16:50:10.040+0000 [id=22]    SEVERE  jenkins.model.Jenkins$18#onTaskFailed: Failed IOHubProvider.cleanUp
java.lang.IllegalArgumentException: Unable to inject class jenkins.slaves.IOHubProvider
        at hudson.init.TaskMethodFinder.lookUp(TaskMethodFinder.java:125)
        at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105)
        at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175)
        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
        at jenkins.model.Jenkins$17.execute(Jenkins.java:3507)
        at org.jvnet.hudson.reactor.Reactor$Node.runIfPossible(Reactor.java:139)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:128)
        at jenkins.model.Jenkins$17.execute(Jenkins.java:3507)
        at org.jvnet.hudson.reactor.Reactor$Node.runIfPossible(Reactor.java:139)
        at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:276)
        at jenkins.model.Jenkins._cleanUpRunTerminators(Jenkins.java:3504)
        at jenkins.model.Jenkins.cleanUp(Jenkins.java:3429)
        at hudson.WebAppMain$3.run(WebAppMain.java:316)
2021-05-23 16:50:10.041+0000 [id=22]    SEVERE  jenkins.model.Jenkins$18#onTaskFailed: Failed NioChannelSelector.cleanUp
java.lang.IllegalArgumentException: Unable to inject class jenkins.slaves.NioChannelSelector
        at hudson.init.TaskMethodFinder.lookUp(TaskMethodFinder.java:125)
        at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105)
        at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175)
        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
        at jenkins.model.Jenkins$17.execute(Jenkins.java:3507)
        at org.jvnet.hudson.reactor.Reactor$Node.runIfPossible(Reactor.java:139)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:128)
        at jenkins.model.Jenkins$17.execute(Jenkins.java:3507)
        at org.jvnet.hudson.reactor.Reactor$Node.runIfPossible(Reactor.java:139)
        at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:276)
        at jenkins.model.Jenkins._cleanUpRunTerminators(Jenkins.java:3504)
        at jenkins.model.Jenkins.cleanUp(Jenkins.java:3429)
        at hudson.WebAppMain$3.run(WebAppMain.java:316)
2021-05-23 16:50:10.047+0000 [id=22]    INFO    jenkins.model.Jenkins$18#onAttained: Completed termination
2021-05-23 16:50:10.047+0000 [id=22]    INFO    jenkins.model.Jenkins#_cleanUpDisconnectComputers: Starting node disconnection
2021-05-23 16:50:10.048+0000 [id=22]    INFO    jenkins.model.Jenkins#_cleanUpShutdownPluginManager: Stopping plugin manager
2021-05-23 16:50:10.173+0000 [id=22]    INFO    jenkins.model.Jenkins#_cleanUpPersistQueue: Persisting build queue
2021-05-23 16:50:10.654+0000 [id=22]    INFO    jenkins.model.Jenkins#cleanUp: Jenkins stopped

Raoul de Haard

unread,
May 31, 2021, 9:30:34 PMMay 31
to Jenkins Users
We stumbled on the same error after upgrading plugins on Jenkins last week.
Search in your Jenkins plugin directory for the jar file starting with the name: guice.
The results should only list one version of the guice jar.

In our case it turned out that the Jacoco plugin came with a newer version of guice than the other plugins did, That caused this problem. We downgraded the Jacoco plugin and it worked again (from jacoco 3.2.0 back to 3.1.1 )

Op zondag 23 mei 2021 om 19:55:03 UTC+2 schreef sverr...@gmail.com:

jn...@cloudbees.com

unread,
Jun 8, 2021, 7:46:27 AMJun 8
to Jenkins Users
There is a PR to the jacoco plugin that should fix this.

https://github.com/jenkinsci/jacoco-plugin/pull/151  along with a build of that https://ci.jenkins.io/job/Plugins/job/jacoco-plugin/job/PR-151/lastStableBuild/artifact/target/jacoco.hpi for people who have been hit and want a fix (or to test it) before it gets released.

/James

Ullrich Hafner

unread,
Jun 8, 2021, 3:12:51 PMJun 8
to Jenkins Users
Is there a reason that you are still using the old and unmaintained JaCoCo plugin and not the code-coverage-api plugin? The functionality should be the same.


-- 
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0c2aa408-f246-40d5-a6f0-e3254b205c45n%40googlegroups.com.

Sverre Moe

unread,
Jun 13, 2021, 1:52:12 PMJun 13
to Jenkins Users
No reason. We now use the Code Coverage API, so just uninstalled the JaCoCo Plugin.
Reply all
Reply to author
Forward
0 new messages