org.flywaydb.core.api.FlywayException: Migration failed !

GitHub | mozzbozz | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 230#237003937

    GitHub | 10 months ago | mozzbozz
    org.flywaydb.core.api.FlywayException: Migration failed !

    Root Cause Analysis

    1. java.lang.NullPointerException

      null

      at org.mycontroller.standalone.db.migration.V1_02_08__2016_Jul_01.migrate()
    2. org.mycontroller.standalone
      V1_02_08__2016_Jul_01.migrate
      1. 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]
      1 frame
    3. ${project.artifactId}
      Flyway.migrate
      1. org.flywaydb.core.internal.resolver.jdbc.JdbcMigrationExecutor.execute(JdbcMigrationExecutor.java:45)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2]
      2. org.flywaydb.core.internal.command.DbMigrate$5.doInTransaction(DbMigrate.java:284)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2]
      3. org.flywaydb.core.internal.command.DbMigrate$5.doInTransaction(DbMigrate.java:282)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2]
      4. org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2]
      5. org.flywaydb.core.internal.command.DbMigrate.applyMigration(DbMigrate.java:282)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2]
      6. org.flywaydb.core.internal.command.DbMigrate.access$800(DbMigrate.java:46)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2]
      7. org.flywaydb.core.internal.command.DbMigrate$2.doInTransaction(DbMigrate.java:207)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2]
      8. org.flywaydb.core.internal.command.DbMigrate$2.doInTransaction(DbMigrate.java:156)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2]
      9. org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2]
      10. org.flywaydb.core.internal.command.DbMigrate.migrate(DbMigrate.java:156)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2]
      11. org.flywaydb.core.Flyway$1.execute(Flyway.java:1059)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2]
      12. org.flywaydb.core.Flyway$1.execute(Flyway.java:1006)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2]
      13. org.flywaydb.core.Flyway.execute(Flyway.java:1418)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2]
      14. org.flywaydb.core.Flyway.migrate(Flyway.java:1006)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2]
      14 frames
    4. org.mycontroller.standalone
      StartApp.main
      1. org.mycontroller.standalone.db.DataBaseUtils.loadDatabase(DataBaseUtils.java:118)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2]
      2. org.mycontroller.standalone.StartApp.startServices(StartApp.java:243)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2]
      3. org.mycontroller.standalone.StartApp.startMycontroller(StartApp.java:106)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2]
      4. org.mycontroller.standalone.StartApp.main(StartApp.java:93)[mycontroller-dist-standalone-0.0.3.Alpha2-single.jar:0.0.3.Alpha2]
      4 frames