java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String;

Jenkins JIRA | Daniel Beck | 12 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [JIRA] [core] (JENKINS-34013) Errors after upgrading Jenkins from "1.0" to 2.0-beta-2

    Google Groups | 12 months ago | db...@cloudbees.com (JIRA)
    java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String;
  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 | 12 months ago | Daniel Beck
    java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String;
  3. 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 | 12 months ago | Daniel Beck
    java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    gradle-jpi-plugin > NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()

    Stack Overflow | 8 months ago | Nick Grealy
    java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String;
  6. 0

    I just upgraded from version 1.558 to 2.1 and after restart I have some NoSuchMethodError errors. {code} java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String; at hudson.model.ExternalJob$DescriptorImpl.getDisplayName(ExternalJob.java:132) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:97) at hudson.ExtensionComponent.compareTo(ExtensionComponent.java:42) at java.util.ComparableTimSort.binarySort(ComparableTimSort.java:258) at java.util.ComparableTimSort.sort(ComparableTimSort.java:203) at java.util.Arrays.sort(Arrays.java:1312) at java.util.Arrays.sort(Arrays.java:1506) at java.util.ArrayList.sort(ArrayList.java:1454) at java.util.Collections.sort(Collections.java:141) at hudson.ExtensionList.sort(ExtensionList.java:369) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:289) at hudson.ExtensionList.getComponents(ExtensionList.java:167) at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:185) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.ExtensionList.get(ExtensionList.java:147) at com.cloudbees.jenkins.GitHubPushTrigger$DescriptorImpl.get(GitHubPushTrigger.java:329) at org.jenkinsci.plugins.github.migration.Migrator.migrate(Migrator.java:40) at org.jenkinsci.plugins.github.GitHubPlugin.postInitialize(GitHubPlugin.java:39) at hudson.PluginManager$2$1$2.run(PluginManager.java:433) 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:1011) 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) {code} When clicking on "New Item", the resulting page is blank and the same error appear in the logs. The rest of the application seems to be operational. {code} WARNING: Error while serving https://ci.obiba.org/view/All/itemCategories ... Caused by: java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String; at hudson.model.ExternalJob$DescriptorImpl.getDisplayName(ExternalJob.java:132) at hudson.model.View.doItemCategories(View.java:1058) 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:483) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:320) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:163) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:124) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) {code} I do not know if it's relevant but I can see other errors in the logs: {code} Caused by: java.lang.NullPointerException at hudson.plugins.analysis.core.HealthReportBuilder.computeHealth(HealthReportBuilder.java:47) at hudson.plugins.analysis.core.AbstractResultAction.getBuildHealth(AbstractResultAction.java:87) at hudson.model.Job.getBuildHealthReports(Job.java:1122) {code}

    Jenkins JIRA | 11 months ago | Yannick Marcon
    java.lang.NoSuchMethodError: hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String;

  1. davidvanlaatum 9 times, last 10 months ago
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.NoSuchMethodError

    hudson.model.Messages.ExternalJob_DisplayName()Ljava/lang/String;

    at hudson.model.ExternalJob$DescriptorImpl.getDisplayName()
  2. Hudson
    ExtensionComponent.compareTo
    1. hudson.model.ExternalJob$DescriptorImpl.getDisplayName(ExternalJob.java:120)
    2. hudson.ExtensionComponent.compareTo(ExtensionComponent.java:97)
    3. hudson.ExtensionComponent.compareTo(ExtensionComponent.java:42)
    3 frames
  3. Java RT
    Collections.sort
    1. java.util.ComparableTimSort.mergeLo(ComparableTimSort.java:654)
    2. java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:451)
    3. java.util.ComparableTimSort.mergeForceCollapse(ComparableTimSort.java:392)
    4. java.util.ComparableTimSort.sort(ComparableTimSort.java:191)
    5. java.util.ComparableTimSort.sort(ComparableTimSort.java:146)
    6. java.util.Arrays.sort(Arrays.java:472)
    7. java.util.Collections.sort(Collections.java:155)
    7 frames
  4. Hudson
    NullIdDescriptorMonitor.verify
    1. hudson.ExtensionList.sort(ExtensionList.java:369)
    2. hudson.ExtensionList.ensureLoaded(ExtensionList.java:289)
    3. hudson.ExtensionList.iterator(ExtensionList.java:156)
    4. hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:66)
    4 frames
  5. 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
  6. Hudson
    TaskMethodFinder$TaskImpl.run
    1. hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104)
    2. hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175)
    2 frames
  7. init
    Reactor.runTask
    1. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
    1 frame
  8. jenkins.model
    Jenkins$8.runTask
    1. jenkins.model.Jenkins$8.runTask(Jenkins.java:1009)
    1 frame
  9. 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
  10. 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