java.lang.InstantiationException: java.lang.NoClassDefFoundError: Could not initialize class hudson.maven.MavenModuleSet$DescriptorImpl

Jenkins JIRA | Daniel Beck | 8 months ago
  1. 0

    h3. Steps to reproduce # Define pristine Jenkins home directory # Run Jenkins 1.532.3 # Save the Global Security configuration page once to get a config.xml declaring 1.0 # Kill Jenkins # Run Jenkins 2.0-beta-2 on the same Jenkins home h3. Expected result Upgrading works. h3. Actual result Jenkins spews warnings {noformat}$ java -jar Jenkins/jenkins-2.0-beta-2.war Running from: /Users/danielbeck/Jenkins/jenkins-2.0-beta-2.war webroot: EnvVars.masterEnvVars.get("JENKINS_HOME") Apr 05, 2016 1:08:32 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Logging initialized @399ms Apr 05, 2016 1:08:32 AM winstone.Logger logInternal INFO: Beginning extraction from war file Apr 05, 2016 1:08:34 AM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: Empty contextPath Apr 05, 2016 1:08:34 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: jetty-9.2.z-SNAPSHOT Apr 05, 2016 1:08:35 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet Jenkins home directory: /Users/danielbeck/JENKINS-33773-Home found at: EnvVars.masterEnvVars.get("JENKINS_HOME") Apr 05, 2016 1:08:36 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started w.@25a32b76{/,file:/Users/danielbeck/JENKINS-33773-Home/war/,AVAILABLE}{/Users/danielbeck/JENKINS-33773-Home/war} Apr 05, 2016 1:08:36 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started ServerConnector@4db6d08b{HTTP/1.1}{0.0.0.0:8080} Apr 05, 2016 1:08:36 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started @3725ms Apr 05, 2016 1:08:36 AM winstone.Logger logInternal INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled Apr 05, 2016 1:08:36 AM jenkins.InitReactorRunner$1 onAttained INFO: Started initialization Apr 05, 2016 1:08:36 AM jenkins.InitReactorRunner$1 onAttained INFO: Listed all plugins Apr 05, 2016 1:08:36 AM hudson.ExtensionFinder$Sezpoz scout WARNING: Failed to scout hudson.maven.MavenModuleSet java.lang.NoClassDefFoundError: hudson/tasks/junit/JUnitResultArchiver at hudson.maven.MavenModuleSet$DescriptorImpl.<clinit>(MavenModuleSet.java:1320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) at hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:672) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:476) at hudson.ExtensionList.load(ExtensionList.java:349) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287) at hudson.ExtensionList.getComponents(ExtensionList.java:167) at jenkins.model.Jenkins$9.onInitMilestoneAttained(Jenkins.java:1027) at jenkins.InitReactorRunner$1.onAttained(InitReactorRunner.java:79) at org.jvnet.hudson.reactor.ReactorListener$Aggregator.onAttained(ReactorListener.java:104) at org.jvnet.hudson.reactor.Reactor$1.run(Reactor.java:176) 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:744) Caused by: java.lang.ClassNotFoundException: hudson.tasks.junit.JUnitResultArchiver 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:358) ... 16 more Apr 05, 2016 1:08:38 AM jenkins.InitReactorRunner$1 onAttained INFO: Prepared all plugins Apr 05, 2016 1:08:38 AM jenkins.InitReactorRunner$1 onAttained INFO: Started all plugins Apr 05, 2016 1:08:38 AM jenkins.InitReactorRunner$1 onAttained INFO: Augmented all extensions Apr 05, 2016 1:08:38 AM hudson.ExtensionFinder$GuiceFinder instantiate WARNING: Failed to load hudson.maven.MavenModuleSet java.lang.InstantiationException: java.lang.NoClassDefFoundError: Could not initialize class hudson.maven.MavenModuleSet$DescriptorImpl at net.java.sezpoz.IndexItem.instance(IndexItem.java:193) at hudson.ExtensionFinder$GuiceFinder.instantiate(ExtensionFinder.java:353) at hudson.ExtensionFinder$GuiceFinder.access$700(ExtensionFinder.java:232) at hudson.ExtensionFinder$GuiceFinder$SezpozModule$1.get(ExtensionFinder.java:529) at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86) at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:66) at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:65) at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:424) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1051) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001) at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:386) at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:377) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:482) at hudson.ExtensionList.load(ExtensionList.java:349) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:66) 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:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) 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:744) Caused by: java.lang.NoClassDefFoundError: Could not initialize class hudson.maven.MavenModuleSet$DescriptorImpl at hudson.maven.MavenModuleSet.<clinit>(MavenModuleSet.java:1217) at sun.misc.Unsafe.ensureClassInitialized(Native Method) at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43) at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:140) at java.lang.reflect.Field.acquireFieldAccessor(Field.java:1057) at java.lang.reflect.Field.getFieldAccessor(Field.java:1038) at java.lang.reflect.Field.get(Field.java:379) at net.java.sezpoz.IndexItem.instance(IndexItem.java:185) ... 36 more Apr 05, 2016 1:08:39 AM hudson.ExtensionComponent compareTo WARNING: null java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String; at hudson.model.ExternalJob$DescriptorImpl.getDisplayName(ExternalJob.java:120) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:97) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:42) at java.util.ComparableTimSort.binarySort(ComparableTimSort.java:232) at java.util.ComparableTimSort.sort(ComparableTimSort.java:176) at java.util.ComparableTimSort.sort(ComparableTimSort.java:146) at java.util.Arrays.sort(Arrays.java:472) at java.util.Collections.sort(Collections.java:155) at hudson.ExtensionList.sort(ExtensionList.java:369) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:289) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:66) 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:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) 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:744) Apr 05, 2016 1:08:39 AM hudson.ExtensionComponent compareTo WARNING: null java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String; at hudson.model.ExternalJob$DescriptorImpl.getDisplayName(ExternalJob.java:120) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:97) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:42) at java.util.ComparableTimSort.binarySort(ComparableTimSort.java:232) at java.util.ComparableTimSort.sort(ComparableTimSort.java:176) at java.util.ComparableTimSort.sort(ComparableTimSort.java:146) at java.util.Arrays.sort(Arrays.java:472) at java.util.Collections.sort(Collections.java:155) at hudson.ExtensionList.sort(ExtensionList.java:369) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:289) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:66) 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:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) 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:744) Apr 05, 2016 1:08:39 AM hudson.ExtensionComponent compareTo WARNING: null java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String; at hudson.model.ExternalJob$DescriptorImpl.getDisplayName(ExternalJob.java:120) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:97) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:42) at java.util.ComparableTimSort.binarySort(ComparableTimSort.java:232) at java.util.ComparableTimSort.sort(ComparableTimSort.java:176) at java.util.ComparableTimSort.sort(ComparableTimSort.java:146) at java.util.Arrays.sort(Arrays.java:472) at java.util.Collections.sort(Collections.java:155) at hudson.ExtensionList.sort(ExtensionList.java:369) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:289) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:66) 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:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) 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:744) Apr 05, 2016 1:08:39 AM hudson.ExtensionComponent compareTo WARNING: null java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String; at hudson.model.ExternalJob$DescriptorImpl.getDisplayName(ExternalJob.java:120) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:97) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:42) at java.util.ComparableTimSort.binarySort(ComparableTimSort.java:232) at java.util.ComparableTimSort.sort(ComparableTimSort.java:176) at java.util.ComparableTimSort.sort(ComparableTimSort.java:146) at java.util.Arrays.sort(Arrays.java:472) at java.util.Collections.sort(Collections.java:155) at hudson.ExtensionList.sort(ExtensionList.java:369) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:289) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:66) 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:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) 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:744) Apr 05, 2016 1:08:39 AM hudson.ExtensionComponent compareTo WARNING: null java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String; at hudson.model.ExternalJob$DescriptorImpl.getDisplayName(ExternalJob.java:120) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:97) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:42) at java.util.ComparableTimSort.mergeLo(ComparableTimSort.java:654) at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:451) at java.util.ComparableTimSort.mergeCollapse(ComparableTimSort.java:376) at java.util.ComparableTimSort.sort(ComparableTimSort.java:182) at java.util.ComparableTimSort.sort(ComparableTimSort.java:146) at java.util.Arrays.sort(Arrays.java:472) at java.util.Collections.sort(Collections.java:155) at hudson.ExtensionList.sort(ExtensionList.java:369) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:289) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:66) 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:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) 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:744) Apr 05, 2016 1:08:39 AM hudson.ExtensionComponent compareTo WARNING: null java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String; at hudson.model.ExternalJob$DescriptorImpl.getDisplayName(ExternalJob.java:120) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:97) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:42) at java.util.ComparableTimSort.mergeLo(ComparableTimSort.java:654) at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:451) at java.util.ComparableTimSort.mergeCollapse(ComparableTimSort.java:376) at java.util.ComparableTimSort.sort(ComparableTimSort.java:182) at java.util.ComparableTimSort.sort(ComparableTimSort.java:146) at java.util.Arrays.sort(Arrays.java:472) at java.util.Collections.sort(Collections.java:155) at hudson.ExtensionList.sort(ExtensionList.java:369) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:289) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:66) 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:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) 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:744) Apr 05, 2016 1:08:39 AM hudson.ExtensionComponent compareTo WARNING: null java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String; at hudson.model.ExternalJob$DescriptorImpl.getDisplayName(ExternalJob.java:120) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:97) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:42) at java.util.ComparableTimSort.mergeHi(ComparableTimSort.java:773) at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:453) at java.util.ComparableTimSort.mergeCollapse(ComparableTimSort.java:376) at java.util.ComparableTimSort.sort(ComparableTimSort.java:182) at java.util.ComparableTimSort.sort(ComparableTimSort.java:146) at java.util.Arrays.sort(Arrays.java:472) at java.util.Collections.sort(Collections.java:155) at hudson.ExtensionList.sort(ExtensionList.java:369) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:289) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:66) 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:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) 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:744) Apr 05, 2016 1:08:39 AM hudson.ExtensionComponent compareTo WARNING: null java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String; at hudson.model.ExternalJob$DescriptorImpl.getDisplayName(ExternalJob.java:120) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:97) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:42) at java.util.ComparableTimSort.mergeLo(ComparableTimSort.java:654) at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:451) at java.util.ComparableTimSort.mergeForceCollapse(ComparableTimSort.java:392) at java.util.ComparableTimSort.sort(ComparableTimSort.java:191) at java.util.ComparableTimSort.sort(ComparableTimSort.java:146) at java.util.Arrays.sort(Arrays.java:472) at java.util.Collections.sort(Collections.java:155) at hudson.ExtensionList.sort(ExtensionList.java:369) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:289) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:66) 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:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) 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:744) Apr 05, 2016 1:08:39 AM jenkins.InitReactorRunner$1 onAttained INFO: Loaded all jobs Apr 05, 2016 1:08:39 AM hudson.model.UpdateCenter init INFO: This is a new Jenkins instance. The Plugin Install Wizard will be launched. Apr 05, 2016 1:08:39 AM hudson.model.AsyncPeriodicWork$1 run INFO: Started Download metadata Apr 05, 2016 1:08:40 AM org.jenkinsci.main.modules.sshd.SSHD start INFO: Started SSHD at port 57669 Apr 05, 2016 1:08:44 AM hudson.model.UpdateSite updateData INFO: Obtained the latest update center data file for UpdateSource default Apr 05, 2016 1:08:44 AM hudson.model.UpdateSite updateData INFO: Obtained the latest update center data file for UpdateSource default Apr 05, 2016 1:08:44 AM jenkins.InitReactorRunner$1 onAttained INFO: Completed initialization{noformat} Not sure what the circumstances are for this to happen.

    Jenkins JIRA | 8 months ago | Daniel Beck
    java.lang.InstantiationException: java.lang.NoClassDefFoundError: Could not initialize class hudson.maven.MavenModuleSet$DescriptorImpl
  2. 0

    h3. Steps to reproduce # Define pristine Jenkins home directory # Run Jenkins 1.532.3 # Save the Global Security configuration page once to get a config.xml declaring 1.0 # Kill Jenkins # Run Jenkins 2.0-beta-2 on the same Jenkins home h3. Expected result Upgrading works. h3. Actual result Jenkins spews warnings {noformat}$ java -jar Jenkins/jenkins-2.0-beta-2.war Running from: /Users/danielbeck/Jenkins/jenkins-2.0-beta-2.war webroot: EnvVars.masterEnvVars.get("JENKINS_HOME") Apr 05, 2016 1:08:32 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Logging initialized @399ms Apr 05, 2016 1:08:32 AM winstone.Logger logInternal INFO: Beginning extraction from war file Apr 05, 2016 1:08:34 AM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: Empty contextPath Apr 05, 2016 1:08:34 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: jetty-9.2.z-SNAPSHOT Apr 05, 2016 1:08:35 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet Jenkins home directory: /Users/danielbeck/JENKINS-33773-Home found at: EnvVars.masterEnvVars.get("JENKINS_HOME") Apr 05, 2016 1:08:36 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started w.@25a32b76{/,file:/Users/danielbeck/JENKINS-33773-Home/war/,AVAILABLE}{/Users/danielbeck/JENKINS-33773-Home/war} Apr 05, 2016 1:08:36 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started ServerConnector@4db6d08b{HTTP/1.1}{0.0.0.0:8080} Apr 05, 2016 1:08:36 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started @3725ms Apr 05, 2016 1:08:36 AM winstone.Logger logInternal INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled Apr 05, 2016 1:08:36 AM jenkins.InitReactorRunner$1 onAttained INFO: Started initialization Apr 05, 2016 1:08:36 AM jenkins.InitReactorRunner$1 onAttained INFO: Listed all plugins Apr 05, 2016 1:08:36 AM hudson.ExtensionFinder$Sezpoz scout WARNING: Failed to scout hudson.maven.MavenModuleSet java.lang.NoClassDefFoundError: hudson/tasks/junit/JUnitResultArchiver at hudson.maven.MavenModuleSet$DescriptorImpl.<clinit>(MavenModuleSet.java:1320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) at hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:672) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:476) at hudson.ExtensionList.load(ExtensionList.java:349) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287) at hudson.ExtensionList.getComponents(ExtensionList.java:167) at jenkins.model.Jenkins$9.onInitMilestoneAttained(Jenkins.java:1027) at jenkins.InitReactorRunner$1.onAttained(InitReactorRunner.java:79) at org.jvnet.hudson.reactor.ReactorListener$Aggregator.onAttained(ReactorListener.java:104) at org.jvnet.hudson.reactor.Reactor$1.run(Reactor.java:176) 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:744) Caused by: java.lang.ClassNotFoundException: hudson.tasks.junit.JUnitResultArchiver 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:358) ... 16 more Apr 05, 2016 1:08:38 AM jenkins.InitReactorRunner$1 onAttained INFO: Prepared all plugins Apr 05, 2016 1:08:38 AM jenkins.InitReactorRunner$1 onAttained INFO: Started all plugins Apr 05, 2016 1:08:38 AM jenkins.InitReactorRunner$1 onAttained INFO: Augmented all extensions Apr 05, 2016 1:08:38 AM hudson.ExtensionFinder$GuiceFinder instantiate WARNING: Failed to load hudson.maven.MavenModuleSet java.lang.InstantiationException: java.lang.NoClassDefFoundError: Could not initialize class hudson.maven.MavenModuleSet$DescriptorImpl at net.java.sezpoz.IndexItem.instance(IndexItem.java:193) at hudson.ExtensionFinder$GuiceFinder.instantiate(ExtensionFinder.java:353) at hudson.ExtensionFinder$GuiceFinder.access$700(ExtensionFinder.java:232) at hudson.ExtensionFinder$GuiceFinder$SezpozModule$1.get(ExtensionFinder.java:529) at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86) at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:66) at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:65) at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:424) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1051) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001) at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:386) at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:377) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:482) at hudson.ExtensionList.load(ExtensionList.java:349) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:66) 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:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) 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:744) Caused by: java.lang.NoClassDefFoundError: Could not initialize class hudson.maven.MavenModuleSet$DescriptorImpl at hudson.maven.MavenModuleSet.<clinit>(MavenModuleSet.java:1217) at sun.misc.Unsafe.ensureClassInitialized(Native Method) at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43) at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:140) at java.lang.reflect.Field.acquireFieldAccessor(Field.java:1057) at java.lang.reflect.Field.getFieldAccessor(Field.java:1038) at java.lang.reflect.Field.get(Field.java:379) at net.java.sezpoz.IndexItem.instance(IndexItem.java:185) ... 36 more Apr 05, 2016 1:08:39 AM hudson.ExtensionComponent compareTo WARNING: null java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String; at hudson.model.ExternalJob$DescriptorImpl.getDisplayName(ExternalJob.java:120) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:97) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:42) at java.util.ComparableTimSort.binarySort(ComparableTimSort.java:232) at java.util.ComparableTimSort.sort(ComparableTimSort.java:176) at java.util.ComparableTimSort.sort(ComparableTimSort.java:146) at java.util.Arrays.sort(Arrays.java:472) at java.util.Collections.sort(Collections.java:155) at hudson.ExtensionList.sort(ExtensionList.java:369) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:289) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:66) 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:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) 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:744) Apr 05, 2016 1:08:39 AM hudson.ExtensionComponent compareTo WARNING: null java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String; at hudson.model.ExternalJob$DescriptorImpl.getDisplayName(ExternalJob.java:120) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:97) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:42) at java.util.ComparableTimSort.binarySort(ComparableTimSort.java:232) at java.util.ComparableTimSort.sort(ComparableTimSort.java:176) at java.util.ComparableTimSort.sort(ComparableTimSort.java:146) at java.util.Arrays.sort(Arrays.java:472) at java.util.Collections.sort(Collections.java:155) at hudson.ExtensionList.sort(ExtensionList.java:369) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:289) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:66) 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:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) 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:744) Apr 05, 2016 1:08:39 AM hudson.ExtensionComponent compareTo WARNING: null java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String; at hudson.model.ExternalJob$DescriptorImpl.getDisplayName(ExternalJob.java:120) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:97) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:42) at java.util.ComparableTimSort.binarySort(ComparableTimSort.java:232) at java.util.ComparableTimSort.sort(ComparableTimSort.java:176) at java.util.ComparableTimSort.sort(ComparableTimSort.java:146) at java.util.Arrays.sort(Arrays.java:472) at java.util.Collections.sort(Collections.java:155) at hudson.ExtensionList.sort(ExtensionList.java:369) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:289) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:66) 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:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) 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:744) Apr 05, 2016 1:08:39 AM hudson.ExtensionComponent compareTo WARNING: null java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String; at hudson.model.ExternalJob$DescriptorImpl.getDisplayName(ExternalJob.java:120) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:97) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:42) at java.util.ComparableTimSort.binarySort(ComparableTimSort.java:232) at java.util.ComparableTimSort.sort(ComparableTimSort.java:176) at java.util.ComparableTimSort.sort(ComparableTimSort.java:146) at java.util.Arrays.sort(Arrays.java:472) at java.util.Collections.sort(Collections.java:155) at hudson.ExtensionList.sort(ExtensionList.java:369) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:289) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:66) 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:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) 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:744) Apr 05, 2016 1:08:39 AM hudson.ExtensionComponent compareTo WARNING: null java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String; at hudson.model.ExternalJob$DescriptorImpl.getDisplayName(ExternalJob.java:120) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:97) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:42) at java.util.ComparableTimSort.mergeLo(ComparableTimSort.java:654) at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:451) at java.util.ComparableTimSort.mergeCollapse(ComparableTimSort.java:376) at java.util.ComparableTimSort.sort(ComparableTimSort.java:182) at java.util.ComparableTimSort.sort(ComparableTimSort.java:146) at java.util.Arrays.sort(Arrays.java:472) at java.util.Collections.sort(Collections.java:155) at hudson.ExtensionList.sort(ExtensionList.java:369) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:289) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:66) 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:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) 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:744) Apr 05, 2016 1:08:39 AM hudson.ExtensionComponent compareTo WARNING: null java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String; at hudson.model.ExternalJob$DescriptorImpl.getDisplayName(ExternalJob.java:120) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:97) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:42) at java.util.ComparableTimSort.mergeLo(ComparableTimSort.java:654) at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:451) at java.util.ComparableTimSort.mergeCollapse(ComparableTimSort.java:376) at java.util.ComparableTimSort.sort(ComparableTimSort.java:182) at java.util.ComparableTimSort.sort(ComparableTimSort.java:146) at java.util.Arrays.sort(Arrays.java:472) at java.util.Collections.sort(Collections.java:155) at hudson.ExtensionList.sort(ExtensionList.java:369) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:289) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:66) 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:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) 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:744) Apr 05, 2016 1:08:39 AM hudson.ExtensionComponent compareTo WARNING: null java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String; at hudson.model.ExternalJob$DescriptorImpl.getDisplayName(ExternalJob.java:120) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:97) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:42) at java.util.ComparableTimSort.mergeHi(ComparableTimSort.java:773) at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:453) at java.util.ComparableTimSort.mergeCollapse(ComparableTimSort.java:376) at java.util.ComparableTimSort.sort(ComparableTimSort.java:182) at java.util.ComparableTimSort.sort(ComparableTimSort.java:146) at java.util.Arrays.sort(Arrays.java:472) at java.util.Collections.sort(Collections.java:155) at hudson.ExtensionList.sort(ExtensionList.java:369) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:289) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:66) 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:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) 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:744) Apr 05, 2016 1:08:39 AM hudson.ExtensionComponent compareTo WARNING: null java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String; at hudson.model.ExternalJob$DescriptorImpl.getDisplayName(ExternalJob.java:120) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:97) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:42) at java.util.ComparableTimSort.mergeLo(ComparableTimSort.java:654) at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:451) at java.util.ComparableTimSort.mergeForceCollapse(ComparableTimSort.java:392) at java.util.ComparableTimSort.sort(ComparableTimSort.java:191) at java.util.ComparableTimSort.sort(ComparableTimSort.java:146) at java.util.Arrays.sort(Arrays.java:472) at java.util.Collections.sort(Collections.java:155) at hudson.ExtensionList.sort(ExtensionList.java:369) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:289) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:66) 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:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) 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:744) Apr 05, 2016 1:08:39 AM jenkins.InitReactorRunner$1 onAttained INFO: Loaded all jobs Apr 05, 2016 1:08:39 AM hudson.model.UpdateCenter init INFO: This is a new Jenkins instance. The Plugin Install Wizard will be launched. Apr 05, 2016 1:08:39 AM hudson.model.AsyncPeriodicWork$1 run INFO: Started Download metadata Apr 05, 2016 1:08:40 AM org.jenkinsci.main.modules.sshd.SSHD start INFO: Started SSHD at port 57669 Apr 05, 2016 1:08:44 AM hudson.model.UpdateSite updateData INFO: Obtained the latest update center data file for UpdateSource default Apr 05, 2016 1:08:44 AM hudson.model.UpdateSite updateData INFO: Obtained the latest update center data file for UpdateSource default Apr 05, 2016 1:08:44 AM jenkins.InitReactorRunner$1 onAttained INFO: Completed initialization{noformat} Not sure what the circumstances are for this to happen.

    Jenkins JIRA | 8 months ago | Daniel Beck
    java.lang.InstantiationException: java.lang.NoClassDefFoundError: Could not initialize class hudson.maven.MavenModuleSet$DescriptorImpl
  3. 0

    Jenkins issues - [JIRA] [maven] (JENKINS-20757) jenkins startup dies quickly ostensibly due to maven problem in 1.540 and 1.541

    nabble.com | 1 year ago
    java.lang.InstantiationException: java.lang.NoClassDefFoundError: Could not initialize class hudson.maven.MavenModuleSet$DescriptorImpl
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JENKINS-20757] jenkins startup dies quickly ostensibly due to maven problem in 1.540 and 1.541 - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    java.lang.InstantiationException: java.lang.NoClassDefFoundError: Could not initialize class hudson.maven.MavenModuleSet$DescriptorImpl
  6. 0

    If you disable maven plugin, and open configuration of a project you will see jetty exception. It does not matter if project uses or not maven. Mine did not, but configuration page still tried to load maven, which was disabled as i don't use it. WARNING: Failed to load hudson.maven.MavenModuleSet java.lang.InstantiationException: java.lang.NoClassDefFoundError: Could not initialize class hudson.maven.MavenModuleSet$DescriptorImpl at net.java.sezpoz.IndexItem.instance(IndexItem.java:193) at hudson.ExtensionFinder$GuiceFinder.instantiate(ExtensionFinder.java:355) at hudson.ExtensionFinder$GuiceFinder.access$700(ExtensionFinder.java:234) at hudson.ExtensionFinder$GuiceFinder$SezpozModule$1.get(ExtensionFinder.java:531) at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86) at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:66) at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:65) at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:429) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1051) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001) at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:391) at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:382) at hudson.ExtensionFinder._find(ExtensionFinder.java:151) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:317) at hudson.ExtensionList.load(ExtensionList.java:295) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:248) at hudson.ExtensionList.getComponents(ExtensionList.java:149) at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:182) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:248) at hudson.ExtensionList.iterator(ExtensionList.java:138) at org.jenkinsci.plugins.xunit.AliasInitializer.addAliases(AliasInitializer.java:23) 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:616) at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:904) 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:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) Caused by: java.lang.NoClassDefFoundError: Could not initialize class hudson.maven.MavenModuleSet$DescriptorImpl at hudson.maven.MavenModuleSet.<clinit>(MavenModuleSet.java:1217) at sun.misc.Unsafe.ensureClassInitialized(Native Method) at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43) at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:140) at java.lang.reflect.Field.acquireFieldAccessor(Field.java:936) at java.lang.reflect.Field.getFieldAccessor(Field.java:917) at java.lang.reflect.Field.get(Field.java:376) at net.java.sezpoz.IndexItem.instance(IndexItem.java:185) ... 40 more

    Jenkins JIRA | 3 years ago | Justinas Urbanavicius
    java.lang.InstantiationException: java.lang.NoClassDefFoundError: Could not initialize class hudson.maven.MavenModuleSet$DescriptorImpl

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class hudson.maven.MavenModuleSet$DescriptorImpl

      at hudson.maven.MavenModuleSet.<clinit>()
    2. Hudson Maven Embedder
      MavenModuleSet.<clinit>
      1. hudson.maven.MavenModuleSet.<clinit>(MavenModuleSet.java:1217)
      1 frame
    3. Java RT
      Field.get
      1. sun.misc.Unsafe.ensureClassInitialized(Native Method)
      2. sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
      3. sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:140)
      4. java.lang.reflect.Field.acquireFieldAccessor(Field.java:1057)
      5. java.lang.reflect.Field.getFieldAccessor(Field.java:1038)
      6. java.lang.reflect.Field.get(Field.java:379)
      6 frames
    4. SezPoz
      IndexItem.instance
      1. net.java.sezpoz.IndexItem.instance(IndexItem.java:185)
      1 frame
    5. Hudson
      ExtensionFinder$GuiceFinder$SezpozModule$1.get
      1. hudson.ExtensionFinder$GuiceFinder.instantiate(ExtensionFinder.java:353)
      2. hudson.ExtensionFinder$GuiceFinder.access$700(ExtensionFinder.java:232)
      3. hudson.ExtensionFinder$GuiceFinder$SezpozModule$1.get(ExtensionFinder.java:529)
      3 frames
    6. Google Guice - Core Library
      Scopes$1$1.get
      1. com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
      2. com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)
      3. com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:66)
      4. com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)
      5. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      6. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058)
      7. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      8. com.google.inject.Scopes$1$1.get(Scopes.java:65)
      8 frames
    7. Hudson
      ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get
      1. hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:424)
      1 frame
    8. Google Guice - Core Library
      InjectorImpl$3.get
      1. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
      2. com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005)
      3. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1051)
      4. com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001)
      4 frames
    9. Hudson
      NullIdDescriptorMonitor.verify
      1. hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:386)
      2. hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:377)
      3. hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:482)
      4. hudson.ExtensionList.load(ExtensionList.java:349)
      5. hudson.ExtensionList.ensureLoaded(ExtensionList.java:287)
      6. hudson.ExtensionList.iterator(ExtensionList.java:156)
      7. hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:66)
      7 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    11. Hudson
      TaskMethodFinder$TaskImpl.run
      1. hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104)
      2. hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175)
      2 frames
    12. init
      Reactor.runTask
      1. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      1 frame
    13. jenkins.model
      Jenkins$8.runTask
      1. jenkins.model.Jenkins$8.runTask(Jenkins.java:1009)
      1 frame
    14. init
      Reactor$Node.run
      1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      2 frames
    15. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:744)
      3 frames