org.apache.maven.lifecycle.LifecycleExecutionException

Failed to execute goal org.liquibase:liquibase-maven-plugin:3.3.0:generateChangeLog (default-cli) on project logiq-persistence: Error setting up or running Liquibase: liquibase.command.CommandExecutionException: liquibase.exception.UnexpectedLiquibaseException: java.sql.SQLException: Invalid argument(s) in call: setFetchSize

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 web4955

  • via JIRA by Thomas Becker, 1 year ago
    Failed to execute goal org.liquibase:liquibase-maven-plugin:3.3.0:generateChangeLog (default-cli) on project logiq-persistence: Error setting up or running Liquibase: liquibase.command.CommandExecutionException: liquibase.exception.UnexpectedLiquibaseException: java.sql.SQLException: Invalid argument(s) in call: setFetchSize
  • via JIRA by Thomas Becker, 1 year ago
    Failed to execute goal org.liquibase:liquibase-maven-plugin:3.3.0:generateChangeLog (default-cli) on project logiq-persistence: Error setting up or running Liquibase: liquibase.command.CommandExecutionException: liquibase.exception.UnexpectedLiquibaseException: java.sql.SQLException: Invalid argument(s) in call: setFetchSize
  • Failed to execute goal org.liquibase:liquibase-maven-plugin:3.3.0:diff (default-cli) on project jhipster: Error setting up or running Liquibase: javax.persistence.PersistenceException: Unable to resolve persistence unit root URL
  • Stack trace

    • org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.liquibase:liquibase-maven-plugin:3.3.0:generateChangeLog (default-cli) on project logiq-persistence: Error setting up or running Liquibase: liquibase.command.CommandExecutionException: liquibase.exception.UnexpectedLiquibaseException: java.sql.SQLException: Invalid argument(s) in call: setFetchSize at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) 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:317) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152) 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:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Error setting up or running Liquibase: liquibase.command.CommandExecutionException: liquibase.exception.UnexpectedLiquibaseException: java.sql.SQLException: Invalid argument(s) in call: setFetchSize at org.liquibase.maven.plugins.AbstractLiquibaseMojo.execute(AbstractLiquibaseMojo.java:373) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 more Caused by: liquibase.exception.LiquibaseException: liquibase.command.CommandExecutionException: liquibase.exception.UnexpectedLiquibaseException: java.sql.SQLException: Invalid argument(s) in call: setFetchSize at liquibase.integration.commandline.CommandLineUtils.doGenerateChangeLog(CommandLineUtils.java:140) at liquibase.integration.commandline.CommandLineUtils.doGenerateChangeLog(CommandLineUtils.java:114) at org.liquibase.maven.plugins.LiquibaseGenerateChangeLogMojo.performLiquibaseTask(LiquibaseGenerateChangeLogMojo.java:85) at org.liquibase.maven.plugins.AbstractLiquibaseMojo.execute(AbstractLiquibaseMojo.java:369) ... 21 more Caused by: liquibase.command.CommandExecutionException: liquibase.exception.UnexpectedLiquibaseException: java.sql.SQLException: Invalid argument(s) in call: setFetchSize at liquibase.command.AbstractCommand.execute(AbstractCommand.java:13) at liquibase.integration.commandline.CommandLineUtils.doGenerateChangeLog(CommandLineUtils.java:138) ... 24 more Caused by: liquibase.exception.UnexpectedLiquibaseException: java.sql.SQLException: Invalid argument(s) in call: setFetchSize at liquibase.diff.output.changelog.core.MissingDataExternalFileChangeGenerator.fixMissing(MissingDataExternalFileChangeGenerator.java:155) 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:145) at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:125) at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:81) at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:64) at liquibase.command.GenerateChangeLogCommand.run(GenerateChangeLogCommand.java:54) at liquibase.command.AbstractCommand.execute(AbstractCommand.java:8) ... 25 more Caused by: java.sql.SQLException: Invalid argument(s) in call: setFetchSize at oracle.jdbc.driver.OracleStatement.setPrefetchInternal(OracleStatement.java:2854) at oracle.jdbc.driver.OracleStatement.setFetchSize(OracleStatement.java:4122) at oracle.jdbc.driver.OracleStatementWrapper.setFetchSize(OracleStatementWrapper.java:232) at liquibase.diff.output.changelog.core.MissingDataExternalFileChangeGenerator.fixMissing(MissingDataExternalFileChangeGenerator.java:63) ... 33 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.