FAQ
I'm trying to run the selenium standalone server with chromeDriver,
using only default configurations, but getting an error about the
proxy setting being null. I would gladly override the proxy setting
(to "direct"), but I don't know how.

Here's what I'm doing:

java -jar ~/Downloads/selenium-server-standalone-2.21.0.jar -port 4445

I have this in my path: ChromeDriver 19.0.1068.0
And Chrome browser 18.0.1025.165

Then, I'm hitting the Selenium server using the perl APIs.

This is what's in the log for the ChromeDriver, and appears to show
the problematic "null" setting for "proxy":

[0.000][INFO]: ChromeDriver 19.0.1068.0 /Users/jric/bin/
chromedriver
[0.464][FINE]: Initializing session with capabilities {
"acceptSslCerts": true,
"browserName": "chrome",
"javascriptEnabled": true,
"platform": "ANY",
"proxy": null,
"version": ""
}

This is the full error message from the selenium server:

13:04:20.516 INFO - Executing: [new session: {platform=ANY,
acceptSslCerts=true, javascriptEnabled=true, browserName=chrome,
proxy=null, version=}] at URL: /session)
Started ChromeDriver
port=25837
version=19.0.1068.0
log=/Users/jric/dev/poppler-chegg/chromedriver.log
objc[65457]: Object 0x6a635970 of class NSPathStore2 autoreleased with
no pool in place - just leaking - break on objc_autoreleaseNoPool() to
debug
objc[65457]: Object 0x6a635b60 of class NSPathStore2 autoreleased with
no pool in place - just leaking - break on objc_autoreleaseNoPool() to
debug
objc[65457]: Object 0x6a635c20 of class NSConcreteData autoreleased
with no pool in place - just leaking - break on
objc_autoreleaseNoPool() to debug
objc[65457]: Object 0x6a635c80 of class __NSCFString autoreleased with
no pool in place - just leaking - break on objc_autoreleaseNoPool() to
debug
objc[65457]: Object 0x6a635ac0 of class NSBundle autoreleased with no
pool in place - just leaking - break on objc_autoreleaseNoPool() to
debug
13:04:21.465 WARN - Exception thrown
java.util.concurrent.ExecutionException:
org.openqa.selenium.WebDriverException:
java.lang.reflect.InvocationTargetException
Build info: version: '2.21.0', revision: '16552', time: '2012-04-11
19:08:38'
System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version:
'10.7.3', java.version: '1.6.0_29'
Driver info: driver.version: unknown
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at
org.openqa.selenium.remote.server.DefaultSession.execute(DefaultSession.java:
158)
at
org.openqa.selenium.remote.server.DefaultSession.<init>(DefaultSession.java:
112)
at
org.openqa.selenium.remote.server.DefaultSession.createSession(DefaultSession.java:
89)
at
org.openqa.selenium.remote.server.DefaultDriverSessions.newSession(DefaultDriverSessions.java:
92)
at
org.openqa.selenium.remote.server.handler.NewSession.handle(NewSession.java:
62)
at
org.openqa.selenium.remote.server.rest.ResultConfig.handle(ResultConfig.java:
202)
at
org.openqa.selenium.remote.server.DriverServlet.handleRequest(DriverServlet.java:
597)
at
org.openqa.selenium.remote.server.DriverServlet.doPost(DriverServlet.java:
548)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.openqa.selenium.remote.server.DriverServlet.service(DriverServlet.java:
520)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.openqa.jetty.jetty.servlet.ServletHolder.handle(ServletHolder.java:
428)
at
org.openqa.jetty.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:
677)
at
org.openqa.jetty.jetty.servlet.ServletHandler.handle(ServletHandler.java:
568)
at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1530)
at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1482)
at org.openqa.jetty.http.HttpServer.service(HttpServer.java:909)
at org.openqa.jetty.http.HttpConnection.service(HttpConnection.java:
820)
at
org.openqa.jetty.http.HttpConnection.handleNext(HttpConnection.java:
986)
at org.openqa.jetty.http.HttpConnection.handle(HttpConnection.java:
837)
at
org.openqa.jetty.http.SocketListener.handleConnection(SocketListener.java:
243)
at org.openqa.jetty.util.ThreadedServer.handle(ThreadedServer.java:
357)
at org.openqa.jetty.util.ThreadPool$PoolThread.run(ThreadPool.java:
534)
Caused by: org.openqa.selenium.WebDriverException:
java.lang.reflect.InvocationTargetException
Build info: version: '2.21.0', revision: '16552', time: '2012-04-11
19:08:38'
System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version:
'10.7.3', java.version: '1.6.0_29'
Driver info: driver.version: unknown
at
org.openqa.selenium.remote.server.DefaultDriverFactory.callConstructor(DefaultDriverFactory.java:
68)
at
org.openqa.selenium.remote.server.DefaultDriverFactory.newInstance(DefaultDriverFactory.java:
52)
at org.openqa.selenium.remote.server.DefaultSession
$BrowserCreator.call(DefaultSession.java:197)
at org.openqa.selenium.remote.server.DefaultSession
$BrowserCreator.call(DefaultSession.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at org.openqa.selenium.remote.server.DefaultSession
$1.run(DefaultSession.java:151)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
org.openqa.selenium.remote.server.DefaultDriverFactory.callConstructor(DefaultDriverFactory.java:
58)
... 9 more
Caused by: org.openqa.selenium.WebDriverException: proxy must be of
type dictionary, not null. Received: null
(WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 646 milliseconds
Build info: version: '2.21.0', revision: '16552', time: '2012-04-11
19:08:38'
System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version:
'10.7.3', java.version: '1.6.0_29'
Driver info: driver.version: ChromeDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:
175)
at
org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:
128)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:
459)
at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:
140)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:
95)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:
133)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:
110)
... 14 more
13:04:21.473 WARN - Exception: proxy must be of type dictionary, not
null. Received: null
(WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 646 milliseconds
Build info: version: '2.21.0', revision: '16552', time: '2012-04-11
19:08:38'
System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version:
'10.7.3', java.version: '1.6.0_29'
Driver info: driver.version: ChromeDriver

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupselenium-users @
categoriesselenium
postedMay 1, '12 at 10:26p
activeMay 1, '12 at 10:26p
posts1
users1
websiteseleniumhq.org

1 user in discussion

Joshua Richardson: 1 post

People

Translate

site design / logo © 2022 Grokbase