Fix “ERROR: Unexpected error in launching a slave. This is probably a bug in Hudson.”By neokrates, written on April 27, 2010
This is a fix for one specific reason of this problem, i.e. jdk/jvm version is different on slave and master in the way which makes hudson slave<->master data exchange impossible.
✔ Ubuntu Linux
Should also work for:
✔ Any OS
Type on both slave and server
If versions differ, make them equal.
1 – To test, you may try to install additional jdk on the slave and make symlink to it;
2 – Make sure that active version is the same in both systems;
3 – IMPORTANT disconnect and reconnect hudson slave to make new environment available for the new builds.
If Step 1 didn’t help you or maybe version seemed the same, I would suggest to install on both client and server fresh jdk from the same source.
You don’t need to remove the old one, just make sure new installation is active.
Then restart hudson master and try to run the server again.
INCOMING SEARCH TERMS