Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Status-Untriaged
New issue 5260 by
etfloy...@gmail.com: SafariDriver Throws NoSuchMethodError
http://code.google.com/p/selenium/issues/detail?id=5260
Environment:
Mac OS X 10.7.5,
Safari Version 6.0.2 (7536.26.17)
selenium-java-2.31.0.jar,
java version "1.6.0_41"
Java(TM) SE Runtime Environment (build 1.6.0_41-b02-445-11M4107)
Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01-445, mixed mode)
Code:
private WebDriver createSafariDriver() {
SafariDriver dvr = new SafariDriver(); //<--Exception occurs here
(WebScriptRunner.java:509)
return dvr;
}
Result: Browser starts but SeleniumDriver throws exception:
Feb 28, 2013 1:07:29 PM org.openqa.selenium.safari.SafariDriverServer
start
INFO: Server started on port 18715
(java.lang.NoSuchMethodError:
com.google.common.base.Platform.systemNanoTime()J)
java.lang.NoSuchMethodError:
com.google.common.base.Platform.systemNanoTime()J
at com.google.common.base.Ticker$1.read(Ticker.java:60)
at com.google.common.base.Stopwatch.start(Stopwatch.java:114)
at
org.openqa.selenium.safari.SafariDriverCommandExecutor.start(SafariDriverCommandExecutor.java:101)
at
org.openqa.selenium.safari.SafariDriver.startClient(SafariDriver.java:71)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:115)
at org.openqa.selenium.safari.SafariDriver.<init>(SafariDriver.java:57)
at org.openqa.selenium.safari.SafariDriver.<init>(SafariDriver.java:52)
at
com.tsys.seleniumrunner.WebScriptRunner.createSafariDriver(WebScriptRunner.java:509)
etc...
Browser instance remains with this on page:
SafariDriver Client
[ 0.009s] [safaridriver.client] Requesting connection at
ws://localhost:4063...
[ 0.040s] [safaridriver.client] Request acknowledged; connecting...
Any ideas?
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings