java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean

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 GitHub by ostap-oleksyn
, 11 months ago
java.lang.String cannot be cast to java.lang.Boolean
via GitHub by vinogradoff
, 11 months ago
java.lang.String cannot be cast to java.lang.Boolean
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
at org.openqa.selenium.firefox.FirefoxDriver.populateProfile(FirefoxDriver.java:183)
at org.openqa.selenium.firefox.FirefoxDriver.extractProfile(FirefoxDriver.java:168)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:135)
at com.codeborne.selenide.webdriver.WebDriverFactory.createFirefoxDriver(WebDriverFactory.java:127)
at com.codeborne.selenide.webdriver.WebDriverFactory.createWebDriver(WebDriverFactory.java:47)
at com.codeborne.selenide.impl.WebDriverThreadLocalContainer.createDriver(WebDriverThreadLocalContainer.java:240)
at com.codeborne.selenide.impl.WebDriverThreadLocalContainer.getAndCheckWebDriver(WebDriverThreadLocalContainer.java:113)
at com.codeborne.selenide.WebDriverRunner.getAndCheckWebDriver(WebDriverRunner.java:136)
at com.codeborne.selenide.impl.Navigator.navigateToAbsoluteUrl(Navigator.java:68)
at com.codeborne.selenide.impl.Navigator.open(Navigator.java:31)
at com.codeborne.selenide.Selenide.open(Selenide.java:81)
at com.codeborne.selenide.Selenide.open(Selenide.java:55)
at com.codeborne.selenide.webdriver.Tst.test(Tst.java:12)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.