Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-33095

Upgrade to folder 5.2.1 + matrix-auth 1.3 results in dead Jenkins

    XMLWordPrintable

Details

    Description

      Routine update of plugins on our 1.642 version Dev system (to test out before Prod) and notice the warnings about Folder + Matrix Auth , so do the right thing and back things up, prepared for some config tweaking ...

      Sadly, fails coming back online with:

      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:926)
          at jenkins.model.Jenkins.<init>(Jenkins.java:818)
          at hudson.model.Hudson.<init>(Hudson.java:85)
          at hudson.model.Hudson.<init>(Hudson.java:81)
          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:915)
          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:1145)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
          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:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:606)
          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:635)
          at java.util.ArrayList.get(ArrayList.java:411)
          at hudson.ExtensionList.get(ExtensionList.java:171)
          at hudson.PluginManager$PluginUpdateMonitor.getInstance(PluginManager.java:1323)
          at hudson.maven.PluginImpl.init(PluginImpl.java:58)
          ... 13 more
      

      Still unsure how this was caused, definitely know rolling back matrix-auth to 1.1 or 1.2 resolves it.

      Attachments

        Issue Links

          Activity

            I had the same problem. Selection of stack trace:

            INFO: Took 0ms for Initializing plugin github-api by InitReactorRunner [#1]
            Feb 23, 2016 1:20:44 PM jenkins.InitReactorRunner$1 onTaskFailed
            SEVERE: Failed Initializing plugin github
            java.lang.NullPointerException
                    at org.jenkinsci.plugins.github.migration.Migrator.migrate(Migrator.java:42)
                    at org.jenkinsci.plugins.github.GitHubPlugin.postInitialize(GitHubPlugin.java:39)
                    at hudson.PluginManager$2$1$2.run(PluginManager.java:424)
                    at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
                    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)
            
            Feb 23, 2016 1:20:44 PM jenkins.model.Jenkins$8 runTask
            INFO: Took 0ms for Initializing plugin jobConfigHistory by InitReactorRunner [#1]
            Feb 23, 2016 1:20:44 PM jenkins.InitReactorRunner$1 onTaskFailed
            SEVERE: Failed Initializing plugin copyartifact
            java.lang.NullPointerException
                    at hudson.plugins.copyartifact.BuildSelectorParameter.initAliases(BuildSelectorParameter.java:152)
                    at hudson.plugins.copyartifact.CopyArtifactPlugin.postInitialize(CopyArtifactPlugin.java:35)
                    at hudson.PluginManager$2$1$2.run(PluginManager.java:424)
                    at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
                    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)
            
            INFO: Took 0ms for Initializing plugin show-build-parameters by InitReactorRunner [#1]
            Feb 23, 2016 1:20:44 PM org.jvnet.hudson.annotation_indexer.Index$2$1 fetch
            WARNING: Failed to load hudson.plugins.git.GitSCM
            java.lang.NoClassDefFoundError: com/cloudbees/plugins/credentials/common/StandardCredentials
                    at java.lang.Class.getDeclaredMethods0(Native Method)
                    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
                    at java.lang.Class.getDeclaredMethods(Class.java:1975)
                    at org.jvnet.hudson.annotation_indexer.Index$2$1.fetch(Index.java:102)
                    at org.jvnet.hudson.annotation_indexer.Index$2$1.hasNext(Index.java:72)
                    at org.jvnet.hudson.annotation_indexer.SubtypeIterator.fetch(SubtypeIterator.java:18)
                    at org.jvnet.hudson.annotation_indexer.SubtypeIterator.hasNext(SubtypeIterator.java:28)
                    at hudson.init.TaskMethodFinder.discoverTasks(TaskMethodFinder.java:56)
                    at hudson.init.InitializerFinder.discoverTasks(InitializerFinder.java:33)
                    at hudson.PluginManager$2$1$3.run(PluginManager.java:438)
                    at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
                    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.ClassNotFoundException: com.cloudbees.plugins.credentials.common.StandardCredentials
                    at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
                    at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
                    at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
                    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
                    ... 18 more
            
            Feb 23, 2016 1:20:44 PM org.jvnet.hudson.annotation_indexer.Index$2$1 fetch
            WARNING: Failed to load hudson.scm.SubversionSCM
            java.lang.NoClassDefFoundError: com/cloudbees/plugins/credentials/common/StandardCredentials
                    at java.lang.Class.getDeclaredMethods0(Native Method)
                    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
                    at java.lang.Class.getDeclaredMethods(Class.java:1975)
                    at org.jvnet.hudson.annotation_indexer.Index$2$1.fetch(Index.java:102)
                    at org.jvnet.hudson.annotation_indexer.Index$2$1.hasNext(Index.java:72)
                    at org.jvnet.hudson.annotation_indexer.SubtypeIterator.fetch(SubtypeIterator.java:18)
                    at org.jvnet.hudson.annotation_indexer.SubtypeIterator.hasNext(SubtypeIterator.java:28)
                    at hudson.init.TaskMethodFinder.discoverTasks(TaskMethodFinder.java:56)
                    at hudson.init.InitializerFinder.discoverTasks(InitializerFinder.java:33)
                    at hudson.PluginManager$2$1$3.run(PluginManager.java:438)
                    at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
                    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.ClassNotFoundException: com.cloudbees.plugins.credentials.common.StandardCredentials
                    at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
                    at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
                    at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
                    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
                    ... 18 more
            
            INFO: Took 1ms for RekeySecretAdminMonitor.scanOnReboot by InitReactorRunner [#1]
            Feb 23, 2016 1:20:44 PM jenkins.InitReactorRunner$1 onTaskFailed
            SEVERE: Failed PluginImpl.init
            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
            
            Feb 23, 2016 1:20:44 PM hudson.ExtensionFinder$Sezpoz _find
            WARNING: Failed to load com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy
            java.lang.InstantiationException: java.lang.NoClassDefFoundError: hudson/security/GlobalMatrixAuthorizationStrategy$DescriptorImpl
                    at net.java.sezpoz.IndexItem.element(IndexItem.java:146)
                    at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:623)
                    at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:612)
                    at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:389)
                    at hudson.ExtensionList.load(ExtensionList.java:349)
                    at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287)
                    at hudson.ExtensionList.iterator(ExtensionList.java:156)
                    at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:382)
                    at hudson.ExtensionList.load(ExtensionList.java:349)
                    at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287)
                    at hudson.ExtensionList.iterator(ExtensionList.java:156)
                    at com.cloudbees.jenkins.support.SupportPlugin.postInitialize(SupportPlugin.java:405)
                    at hudson.PluginManager$2$1$2.run(PluginManager.java:424)
                    at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
                    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.NoClassDefFoundError: hudson/security/GlobalMatrixAuthorizationStrategy$DescriptorImpl
                    at java.lang.ClassLoader.defineClass1(Native Method)
                    at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
                    at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
                    at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:802)
                    at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
                    at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
                    at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
                    at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
                    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
                    at java.lang.Class.getDeclaredFields0(Native Method)
                    at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
                    at java.lang.Class.getField0(Class.java:2975)
                    at java.lang.Class.getField(Class.java:1701)
                    at net.java.sezpoz.IndexItem.element(IndexItem.java:138)
                    ... 20 more
            Caused by: java.lang.ClassNotFoundException: hudson.security.GlobalMatrixAuthorizationStrategy$DescriptorImpl
                    at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
                    at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
                    at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
                    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
                    ... 34 more
            
            mwebber Matthew Webber added a comment - I had the same problem. Selection of stack trace: INFO: Took 0ms for Initializing plugin github-api by InitReactorRunner [#1] Feb 23, 2016 1:20:44 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Initializing plugin github java.lang.NullPointerException at org.jenkinsci.plugins.github.migration.Migrator.migrate(Migrator.java:42) at org.jenkinsci.plugins.github.GitHubPlugin.postInitialize(GitHubPlugin.java:39) at hudson.PluginManager$2$1$2.run(PluginManager.java:424) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) 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) Feb 23, 2016 1:20:44 PM jenkins.model.Jenkins$8 runTask INFO: Took 0ms for Initializing plugin jobConfigHistory by InitReactorRunner [#1] Feb 23, 2016 1:20:44 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Initializing plugin copyartifact java.lang.NullPointerException at hudson.plugins.copyartifact.BuildSelectorParameter.initAliases(BuildSelectorParameter.java:152) at hudson.plugins.copyartifact.CopyArtifactPlugin.postInitialize(CopyArtifactPlugin.java:35) at hudson.PluginManager$2$1$2.run(PluginManager.java:424) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) 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) INFO: Took 0ms for Initializing plugin show-build-parameters by InitReactorRunner [#1] Feb 23, 2016 1:20:44 PM org.jvnet.hudson.annotation_indexer.Index$2$1 fetch WARNING: Failed to load hudson.plugins.git.GitSCM java.lang.NoClassDefFoundError: com/cloudbees/plugins/credentials/common/StandardCredentials at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) at java.lang.Class.getDeclaredMethods(Class.java:1975) at org.jvnet.hudson.annotation_indexer.Index$2$1.fetch(Index.java:102) at org.jvnet.hudson.annotation_indexer.Index$2$1.hasNext(Index.java:72) at org.jvnet.hudson.annotation_indexer.SubtypeIterator.fetch(SubtypeIterator.java:18) at org.jvnet.hudson.annotation_indexer.SubtypeIterator.hasNext(SubtypeIterator.java:28) at hudson.init.TaskMethodFinder.discoverTasks(TaskMethodFinder.java:56) at hudson.init.InitializerFinder.discoverTasks(InitializerFinder.java:33) at hudson.PluginManager$2$1$3.run(PluginManager.java:438) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) 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.ClassNotFoundException: com.cloudbees.plugins.credentials.common.StandardCredentials at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 18 more Feb 23, 2016 1:20:44 PM org.jvnet.hudson.annotation_indexer.Index$2$1 fetch WARNING: Failed to load hudson.scm.SubversionSCM java.lang.NoClassDefFoundError: com/cloudbees/plugins/credentials/common/StandardCredentials at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) at java.lang.Class.getDeclaredMethods(Class.java:1975) at org.jvnet.hudson.annotation_indexer.Index$2$1.fetch(Index.java:102) at org.jvnet.hudson.annotation_indexer.Index$2$1.hasNext(Index.java:72) at org.jvnet.hudson.annotation_indexer.SubtypeIterator.fetch(SubtypeIterator.java:18) at org.jvnet.hudson.annotation_indexer.SubtypeIterator.hasNext(SubtypeIterator.java:28) at hudson.init.TaskMethodFinder.discoverTasks(TaskMethodFinder.java:56) at hudson.init.InitializerFinder.discoverTasks(InitializerFinder.java:33) at hudson.PluginManager$2$1$3.run(PluginManager.java:438) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) 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.ClassNotFoundException: com.cloudbees.plugins.credentials.common.StandardCredentials at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 18 more INFO: Took 1ms for RekeySecretAdminMonitor.scanOnReboot by InitReactorRunner [#1] Feb 23, 2016 1:20:44 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed PluginImpl.init 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 Feb 23, 2016 1:20:44 PM hudson.ExtensionFinder$Sezpoz _find WARNING: Failed to load com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy java.lang.InstantiationException: java.lang.NoClassDefFoundError: hudson/security/GlobalMatrixAuthorizationStrategy$DescriptorImpl at net.java.sezpoz.IndexItem.element(IndexItem.java:146) at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:623) at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:612) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:389) at hudson.ExtensionList.load(ExtensionList.java:349) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:382) at hudson.ExtensionList.load(ExtensionList.java:349) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287) at hudson.ExtensionList.iterator(ExtensionList.java:156) at com.cloudbees.jenkins.support.SupportPlugin.postInitialize(SupportPlugin.java:405) at hudson.PluginManager$2$1$2.run(PluginManager.java:424) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) 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.NoClassDefFoundError: hudson/security/GlobalMatrixAuthorizationStrategy$DescriptorImpl at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139) at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:802) at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310) at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2583) at java.lang.Class.getField0(Class.java:2975) at java.lang.Class.getField(Class.java:1701) at net.java.sezpoz.IndexItem.element(IndexItem.java:138) ... 20 more Caused by: java.lang.ClassNotFoundException: hudson.security.GlobalMatrixAuthorizationStrategy$DescriptorImpl at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 34 more

            Same here with Jenkins 1.649.

            hoeferh Henning Hoefer added a comment - Same here with Jenkins 1.649.
            noirbizarre Axel Haustant added a comment - - edited

            Same for me, downgraded to Cloudbees Folder 5.1 and Matrix Auth 1.2 and everything start working again.

            noirbizarre Axel Haustant added a comment - - edited Same for me, downgraded to Cloudbees Folder 5.1 and Matrix Auth 1.2 and everything start working again.

            Same problem here, noticed this line in the log:
            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

            farmgeek4life Bryson Gibbons added a comment - Same problem here, noticed this line in the log: 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 1.642.1 killed in here by the upgrade.

            lucasocio Leandro Lucarella added a comment - Jenkins 1.642.1 killed in here by the upgrade.
            jglick Jesse Glick added a comment -

            Sigh, another case where we needed JENKINS-28942.

            jglick Jesse Glick added a comment - Sigh, another case where we needed JENKINS-28942 .
            jglick Jesse Glick added a comment -

            I released Icon Shim 2.0.3 which should fix this problem. It is not yet on the update centers.

            jglick Jesse Glick added a comment - I released Icon Shim 2.0.3 which should fix this problem. It is not yet on the update centers.
            brantone Brantone added a comment -

            Thanks for the fast update

            brantone Brantone added a comment - Thanks for the fast update
            jglick Jesse Glick added a comment -

            So fixed as far as code goes, but we need to wait for the update center to get the 2.0.3 release. Unfortunately an attempt to manually kick it failed—the UC was regenerated, but with a cached version of the Maven index that still listed 2.0.2.

            jglick Jesse Glick added a comment - So fixed as far as code goes, but we need to wait for the update center to get the 2.0.3 release. Unfortunately an attempt to manually kick it failed—the UC was regenerated, but with a cached version of the Maven index that still listed 2.0.2.
            brantone Brantone added a comment -

            Got updated plugins, all is looking right in the world again.
            Thanks for fast turnaround.

            brantone Brantone added a comment - Got updated plugins, all is looking right in the world again. Thanks for fast turnaround.

            Code changed in jenkins
            User: Jesse Glick
            Path:
            pom.xml
            src/main/resources/com/cloudbees/hudson/plugins/folder/properties/AuthorizationMatrixProperty/config.jelly
            http://jenkins-ci.org/commit/matrix-auth-plugin/4e43378df03b0843cba30eb86add712151ba69f3
            Log:
            Forgot to include AuthorizationMatrixProperty/config.jelly here.
            Also requiring icon-shim 2.0.3 to force the user to pick up https://github.com/jenkinsci/icon-shim-plugin/pull/2 and avoid JENKINS-33095.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: pom.xml src/main/resources/com/cloudbees/hudson/plugins/folder/properties/AuthorizationMatrixProperty/config.jelly http://jenkins-ci.org/commit/matrix-auth-plugin/4e43378df03b0843cba30eb86add712151ba69f3 Log: Forgot to include AuthorizationMatrixProperty/config.jelly here. Also requiring icon-shim 2.0.3 to force the user to pick up https://github.com/jenkinsci/icon-shim-plugin/pull/2 and avoid JENKINS-33095 .
            jglick Jesse Glick added a comment -

            In order to correct a problem configuring per-folder access control lists, you will need to update Matrix Auth to 1.3.2 (which will pull in Folders 5.2.2 and Icon Shim 2.0.3).

            jglick Jesse Glick added a comment - In order to correct a problem configuring per-folder access control lists, you will need to update Matrix Auth to 1.3.2 (which will pull in Folders 5.2.2 and Icon Shim 2.0.3).

            Matrix Auth 1.3.2 does NOT automatically pull in CloudBees Folders Plugin. Installing CloudBees Folders Plugin manually solves the problem.

            slawomir_czarko Slawomir Czarko added a comment - Matrix Auth 1.3.2 does NOT automatically pull in CloudBees Folders Plugin. Installing CloudBees Folders Plugin manually solves the problem.
            mcsf M Chon added a comment - - edited

            I am seeing this error in jenkins.log on startup.
            I do not have the Cloudbees Folders Plugin installed.
            Will installing it make this error go away?

            INFO: Prepared all plugins
            Jul 07, 2016 10:44:35 AM hudson.ExtensionFinder$Sezpoz scout
            WARNING: Failed to scout com.cloudbees.hudson.plugins.folder.properties.AuthorizationMatrixProperty$DescriptorImpl
            java.lang.InstantiationException: java.lang.NoClassDefFoundError: com/cloudbees/hudson/plugins/folder/AbstractFolderPropertyDescriptor
                    at net.java.sezpoz.IndexItem.element(IndexItem.java:146)
                    at hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:662)
                    at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:383)
            
            
            mcsf M Chon added a comment - - edited I am seeing this error in jenkins.log on startup. I do not have the Cloudbees Folders Plugin installed. Will installing it make this error go away? INFO: Prepared all plugins Jul 07, 2016 10:44:35 AM hudson.ExtensionFinder$Sezpoz scout WARNING: Failed to scout com.cloudbees.hudson.plugins.folder.properties.AuthorizationMatrixProperty$DescriptorImpl java.lang.InstantiationException: java.lang.NoClassDefFoundError: com/cloudbees/hudson/plugins/folder/AbstractFolderPropertyDescriptor at net.java.sezpoz.IndexItem.element(IndexItem.java:146) at hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:662) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:383)
            mcsf M Chon added a comment -

            OK, after installing Cloudbees Folders Plugin, these messages went away.

            mcsf M Chon added a comment - OK, after installing Cloudbees Folders Plugin, these messages went away.

            People

              Unassigned Unassigned
              brantone Brantone
              Votes:
              7 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: