liquibase.exception.DatabaseException

liquibase.exception.DatabaseException: Incorrect syntax near the keyword 'null'. [Failed SQL: ALTER USER null WITH DEFAULT_SCHEMA = [dbo ]]

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web440

  • via Unknown by Gregory Bruce,
  • via Unknown by Gregory Bruce,
  • via Unknown by Gary Plante,
  • Stack trace

    • liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: Incorrect syntax near the keyword 'null'. [Failed SQL: ALTER USER null WITH DEFAULT_SCHEMA = [dbo ]] at liquibase.integration.commandline.CommandLineUtils.createDatabaseObject(CommandLineUtils.java:143) at liquibase.integration.commandline.Main.doMigration(Main.java:915) at liquibase.integration.commandline.Main.run(Main.java:180) at liquibase.integration.commandline.Main.main(Main.java:99) Caused by: liquibase.exception.DatabaseException: Incorrect syntax near the keyword 'null'. [Failed SQL: ALTER USER null WITH DEFAULT_SCHEMA = [dbo]] at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:316) at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55) at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:122) at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:112) at liquibase.integration.commandline.CommandLineUtils.createDatabaseObject(CommandLineUtils.java:123) ... 3 more Caused by: java.sql.SQLException: Incorrect syntax near the keyword 'null'. at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:372) at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2988) at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2421) at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:671) at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:613) at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:572) at net.sourceforge.jtds.jdbc.JtdsStatement.executeImpl(JtdsStatement.java:809) at net.sourceforge.jtds.jdbc.JtdsStatement.execute(JtdsStatement.java:1282) at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:314) ... 7 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

    EricEric
    3 times, last one
    abrazenebabrazeneb
    8 times, last one
    Unknown visitor
    Unknown visitorOnce,
    oddodd
    72 times, last one
    Unknown visitor
    Unknown visitorOnce,
    22 more bugmates