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

By neokrates, written on April 27, 2010

howto

Rate it
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading ... Loading ...
Ad
Poll
  • Which frameworks do you use to test your web frontend?

    • We use no test automation (92%, 12 Votes)
    • Selenium (8%, 1 Votes)
    • Windmill (0%, 0 Votes)
    • FITnesse (0%, 0 Votes)
    • WebDriver (0%, 0 Votes)
    • Watir (0%, 0 Votes)
    • Canoo Webtest (0%, 0 Votes)
    • Sahi (0%, 0 Votes)
    • Other framework (0%, 0 Votes)

    Total Voters: 13

    Vote

    Loading ... Loading ...
Feeds:
  • bodytext bodytext bodytext
Most popular search terms:

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:

[v] Ubuntu Linux
[v] Hudson
[v] Jdk

Should also work for:

[v] 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.

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

LEARN MORE (amazon bookstore)

TAGS

RELATED
Pages
Posts

SOCIAL
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • BlinkList
  • Blogosphere News
  • E-mail this story to a friend!
  • Furl
  • LinkArena
  • Live
  • MisterWong
  • Print this article!
  • StumbleUpon
  • Technorati
  • Webnews.de
  • YahooMyWeb

INCOMING SEARCH TERMS


Leave a Reply