java.lang.ClassCastException

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


Solutions on the web20060

Solution icon of coderanch
via Coderanch by rsathish gandhi, 8 months ago
java.lang.String cannot be cast to java.lang.Boolean

Solution icon of bugzilla
java.lang.Boolean cannot be cast to java.lang.String

Solution icon of bugzilla
via Eclipse Bugzilla by xavier.raynaud, 1 year ago
java.lang.String cannot be cast to java.lang.Boolean

Solution icon of bugzilla
java.lang.String cannot be cast to java.lang.Boolean

Solution icon of github
via GitHub by silverailscolo
, 10 months ago
java.lang.String cannot be cast to java.lang.Boolean

Solution icon of github
via GitHub by PListc
, 4 months ago
java.lang.Boolean cannot be cast to java.lang.String

Solution icon of github
via GitHub by vinogradoff
, 7 months ago
java.lang.String cannot be cast to java.lang.Boolean

Solution icon of github
via GitHub by simon1964
, 1 year ago
java.lang.Boolean cannot be cast to java.lang.String

Solution icon of github
via GitHub by realcnbs
, 1 year ago
java.lang.String cannot be cast to java.lang.Boolean

Solution icon of github
java.lang.String cannot be cast to java.lang.Boolean

Stack trace

  • 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.<init>(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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.