Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via wordpress.com by Unknown author, 1 year ago
via Google Groups by akay, 1 year ago
via GitHub by vaadin-bot
, 1 year ago
java.lang.String cannot be cast to java.util.Map
via GitHub by pvegh
, 2 years ago
java.lang.String cannot be cast to java.util.Map
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map	at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:143)	at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:95)	at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:103)	at library.Alerts.testAlert(Alerts.java:38)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:601)	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)	at org.testng.internal.Invoker.invokeMethod(Invoker.java:691)	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:883)	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1208)	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)	at org.testng.TestRunner.privateRun(TestRunner.java:753)	at org.testng.TestRunner.run(TestRunner.java:613)	at org.testng.SuiteRunner.runTest(SuiteRunner.java:335)	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:330)	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)	at org.testng.SuiteRunner.run(SuiteRunner.java:241)	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1169)	at org.testng.TestNG.runSuitesLocally(TestNG.java:1094)	at org.testng.TestNG.run(TestNG.java:1006)	at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:107)	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:199)