# Intermittent java error when running Circle CI with nightwatch/selenium/saucelabs

**URL:** <https://discuss.circleci.com/t/intermittent-java-error-when-running-circle-ci-with-nightwatch-selenium-saucelabs/12677>\
**Category:** Build Environment\
**Tags:** java, nodejs, selenium\
**Created:** [May 18, 2017, 8:08am UTC](https://discuss.circleci.com/t/intermittent-java-error-when-running-circle-ci-with-nightwatch-selenium-saucelabs/12677 "2017-05-18T08:08:10Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![levlaz](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/levlaz/32/36978_2.png) [@levlaz](https://discuss.circleci.com/u/levlaz)\
**Post date:** [May 22, 2017, 5:24pm UTC](https://discuss.circleci.com/t/intermittent-java-error-when-running-circle-ci-with-nightwatch-selenium-saucelabs/12677/2 "2017-05-22T17:24:14Z")

</div>

The error is

> Exception in thread “main” java.lang.UnsupportedClassVersionError: org/openqa/grid/selenium/GridLauncherV3 : Unsupported major.minor version 52.0

This is the same issue as described [here](https://discuss.circleci.com/t/has-chromedriver-been-updated-on-the-ubuntu-14-04-trusty-image/10941) and occurs pretty much every time a new version of webdriver, selenium, or a browser comes out.

You should either manually upgrade the version of these tools so that they match, or pin them so that they are not updated from underneath you.

---

_[View the full topic](https://discuss.circleci.com/t/intermittent-java-error-when-running-circle-ci-with-nightwatch-selenium-saucelabs/12677)._
