Upgrading Matrix Auth or Folders plugin prevents Jenkins from starting

Issue

  • Logs show the error: SEVERE: found cycle in plugin dependencies: (root=Plugin:matrix-auth, deactivating all involved) Plugin:matrix-auth -> Plugin:cloudbees-folder -> Plugin:credentials -> Plugin:icon-shim -> Plugin:matrix-auth
  • Jenkins startup shows the following error:
hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException
at hudson.WebAppMain$3.run(WebAppMain.java:237)
Caused by: org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException
at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269)
at jenkins.InitReactorRunner.run(InitReactorRunner.java:44)
at jenkins.model.Jenkins.executeReactor(Jenkins.java:935)
at jenkins.model.Jenkins.<init>(Jenkins.java:816)
at hudson.model.Hudson.<init>(Hudson.java:83)
at hudson.model.Hudson.<init>(Hudson.java:79)
at hudson.WebAppMain$3.run(WebAppMain.java:225)
Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException
at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:110)
at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:176)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
at jenkins.model.Jenkins$8.runTask(Jenkins.java:924)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: 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:497)
at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:106)
... 8 more
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at hudson.ExtensionList.get(ExtensionList.java:171)
at hudson.PluginManager$PluginUpdateMonitor.getInstance(PluginManager.java:1347)
at hudson.maven.PluginImpl.init(PluginImpl.java:58)
... 13 more

Environment

  • CloudBees Jenkins Enterprise
  • CloudBees Folder Plugin - 5.2 - 5.2.1
  • Matrix Authorization Strategy Plugin - 1.3
  • Icon Shim Plugin - 2.0.2

Resolution

Please upgrade all three of these plugins to the latest versions. If you are unable to access the web UI please contact cloudbees support to provide you with an updated version of the plugins.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.