org.apache.maven.lifecycle.LifecycleExecutionException

Failed to execute goal org.liquibase:liquibase-maven-plugin:3.0.6-PATCH1:diff (diff-database) on project commander-server: Execution diff-database of goal org.liquibase:liquibase-maven-plugin:3.0.6-PATCH1:diff failed.

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 web4752

  • via JIRA by Anders Wallgren, 1 year ago
    Failed to execute goal org.liquibase:liquibase-maven-plugin:3.0.6-PATCH1:diff (diff-database) on project commander-server: Execution diff-database of goal org.liquibase:liquibase-maven-plugin:3.0.6-PATCH1:diff failed.
  • via JIRA by Anders Wallgren, 1 year ago
    Failed to execute goal org.liquibase:liquibase-maven-plugin:3.0.6-PATCH1:diff (diff-database) on project commander-server: Execution diff-database of goal org.liquibase:liquibase-maven-plugin:3.0.6-PATCH1:diff failed.
  • via JIRA by Joachim Grimm, 1 year ago
    Failed to execute goal org.liquibase:liquibase-maven-plugin:3.2.0:diff (diff) on project swan-core: Error setting up or running Liquibase: liquibase.command.CommandExecutionException: java.lang.NullPointerException
  • Stack trace

    • org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.liquibase:liquibase-maven-plugin:3.0.6-PATCH1:diff (diff-database) on project commander-server: Execution diff-database of goal org.liquibase:liquibase-maven-plugin:3.0.6-PATCH1:diff failed. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:318) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) 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:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:414) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution diff-database of goal org.liquibase:liquibase-maven-plugin:3.0.6-PATCH1:diff failed. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:115) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 more Caused by: java.lang.NullPointerException at liquibase.diff.output.changelog.core.ChangedIndexChangeGenerator.fixChanged(ChangedIndexChangeGenerator.java:66) at liquibase.diff.output.changelog.ChangeGeneratorChain.fixChanged(ChangeGeneratorChain.java:106) at liquibase.diff.output.changelog.ChangeGeneratorFactory.fixChanged(ChangeGeneratorFactory.java:111) at liquibase.diff.output.changelog.DiffToChangeLog.generateChangeSets(DiffToChangeLog.java:162) 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:152) at org.liquibase.maven.plugins.LiquibaseDatabaseDiff.performLiquibaseTask(LiquibaseDatabaseDiff.java:141) at org.liquibase.maven.plugins.AbstractLiquibaseMojo.execute(AbstractLiquibaseMojo.java:376) at org.liquibase.maven.plugins.LiquibaseDatabaseDiff.execute(LiquibaseDatabaseDiff.java:121) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106) ... 20 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.