java.util.concurrent.ExecutionException: org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException Build info: version: '2.47.1', revision: '411b314', time: '2015-07-30 03:03:16' System info: host: 'ct-10-0-180-116', ip: '10.0.180.116', os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.32-042stab105.14', java.version: '1.8.0_51' Driver info: driver.version: unknown

Stack Overflow | balteo | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Issue with Selenium Webdriver: UnreachableBrowserException raised

    Stack Overflow | 1 year ago | balteo
    java.util.concurrent.ExecutionException: org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException Build info: version: '2.47.1', revision: '411b314', time: '2015-07-30 03:03:16' System info: host: 'ct-10-0-180-116', ip: '10.0.180.116', os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.32-042stab105.14', java.version: '1.8.0_51' Driver info: driver.version: unknown
  2. 0

    I'm receiving an UnsupportedDriverException (see below) when running my tests as part of an aggregator project on our CI system. From viewing the test logs, this exception occurs for each implemented test step, as opposed to when the test runner is first set-up. This doesn't seem to happen when the test module is built individually on CI, nor when I build locally (as a single or multi-module build). Unfortunately, that means I cannot provide any sample code to reproduce the problem. {quote} 2013-02-20 11:26:52.775 ERROR WebDriverFacade: FAILED TO CREATE NEW DRIVER INSTANCE class org.openqa.selenium.chrome.ChromeDriver: Could not instantiate class org.openqa.selenium.chrome.ChromeDriver net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class org.openqa.selenium.chrome.ChromeDriver at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:152) at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:87) at net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:82) at net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:54) at net.thucydides.core.pages.Pages.browserIsHeadless(Pages.java:145) at net.thucydides.core.pages.Pages.openHeadlessDriverIfNotOpen(Pages.java:130) at net.thucydides.core.pages.Pages.openBrowserIfRequiredFor(Pages.java:123) at net.thucydides.core.pages.Pages.currentPageAt(Pages.java:111) at com.onespatial.ms.plan.steps.PlannerUserSteps.onPlanPage(PlannerUserSteps.java:133) at com.onespatial.ms.plan.steps.PlannerUserSteps.saveJob(PlannerUserSteps.java:91) at com.onespatial.ms.plan.steps.PlannerUserSteps$$EnhancerByCGLIB$$fe762261.CGLIB$saveJob$0(<generated>) at com.onespatial.ms.plan.steps.PlannerUserSteps$$EnhancerByCGLIB$$fe762261$$FastClassByCGLIB$$14544c8e.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at net.thucydides.core.steps.StepInterceptor.invokeMethod(StepInterceptor.java:292) at net.thucydides.core.steps.StepInterceptor.runSkippedMethod(StepInterceptor.java:142) at net.thucydides.core.steps.StepInterceptor.skipTestStep(StepInterceptor.java:131) at net.thucydides.core.steps.StepInterceptor.testStepResult(StepInterceptor.java:122) at net.thucydides.core.steps.StepInterceptor.intercept(StepInterceptor.java:51) at com.onespatial.ms.plan.steps.PlannerUserSteps$$EnhancerByCGLIB$$fe762261.saveJob(<generated>) at com.onespatial.ms.plan.acceptancetests.defineJobExtent.OverlappingJobs.createOverlappingJobs(OverlappingJobs.java:41) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at net.thucydides.junit.runners.ThucydidesStatement.evaluate(ThucydidesStatement.java:21) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at net.thucydides.junit.runners.ThucydidesRunner.runChild(ThucydidesRunner.java:360) at net.thucydides.junit.runners.ThucydidesRunner.runChild(ThucydidesRunner.java:56) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at net.thucydides.junit.runners.ThucydidesRunner.run(ThucydidesRunner.java:221) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:24) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.junit.runner.JUnitCore.run(JUnitCore.java:157) at org.junit.runner.JUnitCore.run(JUnitCore.java:136) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:62) at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:139) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74) Caused by: org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version: '2.29.1', revision: 'dfb1306b85be4934d23c123122e06e602a15e446', time: '2013-01-22 12:58:05' System info: os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_07' Driver info: driver.version: ChromeDriver at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:527) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:216) at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:111) at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:115) at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:161) at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:139) at net.thucydides.core.webdriver.WebdriverInstanceFactory.newChromeDriver(WebdriverInstanceFactory.java:38) at net.thucydides.core.webdriver.WebDriverFactory.chromeDriver(WebDriverFactory.java:384) at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:140) ... 60 more Caused by: org.openqa.selenium.WebDriverException: Timed out waiting for driver server to start. Build info: version: '2.29.1', revision: 'dfb1306b85be4934d23c123122e06e602a15e446', time: '2013-01-22 12:58:05' System info: os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_07' Driver info: driver.version: ChromeDriver at org.openqa.selenium.remote.service.DriverService.start(DriverService.java:165) at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:62) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:506) ... 68 more Caused by: org.openqa.selenium.net.UrlChecker$TimeoutException: Timed out waiting for [http://localhost:8728/status] to be available after 20001 ms at org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:104) at org.openqa.selenium.remote.service.DriverService.start(DriverService.java:163) ... 70 more Caused by: com.google.common.util.concurrent.UncheckedTimeoutException: java.util.concurrent.TimeoutException at com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:143) at org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:79) ... 71 more Caused by: java.util.concurrent.TimeoutException at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:258) at java.util.concurrent.FutureTask.get(FutureTask.java:119) at com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:130) ... 72 more {quote}

    Java.net JIRA | 4 years ago | gareth.bragg
    net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class org.openqa.selenium.chrome.ChromeDriver
  3. 0

    While initiating the ChromeDriver getting an exception

    Stack Overflow | 3 years ago | Naresh
    org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version: '2.39.0', revision: 'ff23eac', time: '2013-12-16 16:12:12' System info: host: '01hw535163', ip: '10.72.15.53', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.6.0_17' Driver info: driver.version: ChromeDriver
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Port not available. Exiting error in Selenium Webdriver 2

    Stack Overflow | 2 months ago | Pralhad
    org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version: '2.44.0', revision: '76d78cf', time: '2014-10-23 20:02:37' System info: host: 'SGPDWMVDI037644', ip: '10.211.36.39', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_40' Driver info: driver.version: ChromeDriver
  6. 0

    GitHub comment 2680#243774196

    GitHub | 8 months ago | JordiGiros
    java.util.concurrent.ExecutionException: org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException Build info: version: '3.0.0-beta2', revision: '2aa21c1', time: '2016-08-02 15:03:28 -0700' System info: host: 'Devs-Mac-mini.local', ip: '192.168.10.159', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_101' Driver info: driver.version: unknown

  1. raytest 3 times, last 3 months ago
  2. Indri Yunita 2 times, last 1 month ago
  3. filpgame 9 times, last 2 months ago
  4. gamebusterz 1 times, last 3 months ago
  5. batwalrus76 86 times, last 2 weeks ago
71 more registered users
24 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.concurrent.TimeoutException

    No message provided

    at java.util.concurrent.FutureTask.get()
  2. Java RT
    FutureTask.get
    1. java.util.concurrent.FutureTask.get(FutureTask.java:205)
    1 frame
  3. Guava
    SimpleTimeLimiter.callWithTimeout
    1. com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:130)
    1 frame
  4. Selenium
    RemoteWebDriver.<init>
    1. org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:79)
    2. org.openqa.selenium.remote.service.DriverService.start(DriverService.java:167)
    3. org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:63)
    4. org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:568)
    5. org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:242)
    6. org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:128)
    7. org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:141)
    7 frames
  5. selenium-chrome-driver
    ChromeDriver.<init>
    1. org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:170)
    2. org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:138)
    2 frames
  6. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
    4 frames
  7. selenium-server
    DefaultSession$BrowserCreator.call
    1. org.openqa.selenium.remote.server.DefaultDriverProvider.callConstructor(DefaultDriverProvider.java:103)
    2. org.openqa.selenium.remote.server.DefaultDriverProvider.newInstance(DefaultDriverProvider.java:97)
    3. org.openqa.selenium.remote.server.DefaultDriverFactory.newInstance(DefaultDriverFactory.java:60)
    4. org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:222)
    5. org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:1)
    5 frames
  8. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    1 frame
  9. selenium-server
    DefaultSession$1.run
    1. org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:176)
    1 frame
  10. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames