Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

com.groupon.seleniumgridextras.grid.servlets.ProxyStatusJsonServlet] cannot be instantiated #401

Open
jasontseu1983 opened this issue Apr 18, 2018 · 1 comment

Comments

@jasontseu1983
Copy link

Hi,

I am unable to enable the servlet in Selenium Grid 3.11, Window 10

WARN [ExtraServletUtil.createServlet] - The specified class : com.groupon.seleniumgridextras.grid.servlets.ProxyStatusJsonServlet] cannot be instantiated com.groupon.seleniumgridextras.grid.servlets.ProxyStatusJsonServlet]

@andmia
Copy link

andmia commented Apr 23, 2018

Seems to be working with webdriver 3.9.0 but not with webdriver 3.10.0 and 3.11.0.

Running the hub with Selenium Grid Extras 2.0.2 on a Ubuntu 16.04.3 LTS:

/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -jar "/opt/selenium/jars/SeleniumGridExtras-2.0.2-SNAPSHOT-jar-with-dependencies.jar"

Grid extras config file:

"webdriver": {
"version": "3.11.0"
},
"hub_additional_classpath": ["/opt/selenium/jars/extension-proxy-1.0.jar"]

Hub json file with HubRequestsProxyingServlet needed for Sikuli with Selenium Grid:

"servlets": ["com.groupon.seleniumgridextras.grid.servlets.ProxyStatusJsonServlet","io.sterodium.extensions.hub.proxy.HubRequestsProxyingServlet"],
"capabilityMatcher": "io.sterodium.extensions.capability.CustomCapabilityMatcher",

Hub log with webdriver 3.11.0:

10:29:56.657 INFO [GridLauncherV3.launch] - Selenium build info: version: '3.11.0', revision: 'e59cfb3'
10:29:56.664 INFO [GridLauncherV3$2.launch] - Launching Selenium Grid hub on port 4444
10:29:56.721 WARN [ExtraServletUtil.createServlet] - The specified class : [com.groupon.seleniumgridextras.grid.servlets.ProxyStatusJsonServlet cannot be instantiated [com/groupon/seleniumgridextras/grid/servlets/ProxyStatusJsonServlet
10:29:56.722 WARN [ExtraServletUtil.createServlet] - The specified class : io.sterodium.extensions.hub.proxy.HubRequestsProxyingServlet] cannot be instantiated io.sterodium.extensions.hub.proxy.HubRequestsProxyingServlet]
10:29:56.722 WARN [ExtraServletUtil.createServlet] - The specified class : [com.groupon.seleniumgridextras.grid.servlets.ProxyStatusJsonServlet cannot be instantiated [com/groupon/seleniumgridextras/grid/servlets/ProxyStatusJsonServlet
10:29:56.723 WARN [ExtraServletUtil.createServlet] - The specified class : io.sterodium.extensions.hub.proxy.HubRequestsProxyingServlet] cannot be instantiated io.sterodium.extensions.hub.proxy.HubRequestsProxyingServlet]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants