We are using Puppet to manage plugins, but the dependencies should be all met - I've checked them against a machine that was provisioned without Puppet, and the versions match.
I'll have another trawl through at some point soon, then... On 7 April 2015 at 20:23, Daniel Beck <[email protected]> wrote: > You're likely using a plugin that requires a newer version of Jenkins than > 1.532.x (specifically 1.577 or newer). Possibly because you manage those > using Chef or a similar tool and completely ignore the plugins' > dependencies. > > On 07.04.2015, at 12:56, Andrew Langhorn < > [email protected]> wrote: > > > Hi, > > > > We run Jenkins 1.532.1 in some environments, and have recently come > across an issue with SimpleBuildStep not being found as a valid class. This > generates a lovely stack trace (as below) and linked jobs then fail. > > > > FATAL: jenkins/tasks/SimpleBuildStep > > java.lang.NoClassDefFoundError: jenkins/tasks/SimpleBuildStep > > at java.lang.ClassLoader.defineClass1(Native Method) > > at java.lang.ClassLoader.defineClass(ClassLoader.java:800) > > at > jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1138) > > at > hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:695) > > at > jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1309) > > at > jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1365) > > at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) > > at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:606) > > at > jenkins.ClassLoaderReflectionToolkit.invoke(ClassLoaderReflectionToolkit.java:44) > > at > jenkins.ClassLoaderReflectionToolkit._findClass(ClassLoaderReflectionToolkit.java:86) > > at > hudson.ClassicPluginStrategy$DependencyClassLoader.findClass(ClassicPluginStrategy.java:572) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:425) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > > at > jenkins.util.AntClassLoader.findBaseClass(AntClassLoader.java:1397) > > at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1074) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > > at java.lang.Class.forName0(Native Method) > > at java.lang.Class.forName(Class.java:191) > > at > hudson.plugins.git.GitChangeSet.hasHudsonTasksMailer(GitChangeSet.java:293) > > at > hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:271) > > at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:326) > > at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:414) > > at > hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:729) > > at hudson.model.Run.execute(Run.java:1709) > > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) > > at > hudson.model.ResourceController.execute(ResourceController.java:88) > > at hudson.model.Executor.run(Executor.java:231) > > Caused by: java.lang.ClassNotFoundException: > jenkins.tasks.SimpleBuildStep > > at > jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375) > > at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) > > at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > > > > I thought an unattended-upgrade of the JVM might have caused this, but I > can't see anything in the logs that would suggest that Java has been > upgraded recently. This used to work absolutely fine, and now it doesn't - > hence we're hesitant to upgrade right now to resolve this issue. > > > > Does anyone have any ideas? :) > > > > Let me know if you need any further details. > > > > Thanks, > > > > Andrew > > > > -- > > You received this message because you are subscribed to the Google > Groups "Jenkins Users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/54c4056d-5586-4a06-bcaa-1c52001b46fe%40googlegroups.com > . > > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-users/a5DmElNBZpM/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/9D18348F-9403-43AE-B2FA-8243EC5176DA%40beckweb.net > . > For more options, visit https://groups.google.com/d/optout. > -- Andrew Langhorn Web Operations Government Digital Service e: [email protected] t: +44 (0)7810 737375 a: 6th Floor, Aviation House, 125 Kingsway, London, WC2B 6NH -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANCa_WarHU0fnbUv0fRim2vrktmzFmDhZscRL0ypEVBKro1s1w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
