Fix “ERROR: Unexpected error in launching a slave. This is probably a bug in Hudson.”

By neokrates, written on April 27, 2010

howto

  • Join date: 11-30-99
  • Posts: 224
View Counter:
  • 573 views
Rate it
Ad
Poll
  • Which test frameworks do you use?

    View Results

    Loading ... Loading ...
Feeds:
  • bodytext bodytext bodytext

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.

Software:

✔ Ubuntu Linux

✔ Hudson

✔ Jdk

Should also work for:

✔ Any OS

1

Step 1

Type on both slave and server

java -version

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.

2

Step 2

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.

Done.

Be Sociable, Share!
 
Does that help to solve your problem?
VN:F [1.8.5_1061]
Rating: 0 (from 0 votes)
0 votes 'YES'  0 votes 'NO'


TAGS

SOCIAL
Be Sociable, Share!

INCOMING SEARCH TERMS


Leave a Reply