Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

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

@ambirag

Description

@ambirag

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions