Guest User

Untitled

a guest
Jun 18th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.41 KB | None | 0 0
  1.  
  2. D:\Users\rob\openmrs\openmrs>ant liquibase-generate-sql >>> BAR
  3. > was unexpected at this time.
  4.  
  5. D:\Users\rob\openmrs\openmrs>ant liquibase-generate-sql >> BAR
  6.  
  7. BUILD FAILED
  8. liquibase.exception.MigrationFailedException: Migration failed for change set D:
  9. /Users/rob/openmrs/openmrs/metadata/model/liquibase-update-to-latest.xml::200904
  10. 02-1517::bwolfe:
  11. Reason: liquibase.exception.UnsupportedChangeException: liquibase.exception
  12. .CustomChangeException: Unable to set uuid on table: cohort:
  13. Caused By: liquibase.exception.CustomChangeException: Unable to set uu
  14. id on table: cohort:
  15. Caused By: Unable to set uuid on table: cohort:
  16. Caused By: Unknown column 'uuid' in 'where clause'
  17. at liquibase.ChangeSet.execute(ChangeSet.java:238)
  18. at liquibase.parser.visitor.UpdateVisitor.visit(UpdateVisitor.java:26)
  19. at liquibase.parser.ChangeLogIterator.run(ChangeLogIterator.java:41)
  20. at liquibase.Liquibase.update(Liquibase.java:112)
  21. at liquibase.Liquibase.update(Liquibase.java:136)
  22. at liquibase.ant.DatabaseUpdateTask.execute(DatabaseUpdateTask.java:46)
  23. at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
  24. at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
  25. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  26. sorImpl.java:25)
  27. at java.lang.reflect.Method.invoke(Method.java:597)
  28. at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
  29. a:106)
  30. at org.apache.tools.ant.Task.perform(Task.java:348)
  31. at org.apache.tools.ant.Target.execute(Target.java:357)
  32. at org.apache.tools.ant.Target.performTasks(Target.java:385)
  33. at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
  34. at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
  35. at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
  36. cutor.java:41)
  37. at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
  38. at org.apache.tools.ant.Main.runBuild(Main.java:758)
  39. at org.apache.tools.ant.Main.startAnt(Main.java:217)
  40. at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
  41. at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
  42. Caused by: liquibase.exception.UnsupportedChangeException: liquibase.exception.C
  43. ustomChangeException: Unable to set uuid on table: cohort
  44. at liquibase.change.custom.CustomChangeWrapper.generateStatements(Custom
  45. ChangeWrapper.java:84)
  46. at liquibase.change.AbstractChange.executeStatements(AbstractChange.java
  47. :91)
  48. at liquibase.ChangeSet.execute(ChangeSet.java:214)
  49. ... 21 more
  50. Caused by: liquibase.exception.CustomChangeException: Unable to set uuid on tabl
  51. e: cohort
  52. at org.openmrs.util.databasechange.GenerateUuid.execute(GenerateUuid.jav
  53. a:115)
  54. at liquibase.change.custom.CustomChangeWrapper.generateStatements(Custom
  55. ChangeWrapper.java:79)
  56. ... 23 more
  57. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown co
  58. lumn 'uuid' in 'where clause'
  59. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  60.  
  61. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
  62. orAccessorImpl.java:39)
  63. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
  64. onstructorAccessorImpl.java:27)
  65. at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  66. at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
  67. at com.mysql.jdbc.Util.getInstance(Util.java:381)
  68. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030)
  69. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
  70. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3515)
  71. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3447)
  72. at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951)
  73. at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101)
  74. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2548)
  75. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2477)
  76. at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1422)
  77. at org.openmrs.util.databasechange.GenerateUuid.execute(GenerateUuid.jav
  78. a:99)
  79. ... 24 more
  80.  
  81. Total time: 1 second
  82. D:\Users\rob\openmrs\openmrs>
Add Comment
Please, Sign In to add comment