java.lang.ClassCastException: java.lang.Integer 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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via JIRA by Rubén Lagar, 1 year ago
java.lang.Integer cannot be cast to java.lang.Boolean
via JIRA by Rubén Lagar, 1 year ago
java.lang.Integer cannot be cast to java.lang.Boolean
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Boolean
at liquibase.datatype.core.BooleanType.objectToSql(BooleanType.java:75)
at liquibase.diff.output.changelog.core.MissingColumnChangeGenerator.fixMissing(MissingColumnChangeGenerator.java:72)
at liquibase.diff.output.changelog.ChangeGeneratorChain.fixMissing(ChangeGeneratorChain.java:44)
at liquibase.diff.output.changelog.ChangeGeneratorFactory.fixMissing(ChangeGeneratorFactory.java:95)
at liquibase.diff.output.changelog.DiffToChangeLog.generateChangeSets(DiffToChangeLog.java:140)
at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:121)
at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:67)
at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:50)
at liquibase.integration.commandline.CommandLineUtils.doDiffToChangeLog(CommandLineUtils.java:153)
at liquibase.integration.commandline.Main.doMigration(Main.java:788)

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.

Write tip

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