liquibase.exception.LiquibaseException

liquibase.command.CommandExecutionException: java.lang.NullPointerException

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web41

  • via JIRA by Joachim Grimm, 1 year ago
    liquibase.command.CommandExecutionException: java.lang.NullPointerException
  • via JIRA by Henning Hoefer, 1 year ago
    liquibase.command.CommandExecutionException: java.lang.NullPointerException
  • liquibase.command.CommandExecutionException: java.lang.NullPointerException
  • Stack trace

    • liquibase.exception.LiquibaseException: liquibase.command.CommandExecutionException: java.lang.NullPointerException at liquibase.integration.commandline.CommandLineUtils.doDiffToChangeLog(CommandLineUtils.java:107) at liquibase.integration.commandline.Main.doMigration(Main.java:889) at liquibase.integration.commandline.Main.run(Main.java:170) at liquibase.integration.commandline.Main.main(Main.java:89) Caused by: liquibase.command.CommandExecutionException: java.lang.NullPointerException at liquibase.command.AbstractCommand.execute(AbstractCommand.java:13) at liquibase.integration.commandline.CommandLineUtils.doDiffToChangeLog(CommandLineUtils.java:105) ... 3 more Caused by: java.lang.NullPointerException at liquibase.diff.output.changelog.core.MissingForeignKeyChangeGenerator.fixMissing(MissingForeignKeyChangeGenerator.java:43) at liquibase.diff.output.changelog.ChangeGeneratorChain.fixMissing(ChangeGeneratorChain.java:44) at liquibase.diff.output.changelog.ChangeGeneratorFactory.fixMissing(ChangeGeneratorFactory.java:99) at liquibase.diff.output.changelog.DiffToChangeLog.generateChangeSets(DiffToChangeLog.java:147) at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:127) at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:65) at liquibase.command.DiffToChangeLogCommand.run(DiffToChangeLogCommand.java:59) at liquibase.command.AbstractCommand.execute(AbstractCommand.java:8) ... 4 more

    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’re the first here who have seen this exception.