liquibase.exception.LiquibaseException: liquibase.command.CommandExecutionException: liquibase.exception.UnexpectedLiquibaseException: No changeset file path set. Cannot determine target database type

JIRA | Ricardo Stuven | 2 years ago
  1. 0

    C:\liquibase-3.2.0-bin>liquibase --defaultsFile test.properties --changeLogFile=db.changelog.xml generateChangeLog Liquibase 'generateChangeLog' Successful C:\liquibase-3.2.0-bin>liquibase --defaultsFile test.properties --changeLogFile=db.changelog.sql generateChangeLog DEBUG 16-06-14 07:54 PM: liquibase: Connected to sa@jdbc:sqlserver://MSI\sqlexpress:64921;authenticationScheme=nativeAuthentication;xopenStates=false;sendTimeAsDatetime=true;trustServerCertificate=false;sendStringParametersAsUnicode=true;selectMethod=direct;responseBuffering=adaptive;packetSize=8000;multiSubnetFailover=false;loginTimeout=15;lockTimeout=-1;lastUpdateCount=true;encrypt=false;disableStatementPooling=true;databaseName=ppro-vspt;applicationName=Microsoft JDBC Driver for SQL Server;applicationIntent=readwrite; DEBUG 16-06-14 07:54 PM: liquibase: Setting auto commit to false from true DEBUG 16-06-14 07:54 PM: liquibase: Executing QUERY database command: select schema_name() DEBUG 16-06-14 07:54 PM: liquibase: Computed checksum for 1402962840822 as 263652e6a2223240ac05c752b0f6a0f3 DEBUG 16-06-14 07:54 PM: liquibase: Executing QUERY database command: SELECT CONVERT(varchar(100), SERVERPROPERTY('COLLATION')) INFO 16-06-14 07:54 PM: liquibase: db.changelog.sql does not exist, creating DEBUG 16-06-14 07:54 PM: liquibase: MissingObjectChangeGenerator type order: liquibase.structure.core.Catalog liquibase.structure.core.Schema liquibase.structure.core.Sequence liquibase.structure.core.StoredProcedure liquibase.structure.core.Table liquibase.structure.core.Column liquibase.structure.core.PrimaryKey liquibase.structure.core.UniqueConstraint liquibase.structure.core.ForeignKey liquibase.structure.core.Index liquibase.structure.core.View DEBUG 16-06-14 07:54 PM: liquibase: UnexpectedObjectChangeGenerator type order: liquibase.structure.core.Catalog liquibase.structure.core.ForeignKey liquibase.structure.core.Schema liquibase.structure.core.StoredProcedure liquibase.structure.core.UniqueConstraint liquibase.structure.core.View liquibase.structure.core.Table liquibase.structure.core.PrimaryKey liquibase.structure.core.Column liquibase.structure.core.Index liquibase.structure.core.Sequence DEBUG 16-06-14 07:54 PM: liquibase: ChangedObjectChangeGenerator type order: liquibase.structure.core.Catalog liquibase.structure.core.ForeignKey liquibase.structure.core.Schema liquibase.structure.core.Sequence liquibase.structure.core.StoredProcedure liquibase.structure.core.Table liquibase.structure.core.Column liquibase.structure.core.PrimaryKey liquibase.structure.core.Index liquibase.structure.core.UniqueConstraint liquibase.structure.core.View Unexpected error running Liquibase: liquibase.exception.UnexpectedLiquibaseException: No changeset file path set. Cannot determine target database type SEVERE 16-06-14 07:54 PM: liquibase: liquibase.exception.UnexpectedLiquibaseException: No changeset file path set. Cannot determine target database type liquibase.exception.LiquibaseException: liquibase.command.CommandExecutionException: liquibase.exception.UnexpectedLiquibaseException: No changeset file path set. Cannot determine target database type at liquibase.integration.commandline.CommandLineUtils.doGenerateChangeLog(CommandLineUtils.java:139) at liquibase.integration.commandline.Main.doMigration(Main.java:899) at liquibase.integration.commandline.Main.run(Main.java:170) at liquibase.integration.commandline.Main.main(Main.java:89) Caused by: liquibase.command.CommandExecutionException: liquibase.exception.UnexpectedLiquibaseException: No changeset file path set. Cannot determine target database type at liquibase.command.AbstractCommand.execute(AbstractCommand.java:13) at liquibase.integration.commandline.CommandLineUtils.doGenerateChangeLog(CommandLineUtils.java:137) ... 3 more Caused by: liquibase.exception.UnexpectedLiquibaseException: No changeset file path set. Cannot determine target database type at liquibase.serializer.core.formattedsql.FormattedSqlChangeLogSerializer.getTargetDatabase(FormattedSqlChangeLogSerializer.java:64) at liquibase.serializer.core.formattedsql.FormattedSqlChangeLogSerializer.serialize(FormattedSqlChangeLogSerializer.java:40) at liquibase.serializer.core.formattedsql.FormattedSqlChangeLogSerializer.write(FormattedSqlChangeLogSerializer.java:87) at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:129) at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:73) at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:61) at liquibase.command.GenerateChangeLogCommand.run(GenerateChangeLogCommand.java:54) at liquibase.command.AbstractCommand.execute(AbstractCommand.java:8) ... 4 more

    JIRA | 2 years ago | Ricardo Stuven
    liquibase.exception.LiquibaseException: liquibase.command.CommandExecutionException: liquibase.exception.UnexpectedLiquibaseException: No changeset file path set. Cannot determine target database type
  2. 0

    C:\liquibase-3.2.0-bin>liquibase --defaultsFile test.properties --changeLogFile=db.changelog.xml generateChangeLog Liquibase 'generateChangeLog' Successful C:\liquibase-3.2.0-bin>liquibase --defaultsFile test.properties --changeLogFile=db.changelog.sql generateChangeLog DEBUG 16-06-14 07:54 PM: liquibase: Connected to sa@jdbc:sqlserver://MSI\sqlexpress:64921;authenticationScheme=nativeAuthentication;xopenStates=false;sendTimeAsDatetime=true;trustServerCertificate=false;sendStringParametersAsUnicode=true;selectMethod=direct;responseBuffering=adaptive;packetSize=8000;multiSubnetFailover=false;loginTimeout=15;lockTimeout=-1;lastUpdateCount=true;encrypt=false;disableStatementPooling=true;databaseName=ppro-vspt;applicationName=Microsoft JDBC Driver for SQL Server;applicationIntent=readwrite; DEBUG 16-06-14 07:54 PM: liquibase: Setting auto commit to false from true DEBUG 16-06-14 07:54 PM: liquibase: Executing QUERY database command: select schema_name() DEBUG 16-06-14 07:54 PM: liquibase: Computed checksum for 1402962840822 as 263652e6a2223240ac05c752b0f6a0f3 DEBUG 16-06-14 07:54 PM: liquibase: Executing QUERY database command: SELECT CONVERT(varchar(100), SERVERPROPERTY('COLLATION')) INFO 16-06-14 07:54 PM: liquibase: db.changelog.sql does not exist, creating DEBUG 16-06-14 07:54 PM: liquibase: MissingObjectChangeGenerator type order: liquibase.structure.core.Catalog liquibase.structure.core.Schema liquibase.structure.core.Sequence liquibase.structure.core.StoredProcedure liquibase.structure.core.Table liquibase.structure.core.Column liquibase.structure.core.PrimaryKey liquibase.structure.core.UniqueConstraint liquibase.structure.core.ForeignKey liquibase.structure.core.Index liquibase.structure.core.View DEBUG 16-06-14 07:54 PM: liquibase: UnexpectedObjectChangeGenerator type order: liquibase.structure.core.Catalog liquibase.structure.core.ForeignKey liquibase.structure.core.Schema liquibase.structure.core.StoredProcedure liquibase.structure.core.UniqueConstraint liquibase.structure.core.View liquibase.structure.core.Table liquibase.structure.core.PrimaryKey liquibase.structure.core.Column liquibase.structure.core.Index liquibase.structure.core.Sequence DEBUG 16-06-14 07:54 PM: liquibase: ChangedObjectChangeGenerator type order: liquibase.structure.core.Catalog liquibase.structure.core.ForeignKey liquibase.structure.core.Schema liquibase.structure.core.Sequence liquibase.structure.core.StoredProcedure liquibase.structure.core.Table liquibase.structure.core.Column liquibase.structure.core.PrimaryKey liquibase.structure.core.Index liquibase.structure.core.UniqueConstraint liquibase.structure.core.View Unexpected error running Liquibase: liquibase.exception.UnexpectedLiquibaseException: No changeset file path set. Cannot determine target database type SEVERE 16-06-14 07:54 PM: liquibase: liquibase.exception.UnexpectedLiquibaseException: No changeset file path set. Cannot determine target database type liquibase.exception.LiquibaseException: liquibase.command.CommandExecutionException: liquibase.exception.UnexpectedLiquibaseException: No changeset file path set. Cannot determine target database type at liquibase.integration.commandline.CommandLineUtils.doGenerateChangeLog(CommandLineUtils.java:139) at liquibase.integration.commandline.Main.doMigration(Main.java:899) at liquibase.integration.commandline.Main.run(Main.java:170) at liquibase.integration.commandline.Main.main(Main.java:89) Caused by: liquibase.command.CommandExecutionException: liquibase.exception.UnexpectedLiquibaseException: No changeset file path set. Cannot determine target database type at liquibase.command.AbstractCommand.execute(AbstractCommand.java:13) at liquibase.integration.commandline.CommandLineUtils.doGenerateChangeLog(CommandLineUtils.java:137) ... 3 more Caused by: liquibase.exception.UnexpectedLiquibaseException: No changeset file path set. Cannot determine target database type at liquibase.serializer.core.formattedsql.FormattedSqlChangeLogSerializer.getTargetDatabase(FormattedSqlChangeLogSerializer.java:64) at liquibase.serializer.core.formattedsql.FormattedSqlChangeLogSerializer.serialize(FormattedSqlChangeLogSerializer.java:40) at liquibase.serializer.core.formattedsql.FormattedSqlChangeLogSerializer.write(FormattedSqlChangeLogSerializer.java:87) at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:129) at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:73) at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:61) at liquibase.command.GenerateChangeLogCommand.run(GenerateChangeLogCommand.java:54) at liquibase.command.AbstractCommand.execute(AbstractCommand.java:8) ... 4 more

    JIRA | 2 years ago | Ricardo Stuven
    liquibase.exception.LiquibaseException: liquibase.command.CommandExecutionException: liquibase.exception.UnexpectedLiquibaseException: No changeset file path set. Cannot determine target database type
  3. 0

    diffChangeLog fails with null exception

    GitHub | 2 years ago | gojesandeep
    liquibase.exception.LiquibaseException: liquibase.command.CommandExecutionException: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Extension fails to load hibernate driver and breaks if I manually specify it

    GitHub | 2 years ago | Jazzepi
    liquibase.exception.LiquibaseException: liquibase.command.CommandExecutionException: java.lang.NullPointerException
  6. 0

    Liquibase Hibernate Plugin Does Not Work

    Stack Overflow | 2 years ago | Jazzepi
    liquibase.exception.LiquibaseException: liquibase.command.CommandExecutionException: java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. liquibase.exception.UnexpectedLiquibaseException

      No changeset file path set. Cannot determine target database type

      at liquibase.serializer.core.formattedsql.FormattedSqlChangeLogSerializer.getTargetDatabase()
    2. Liquibase Core
      Main.main
      1. liquibase.serializer.core.formattedsql.FormattedSqlChangeLogSerializer.getTargetDatabase(FormattedSqlChangeLogSerializer.java:64)
      2. liquibase.serializer.core.formattedsql.FormattedSqlChangeLogSerializer.serialize(FormattedSqlChangeLogSerializer.java:40)
      3. liquibase.serializer.core.formattedsql.FormattedSqlChangeLogSerializer.write(FormattedSqlChangeLogSerializer.java:87)
      4. liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:129)
      5. liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:73)
      6. liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:61)
      7. liquibase.command.GenerateChangeLogCommand.run(GenerateChangeLogCommand.java:54)
      8. liquibase.command.AbstractCommand.execute(AbstractCommand.java:8)
      9. liquibase.integration.commandline.CommandLineUtils.doGenerateChangeLog(CommandLineUtils.java:137)
      10. liquibase.integration.commandline.Main.doMigration(Main.java:899)
      11. liquibase.integration.commandline.Main.run(Main.java:170)
      12. liquibase.integration.commandline.Main.main(Main.java:89)
      12 frames