java.lang.NoSuchMethodError: org.openqa.selenium.net.PortProber.waitForPortUp(IILjava/util/concurrent/TimeUnit;)V

GitHub | Ardesco | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 5

    GitHub comment 28#244793227

    GitHub | 6 months ago | Ardesco
    java.lang.NoSuchMethodError: org.openqa.selenium.net.PortProber.waitForPortUp(IILjava/util/concurrent/TimeUnit;)V
  2. 0

    Firefox: NoSuchMethod PortProber.waitForPortUp

    GitHub | 4 months ago | williamrussellajb
    java.lang.NoSuchMethodError: org.openqa.selenium.net.PortProber.waitForPortUp(IILjava/util/concurrent/TimeUnit;)V

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.openqa.selenium.net.PortProber.waitForPortUp(IILjava/util/concurrent/TimeUnit;)V

      at org.openqa.selenium.firefox.GeckoDriverService.waitUntilAvailable()
    2. selenium-firefox-driver
      GeckoDriverService.waitUntilAvailable
      1. org.openqa.selenium.firefox.GeckoDriverService.waitUntilAvailable(GeckoDriverService.java:73)
      1 frame
    3. Selenium
      RemoteWebDriver.<init>
      1. org.openqa.selenium.remote.service.DriverService.start(DriverService.java:166)
      2. org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:78)
      3. org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:644)
      4. org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
      5. org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)
      5 frames
    4. selenium-firefox-driver
      FirefoxDriver.<init>
      1. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:231)
      2. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:219)
      3. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:214)
      4. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:131)
      4 frames
    5. com.lazerycode.selenium
      ScreenshotListener.onTestFailure
      1. com.lazerycode.selenium.config.DriverType$1.getWebDriverObject(DriverType.java:32)
      2. com.lazerycode.selenium.config.DriverFactory.instantiateWebDriver(DriverFactory.java:88)
      3. com.lazerycode.selenium.config.DriverFactory.getDriver(DriverFactory.java:42)
      4. com.lazerycode.selenium.DriverBase.getDriver(DriverBase.java:34)
      5. com.lazerycode.selenium.listeners.ScreenshotListener.onTestFailure(ScreenshotListener.java:51)
      5 frames
    6. TestNG
      TestMethodWorker.run
      1. org.testng.internal.Invoker.runTestListeners(Invoker.java:1691)
      2. org.testng.internal.Invoker.runTestListeners(Invoker.java:1675)
      3. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1183)
      4. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      5. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      5 frames
    7. 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