org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException Build info: version: '2.20.0', revision: '16008', time: '2012-02-27 19:03:04' System info: os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.38-13-generic', java.version: '1.6.0_22' Driver info: driver.version: unknown


Solutions on the web2

Solution icon of github
java.lang.reflect.InvocationTargetException Build info: version: '2.20.0', revision: '16008', time: '2012-02-27 19:03:04' System info: os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.38-13-generic', java.version: '1.6.0_22' Driver info: driver.version: unknown

Solution icon of github
java.lang.reflect.InvocationTargetException Build info: version: '2.26.0', revision: '18041', time: '2012-11-01 19:33:38' System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.versi on: '1.7.0_09' Driver info: driver.version: unknown

Stack trace

org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException
Build info: version: '2.20.0', revision: '16008', time: '2012-02-27 19:03:04'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: 
'2.6.38-13-generic', java.version: '1.6.0_22'
Driver info: driver.version: unknown
	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
	at java.util.concurrent.FutureTask.get(FutureTask.java:111)
	at org.openqa.selenium.remote.server.DefaultSession.execute(DefaultSession.java:139)
	at org.openqa.selenium.remote.server.DefaultSession.<init>(DefaultSession.java:108)
	at org.openqa.selenium.remote.server.DefaultSession.createSession(DefaultSession.java:86)
	at org.openqa.selenium.remote.server.DefaultDriverSessions.newSession(DefaultDriverSessions.java:87)
	at org.openqa.selenium.remote.server.handler.NewSession.handle(NewSession.java:62)
	at org.openqa.selenium.remote.server.rest.ResultConfig.handle(ResultConfig.java:196)
	at org.openqa.selenium.remote.server.DriverServlet.handleRequest(DriverServlet.java:580)
	at org.openqa.selenium.remote.server.DriverServlet.doPost(DriverServlet.java:531)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.openqa.selenium.remote.server.DriverServlet.service(DriverServlet.java:503)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.openqa.jetty.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
	at org.openqa.jetty.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:677)
	at org.openqa.jetty.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
	at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1530)
	at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1482)
	at org.openqa.jetty.http.HttpServer.service(HttpServer.java:909)
	at org.openqa.jetty.http.HttpConnection.service(HttpConnection.java:820)
	at org.openqa.jetty.http.HttpConnection.handleNext(HttpConnection.java:986)
	at org.openqa.jetty.http.HttpConnection.handle(HttpConnection.java:837)
	at org.openqa.jetty.http.SocketListener.handleConnection(SocketListener.java:243)
	at org.openqa.jetty.util.ThreadedServer.handle(ThreadedServer.java:357)
	at org.openqa.jetty.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException
Build info: version: '2.20.0', revision: '16008', time: '2012-02-27 19:03:04'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: 
'2.6.38-13-generic', java.version: '1.6.0_22'
Driver info: driver.version: unknown
	at org.openqa.selenium.remote.server.DefaultDriverFactory.callConstructor(DefaultDriverFactory.java:73)
	at org.openqa.selenium.remote.server.DefaultDriverFactory.newInstance(DefaultDriverFactory.java:57)
	at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:177)
	at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:1)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:679)

Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
	at org.openqa.selenium.remote.server.DefaultDriverFactory.callConstructor(DefaultDriverFactory.java:63)
	... 8 more
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.20.0', revision: '16008', time: '2012-02-27 19:03:04'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: 
'2.6.38-13-generic', java.version: '1.6.0_22'
Driver info: driver.version: ChromeDriver
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:435)
	at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:139)
	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:94)
	at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:133)
	at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:110)
	... 13 more
Caused by: org.openqa.selenium.WebDriverException: Timed out waiting for 
ChromeDriver server to start.
Build info: version: '2.20.0', revision: '16008', time: '2012-02-27 19:03:04'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: 
'2.6.38-13-generic', java.version: '1.6.0_22'
Driver info: driver.version: ChromeDriver
	at org.openqa.selenium.chrome.ChromeDriverService.start(ChromeDriverService.java:166)
	at org.openqa.selenium.chrome.ChromeCommandExecutor.execute(ChromeCommandExecutor.java:46)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:415)
	... 17 more
Caused by: org.openqa.selenium.net.UrlChecker$TimeoutException: Timed out 
waiting for [http://localhost:13022/status, http://localhost:13022/healthz] to 
be available after 20001 ms
	at org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:86)
	at org.openqa.selenium.chrome.ChromeDriverService.start(ChromeDriverService.java:164)
	... 19 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:61)
	... 20 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)
	... 21 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 3 months ago
3 times, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
129 more bugmates