java.lang.NoSuchMethodError: hudson.model.PeriodicWork.<init>(Ljava/lang/String;)V

Jenkins JIRA | alexpen | 8 years 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

    Starting with release 1.293 Hudson fails to start: SEVERE: Failed to initialize Hudson java.lang.NoSuchMethodError: hudson.model.PeriodicWork.<init>(Ljava/lang/String;)V at hudson.plugins.disk_usage.DiskUsageThread.<init>(DiskUsageThread.java:26) at hudson.plugins.disk_usage.DiskUsagePlugin.<init>(DiskUsagePlugin.java:30) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:190) at hudson.PluginManager.<init>(PluginManager.java:141) at hudson.model.Hudson.<init>(Hudson.java:513) at hudson.WebAppMain$2.run(WebAppMain.java:191) Exception in thread "hudson initialization thread" java.lang.NoSuchMethodError: hudson.model.PeriodicWork.<init>(Ljava/lang/String;)V at hudson.plugins.disk_usage.DiskUsageThread.<init>(DiskUsageThread.java:26) at hudson.plugins.disk_usage.DiskUsagePlugin.<init>(DiskUsagePlugin.java:30) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:190) at hudson.PluginManager.<init>(PluginManager.java:141) at hudson.model.Hudson.<init>(Hudson.java:513) at hudson.WebAppMain$2.run(WebAppMain.java:191) ----------------- this is the same for java -jar hudson as well for tomcat 5.5.27 > uname -a SunOS sun1 5.10 Generic_118833-36 sun4v sparc SUNW,Sun-Fire-T1000 > java -version java version "1.5.0_07" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) Java HotSpot(TM) Server VM (build 1.5.0_07-b03, mixed mode)

    Jenkins JIRA | 8 years ago | alexpen
    java.lang.NoSuchMethodError: hudson.model.PeriodicWork.<init>(Ljava/lang/String;)V
  2. 0

    Starting with release 1.293 Hudson fails to start: SEVERE: Failed to initialize Hudson java.lang.NoSuchMethodError: hudson.model.PeriodicWork.<init>(Ljava/lang/String;)V at hudson.plugins.disk_usage.DiskUsageThread.<init>(DiskUsageThread.java:26) at hudson.plugins.disk_usage.DiskUsagePlugin.<init>(DiskUsagePlugin.java:30) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:190) at hudson.PluginManager.<init>(PluginManager.java:141) at hudson.model.Hudson.<init>(Hudson.java:513) at hudson.WebAppMain$2.run(WebAppMain.java:191) Exception in thread "hudson initialization thread" java.lang.NoSuchMethodError: hudson.model.PeriodicWork.<init>(Ljava/lang/String;)V at hudson.plugins.disk_usage.DiskUsageThread.<init>(DiskUsageThread.java:26) at hudson.plugins.disk_usage.DiskUsagePlugin.<init>(DiskUsagePlugin.java:30) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:190) at hudson.PluginManager.<init>(PluginManager.java:141) at hudson.model.Hudson.<init>(Hudson.java:513) at hudson.WebAppMain$2.run(WebAppMain.java:191) ----------------- this is the same for java -jar hudson as well for tomcat 5.5.27 > uname -a SunOS sun1 5.10 Generic_118833-36 sun4v sparc SUNW,Sun-Fire-T1000 > java -version java version "1.5.0_07" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) Java HotSpot(TM) Server VM (build 1.5.0_07-b03, mixed mode)

    Jenkins JIRA | 8 years ago | alexpen
    java.lang.NoSuchMethodError: hudson.model.PeriodicWork.<init>(Ljava/lang/String;)V
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.PeriodicWork.<init>(Ljava/lang/String;)V

      at hudson.plugins.disk_usage.DiskUsageThread.<init>()
    2. hudson.plugins.disk_usage
      DiskUsagePlugin.<init>
      1. hudson.plugins.disk_usage.DiskUsageThread.<init>(DiskUsageThread.java:26)
      2. hudson.plugins.disk_usage.DiskUsagePlugin.<init>(DiskUsagePlugin.java:30)
      2 frames
    3. Java RT
      NativeConstructorAccessorImpl.newInstance0
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      1 frame