java.util.concurrent.ExecutionException: org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException Build info: version: '2.52.0', revision: '4c2593c', time: '2016-02-11 19:06:42' System info: host: 'localhost.localdomain', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.2.3-300.fc23.x86_64', java.version: '1.8.0_91' Driver info: driver.version: unknown

Stack Overflow | Pavel Zagalsky | 11 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd . Or join the community to write better ones.
  1. 0

    Failure to launch Selenium WebDriver on Fedora

    Stack Overflow | 11 months ago | Pavel Zagalsky
    java.util.concurrent.ExecutionException: org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException Build info: version: '2.52.0', revision: '4c2593c', time: '2016-02-11 19:06:42' System info: host: 'localhost.localdomain', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.2.3-300.fc23.x86_64', java.version: '1.8.0_91' Driver info: driver.version: unknown
  2. 0
    samebug tip
    You close Selenium Webdriver before the tests finish. Use @BeforeSuite and @AfterSuite.
  3. 0
    samebug tip
    To restart the Selenium Webdriver mock browser in a testcase, first use 'driver.close()' and then reinstantiate the driver.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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.net.ConnectException

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:589)
    6 frames
  3. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74)
    2. org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)
    3. org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
    4. org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
    5. org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
    6. org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
    7. org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
    8. org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
    9. org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
    10. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71)
    11. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
    11 frames
  4. Selenium
    HttpCommandExecutor.execute
    1. org.openqa.selenium.remote.internal.ApacheHttpClient.fallBackExecute(ApacheHttpClient.java:162)
    2. org.openqa.selenium.remote.internal.ApacheHttpClient.execute(ApacheHttpClient.java:90)
    3. org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142)
    3 frames
  5. selenium-firefox-driver
    FirefoxDriver$LazyCommandExecutor.execute
    1. org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.execute(NewProfileExtensionConnection.java:160)
    2. org.openqa.selenium.firefox.FirefoxDriver$LazyCommandExecutor.execute(FirefoxDriver.java:380)
    2 frames
  6. Selenium
    RemoteWebDriver.<init>
    1. org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:644)
    2. org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
    3. org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)
    3 frames
  7. selenium-firefox-driver
    FirefoxDriver.<init>
    1. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:218)
    2. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:211)
    3. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:129)
    3 frames
  8. 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:423)
    4 frames
  9. selenium-server
    DefaultSession$BrowserCreator.call
    1. org.openqa.selenium.remote.server.FirefoxDriverProvider.callConstructor(FirefoxDriverProvider.java:91)
    2. org.openqa.selenium.remote.server.FirefoxDriverProvider.newInstance(FirefoxDriverProvider.java:68)
    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
  10. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    1 frame
  11. selenium-server
    DefaultSession$1.run
    1. org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:176)
    1 frame
  12. 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