java.util.concurrent.ExecutionException: org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException Build info: version: '2.46.0', revision: '87c69e2', time: '2015-06-04 16:16:47' System info: host: 'CHENNMW-0YVF8J5.local', ip: '10.98.5.239', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9.5', java.version: '1.7.0_71' Driver info: driver.version: unknown

GitHub | perwez123 | 1 year ago
  1. 0

    Safari browser gets closed immediately after launching the browser

    GitHub | 1 year ago | perwez123
    java.util.concurrent.ExecutionException: org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException Build info: version: '2.46.0', revision: '87c69e2', time: '2015-06-04 16:16:47' System info: host: 'CHENNMW-0YVF8J5.local', ip: '10.98.5.239', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9.5', java.version: '1.7.0_71' Driver info: driver.version: unknown
  2. 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.lang.ClassCastException

      com.google.gson.JsonObject cannot be cast to java.lang.String

      at org.openqa.selenium.remote.JsonToBeanConverter.convert()
    2. Selenium
      JsonToBeanConverter.convert
      1. org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:111)
      2. org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:42)
      2 frames
    3. selenium-safari-driver
      SafariDriverCommandExecutor.execute
      1. org.openqa.selenium.safari.SafariDriverCommandExecutor.execute(SafariDriverCommandExecutor.java:191)
      1 frame
    4. Selenium
      RemoteWebDriver.<init>
      1. org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:578)
      2. org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:242)
      3. org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:128)
      4. org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:141)
      4 frames
    5. selenium-safari-driver
      SafariDriver.<init>
      1. org.openqa.selenium.safari.SafariDriver.<init>(SafariDriver.java:58)
      2. org.openqa.selenium.safari.SafariDriver.<init>(SafariDriver.java:51)
      2 frames
    6. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      4 frames
    7. selenium-server
      DefaultSession$BrowserCreator.call
      1. org.openqa.selenium.remote.server.DefaultDriverProvider.callConstructor(DefaultDriverProvider.java:85)
      2. org.openqa.selenium.remote.server.DefaultDriverProvider.newInstance(DefaultDriverProvider.java:79)
      3. org.openqa.selenium.remote.server.DefaultDriverFactory.newInstance(DefaultDriverFactory.java:62)
      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:262)
      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:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames