Hi,
I'm trying to run a slave on a remote computer, but it isn't working. For some reason the slave fails after the link has been established between the master and remote nodes.
The error message looks like this:
java.lang.NoClassDefFoundError: hudson/model/Run$RunExecution
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.getConstructor(Class.java:1657)
at hudson.model.AbstractProject.newBuild(AbstractProject.java:944)
at hudson.model.AbstractProject.createExecutable(AbstractProject.java:1159)
at hudson.model.AbstractProject.createExecutable(AbstractProject.java:129)
at hudson.model.Executor.run(Executor.java:214)
Caused by: java.lang.ClassNotFoundException: hudson.model.Run$RunExecution
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 8 more
Any idea about what might be causing this malfunctioning?
Best Regards,
Carlos
- depends on
-
JENKINS-19453 Slave launcher fails after NoClassDefFoundError: Could not initialize class jenkins.model.Jenkins$MasterComputer
-
- Closed
-
- is related to
-
JENKINS-17728 NPE from MatrixConfiguration.newBuild
-
- Resolved
-
Still no resolution to this issue?
It would be really nice to fix this issue for all of the people who are going to be upgrading and run into this issue and have to apply the workaround in the previous comment.
Even a mention in https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2013-01-04 of the issue and work-around would be useful instead of people wasting time as I did trying to figure out what the problem is.