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

selenium-webdriver 2.48.2 causes cannot be cast to java.lang.String exception #15

Open
ambirag opened this issue Nov 10, 2015 · 0 comments

Comments

@ambirag
Copy link

ambirag commented Nov 10, 2015

When I updated 2.48.2 of selenium-webdriver, and request gridscaler to create node, i get the following exception:

Nov 10, 2015 12:29:32:924 PM - WARN [qtp2033294196-28] [ServletHandler] /grid/admin/AutomationTestRunServlet
java.lang.ClassCastException: org.openqa.selenium.Platform$12 cannot be cast to java.lang.String
at com.rmn.qa.AutomationRunRequest.matchesCapabilities(AutomationRunRequest.java:187) ~[automation-grid.jar:na]
at com.rmn.qa.AutomationRequestMatcher.getNumFreeThreadsForParameters(AutomationRequestMatcher.java:93) ~[automation-grid.jar:na]
at com.rmn.qa.servlet.AutomationTestRunServlet.doPost(AutomationTestRunServlet.java:200) ~[automation-grid.jar:na]
at com.rmn.qa.servlet.AutomationTestRunServlet.doGet(AutomationTestRunServlet.java:143) ~[automation-grid.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) ~[automation-grid.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) ~[automation-grid.jar:na]
at org.seleniumhq.jetty9.servlet.ServletHolder.handle(ServletHolder.java:808) ~[automation-grid.jar:na]
at org.seleniumhq.jetty9.servlet.ServletHandler.doHandle(ServletHandler.java:587) [automation-grid.jar:na]
at org.seleniumhq.jetty9.server.session.SessionHandler.doHandle(SessionHandler.java:221) [automation-grid.jar:na]
at org.seleniumhq.jetty9.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) [automation-grid.jar:na]
at org.seleniumhq.jetty9.servlet.ServletHandler.doScope(ServletHandler.java:515) [automation-grid.jar:na]
at org.seleniumhq.jetty9.server.session.SessionHandler.doScope(SessionHandler.java:185) [automation-grid.jar:na]
at org.seleniumhq.jetty9.server.handler.ContextHandler.doScope(ContextHandler.java:1061) [automation-grid.jar:na]
at org.seleniumhq.jetty9.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [automation-grid.jar:na]
at org.seleniumhq.jetty9.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [automation-grid.jar:na]
at org.seleniumhq.jetty9.server.Server.handle(Server.java:499) [automation-grid.jar:na]
at org.seleniumhq.jetty9.server.HttpChannel.handle(HttpChannel.java:310) [automation-grid.jar:na]
at org.seleniumhq.jetty9.server.HttpConnection.onFillable(HttpConnection.java:257) [automation-grid.jar:na]
at org.seleniumhq.jetty9.io.AbstractConnection$2.run(AbstractConnection.java:540) [automation-grid.jar:na]
at org.seleniumhq.jetty9.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) [automation-grid.jar:na]
at org.seleniumhq.jetty9.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) [automation-grid.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_85]
Nov 10, 2015 12:29:32:926 PM - WARN [qtp2033294196-28] [HttpChannel] /grid/admin/AutomationTestRunServlet?uuid=testRun1&threadCount=16&browser=firefox
java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.isAsyncStarted()Z
at org.seleniumhq.jetty9.servlet.ServletHandler.doHandle(ServletHandler.java:684) ~[automation-grid.jar:na]
at org.seleniumhq.jetty9.server.session.SessionHandler.doHandle(SessionHandler.java:221) ~[automation-grid.jar:na]
at org.seleniumhq.jetty9.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) ~[automation-grid.jar:na]
at org.seleniumhq.jetty9.servlet.ServletHandler.doScope(ServletHandler.java:515) ~[automation-grid.jar:na]
at org.seleniumhq.jetty9.server.session.SessionHandler.doScope(SessionHandler.java:185) ~[automation-grid.jar:na]
at org.seleniumhq.jetty9.server.handler.ContextHandler.doScope(ContextHandler.java:1061) ~[automation-grid.jar:na]
at org.seleniumhq.jetty9.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[automation-grid.jar:na]
at org.seleniumhq.jetty9.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) ~[automation-grid.jar:na]
at org.seleniumhq.jetty9.server.Server.handle(Server.java:499) ~[automation-grid.jar:na]
at org.seleniumhq.jetty9.server.HttpChannel.handle(HttpChannel.java:310) ~[automation-grid.jar:na]
at org.seleniumhq.jetty9.server.HttpConnection.onFillable(HttpConnection.java:257) [automation-grid.jar:na]
at org.seleniumhq.jetty9.io.AbstractConnection$2.run(AbstractConnection.java:540) [automation-grid.jar:na]
at org.seleniumhq.jetty9.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) [automation-grid.jar:na]
at org.seleniumhq.jetty9.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) [automation-grid.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_85]

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

1 participant