java.lang.NoSuchMethodError: com.google.common.util.concurrent.MoreExecutors.directExecutor()Ljava/util/concurrent/Executor;

GitHub | Merfar | 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

    Safari webdriver extension 2.48 not running with Safari 9

    GitHub | 1 year ago | Merfar
    java.lang.NoSuchMethodError: com.google.common.util.concurrent.MoreExecutors.directExecutor()Ljava/util/concurrent/Executor;

    4 unregistered visitors

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.google.common.util.concurrent.MoreExecutors.directExecutor()Ljava/util/concurrent/Executor;

      at org.openqa.selenium.safari.WebSocketConnection.send()
    2. selenium-safari-driver
      SafariDriverCommandExecutor.execute
      1. org.openqa.selenium.safari.WebSocketConnection.send(WebSocketConnection.java:139)
      2. org.openqa.selenium.safari.SafariDriverCommandExecutor.execute(SafariDriverCommandExecutor.java:188)
      2 frames
    3. Selenium
      RemoteWebDriver.<init>
      1. org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:620)
      2. org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:247)
      3. org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:129)
      4. org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:142)
      4 frames
    4. selenium-safari-driver
      SafariDriver.<init>
      1. org.openqa.selenium.safari.SafariDriver.<init>(SafariDriver.java:62)
      2. org.openqa.selenium.safari.SafariDriver.<init>(SafariDriver.java:42)
      2 frames
    5. de.softisticated.testautomatisierung
      AbstractTest.readProperties
      1. de.softisticated.testautomatisierung.base.AbstractTest.readProperties(AbstractTest.java:98)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    7. TestNG
      RemoteTestNG.main
      1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
      2. org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:510)
      3. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:211)
      4. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
      5. org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:170)
      6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
      7. org.testng.TestRunner.privateRun(TestRunner.java:773)
      8. org.testng.TestRunner.run(TestRunner.java:623)
      9. org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
      10. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
      11. org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
      12. org.testng.SuiteRunner.run(SuiteRunner.java:259)
      13. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      14. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      15. org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
      16. org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
      17. org.testng.TestNG.run(TestNG.java:1018)
      18. org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
      19. org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
      20. org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
      20 frames