org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Original error: Requested a new session but one was in progress) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 0 milliseconds Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700' System info: host: 'LAPTOP-O6MJ7FC6', ip: '192.168.251.2', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121' Driver info: driver.version: AndroidDriver

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

    Appium TestNG error : Attempting bi-dialect session, assuming Postel's Law holds true on the remote end

    Software Quality Assurance & Testing | 2 weeks ago | victoria
    org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Original error: Requested a new session but one was in progress) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 0 milliseconds Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700' System info: host: 'LAPTOP-O6MJ7FC6', ip: '192.168.251.2', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121' Driver info: driver.version: AndroidDriver
  2. 0

    A Space for Automation Enthusiasts: Running tests on Google Chrome using Webdriver

    varunin.com | 5 months ago
    org.openqa.selenium.WebDriverException: chrome not reachable (Driver info: chromedriver=2.2,platform=Windows NT 6.1 SP1 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 28.67 seconds Build info: version: '2.24.1', revision: '17205', time: '2012-06-19 16:53:24' System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.6.0_23' Driver info: driver.version: ChromeDriver Session ID: 3655d6ab20ebadd9e0e0637aa9acd4a9
  3. 0

    Running elementor momentarily starts Chrome browser/shuts down, exceptions are thrown in webdriver server console

    GitHub | 4 months ago | jaisannaidu79
    java.util.concurrent.ExecutionException: org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03' System info: host: 'naija03-win10a', ip: '10.132.141.236', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_101' Driver info: driver.version: unknown
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Am getting error while the run the code

    Google Groups | 6 months ago | Sathia Narayanan
    org.openqa.selenium.SessionNotCreatedException: session not created exception from unknown error: Runtime.executionContextCreated has invalid 'context': {"auxData":{"frameId":"824.1","isDefault":true},"id":1,"name":"","origin":"://"} (Session info: chrome=54.0.2840.6) (Driver info: chromedriver=2.23.409699 ( 49b0fa931cda1caad0ae15b7d1b68004acd05129),platform=Windows NT 6.3.9600 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 2.51 seconds Build info: version: 'unknown', revision: '2aa21c1', time: '2016-08-02 14:59:43 -0700' System info: host: 'TECHNO', ip: '192.168.1.7', os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_101' Driver info: org.openqa.selenium.chrome.ChromeDriver at sun.reflect. NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect. NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect. DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)

    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. org.openqa.selenium.SessionNotCreatedException

      A new session could not be created. (Original error: Requested a new session but one was in progress) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 0 milliseconds Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700' System info: host: 'LAPTOP-O6MJ7FC6', ip: '192.168.251.2', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121' Driver info: driver.version: AndroidDriver

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
    2. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      4. java.lang.reflect.Constructor.newInstance(Unknown Source)
      4 frames
    3. Selenium
      HttpCommandExecutor.execute
      1. org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:216)
      2. org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:168)
      3. org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:161)
      4. org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:64)
      5. org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:141)
      5 frames
    4. java-client
      AppiumCommandExecutor.execute
      1. io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:69)
      1 frame
    5. Selenium
      RemoteWebDriver.execute
      1. org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)
      1 frame
    6. java-client
      AndroidDriver.execute
      1. io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
      2. io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
      3. io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
      3 frames
    7. Selenium
      RemoteWebDriver.<init>
      1. org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:241)
      2. org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:128)
      3. org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:141)
      3 frames
    8. java-client
      AndroidDriver.<init>
      1. io.appium.java_client.DefaultGenericMobileDriver.<init>(DefaultGenericMobileDriver.java:38)
      2. io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:90)
      3. io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:128)
      4. io.appium.java_client.android.AndroidDriver.<init>(AndroidDriver.java:72)
      4 frames
    9. com.example
      FirstAppiumTest.Setup
      1. com.example.FirstAppiumTest.Setup(FirstAppiumTest.java:33)
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    11. TestNG
      RemoteTestNG.main
      1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
      2. org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
      3. org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
      4. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
      5. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      7. org.testng.TestRunner.privateRun(TestRunner.java:756)
      8. org.testng.TestRunner.run(TestRunner.java:610)
      9. org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
      10. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
      11. org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
      12. org.testng.SuiteRunner.run(SuiteRunner.java:289)
      13. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      14. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      15. org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
      16. org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
      17. org.testng.TestNG.runSuites(TestNG.java:1133)
      18. org.testng.TestNG.run(TestNG.java:1104)
      19. org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:132)
      20. org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:236)
      21. org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:81)
      21 frames