org.flywaydb.core.api.FlywayException

Migration failed !

Solutions on the web46

  • via GitHub by amiri-ge
    , 1 year ago
    Migration failed !
  • via Sakai JIRA by Gerrit Hübbers, 1 year ago
    Migration failed !
  • via GitHub by mozzbozz
    , 11 months ago
    Migration failed !
  • Stack trace

    • org.flywaydb.core.api.FlywayException: Migration failed ! at org.flywaydb.core.internal.resolver.jdbc.JdbcMigrationExecutor.execute(JdbcMigrationExecutor.java:47)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2] at org.flywaydb.core.internal.command.DbMigrate$5.doInTransaction(DbMigrate.java:284)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2] at org.flywaydb.core.internal.command.DbMigrate$5.doInTransaction(DbMigrate.java:282)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2] at org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2] at org.flywaydb.core.internal.command.DbMigrate.applyMigration(DbMigrate.java:282)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2] at org.flywaydb.core.internal.command.DbMigrate.access$800(DbMigrate.java:46)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2] at org.flywaydb.core.internal.command.DbMigrate$2.doInTransaction(DbMigrate.java:207)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2] at org.flywaydb.core.internal.command.DbMigrate$2.doInTransaction(DbMigrate.java:156)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2] at org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2] at org.flywaydb.core.internal.command.DbMigrate.migrate(DbMigrate.java:156)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2] at org.flywaydb.core.Flyway$1.execute(Flyway.java:1059)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2] at org.flywaydb.core.Flyway$1.execute(Flyway.java:1006)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2] at org.flywaydb.core.Flyway.execute(Flyway.java:1418)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2] at org.flywaydb.core.Flyway.migrate(Flyway.java:1006)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2] at org.mycontroller.standalone.db.DataBaseUtils.loadDatabase(DataBaseUtils.java:118)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2] at org.mycontroller.standalone.StartApp.startServices(StartApp.java:243)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2] at org.mycontroller.standalone.StartApp.startMycontroller(StartApp.java:106)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2] at org.mycontroller.standalone.StartApp.main(StartApp.java:93)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2] Caused by: java.lang.NullPointerException: null at org.mycontroller.standalone.db.migration.V1_02_08__2016_Jul_01.migrate(V1_02_08__2016_Jul_01.java:75)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2] at org.flywaydb.core.internal.resolver.jdbc.JdbcMigrationExecutor.execute(JdbcMigrationExecutor.java:45)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2] ... 17 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 are the first who have seen this exception. Write a tip to help other users and build your expert profile.