Community
Participate
Working Groups
Termininating xvnc fails when running Hudson under Java 8: Terminating xvnc. FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection java.lang.NoClassDefFoundError: Could not initialize class hudson.util.ProcessTree$UnixReflection at hudson.util.ProcessTree$Unix.get(ProcessTree.java:494) at hudson.util.ProcessTree.killAll(ProcessTree.java:135) at hudson.Proc$LocalProc.destroy(Proc.java:284) at hudson.Proc$LocalProc.kill(Proc.java:276) at hudson.plugins.xvnc.Xvnc$3.tearDown(Xvnc.java:139) at hudson.model.Build$RunnerImpl.doRun(Build.java:149) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:524) at hudson.model.Run.run(Run.java:1493) at hudson.matrix.MatrixRun.run(MatrixRun.java:142) at hudson.model.ResourceController.execute(ResourceController.java:82) at hudson.model.Executor.run(Executor.java:137) Besides the obvious problem that the job fails because of this, there's also the additional problem that the system runs out of displays, as xvnc is only ever started but never stopped. This makes Hudson with xvnc effectively unusable.
Does it work when Hudson is run in Java 7?
(In reply to Bob Foster from comment #1) > Does it work when Hudson is run in Java 7? Yes, has been working for years on our HIPP. Webmaster changing JAVA_HOME to /opt/public/common/jdk1.8.0_51/jre broke the build (see Bug 490293).