Errors after upgrading to selenium plugin v1.4

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Errors after upgrading to selenium plugin v1.4

Nathan Parry
Is anyone else seeing an error like the following after upgrading to
the 1.4 release of the selenium plugin? [1]


21:57:26.497 INFO - Checking connection to hub...
21:57:26.499 INFO - Ping Hub at
http://localhost:4444//heartbeat?host=helios&port=57949
Exception in thread "Thread-2" java.lang.NoClassDefFoundError:
com/thoughtworks/selenium/grid/HttpClient
        at com.thoughtworks.selenium.grid.remotecontrol.HeartbeatRequest.httpClient(HeartbeatRequest.java:50)
        at com.thoughtworks.selenium.grid.remotecontrol.HeartbeatRequest.execute(HeartbeatRequest.java:32)
        at com.thoughtworks.selenium.grid.remotecontrol.SelfRegisteringRemoteControl.canReachHub(SelfRegisteringRemoteControl.java:37)
        at com.thoughtworks.selenium.grid.remotecontrol.HubPoller.checkConnectionToHub(HubPoller.java:37)
        at com.thoughtworks.selenium.grid.remotecontrol.HubPoller.pollHub(HubPoller.java:65)
        at com.thoughtworks.selenium.grid.remotecontrol.HubPoller.run(HubPoller.java:59)
        at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.ClassNotFoundException:
com.thoughtworks.selenium.grid.HttpClient
        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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)


I have a fresh 1.399 install.  After installing the selenium plugin, I
can start Jenkins, wait just a few minutes and the error appears in
the logs. (In this case, the master node is running a RC instance -
the same error appears in the log for any slave that is also running a
RC)

--
Nathan


1: http://wiki.jenkins-ci.org/display/JENKINS/Selenium+Plugin