java.lang.NoClassDefFoundError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Using Hudson 1.333 With the release plugin enabled (version 1.8), I get a content encoding error when I try to view Hudson. When the release plugin is disabled, I can load and interact with Hudson in my browser. When the release plugin is enabled, there are a *lot* of exceptions that start with a failure to load the release plugin. WARNING: Failed to load a project java.lang.NoClassDefFoundError: hudson/plugins/release/dashboard/RecentReleasesPortlet at java.lang.Class.getDeclaringClass(Native Method) at java.lang.Class.getEnclosingClass(Class.java:1102) at hudson.model.Descriptor.<init>(Descriptor.java:216) at hudson.plugins.release.dashboard.RecentReleasesPortlet$DescriptorImpl.<init>(RecentReleasesPortlet.java:118) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) And when it tries to start one of my slaves: Nov 12, 2009 10:37:10 AM hudson.ExpressionFactory2$JexlExpression evaluate WARNING: Caught exception evaluating: it.statData. Reason: java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314) It's not clear to me whether (or why) the release plugin failure is related to these other failures, but disabling the release plugin makes these failures go away.
    via by dbacher1,
    • java.lang.NoClassDefFoundError: jenkins/plugins/git/AbstractGitSCMSource at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource$DescriptorImpl.&lt;init&gt;(GitHubSCMSource.java:722) 1 error at ... at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:386) at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:377) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:471) at hudson.ExtensionList.load(ExtensionList.java:349) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287) 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:359) 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$4$5.run(PluginManager.java:537) 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$7.runTask(Jenkins.java:998) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoClassDefFoundError: jenkins/plugins/git/AbstractGitSCMSource at ... at java.lang.Class.getEnclosingClass(Class.java:1277)
    No Bugmate found.