Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- D:\Users\rob\openmrs\openmrs>ant liquibase-generate-sql >>> BAR
- > was unexpected at this time.
- D:\Users\rob\openmrs\openmrs>ant liquibase-generate-sql >> BAR
- BUILD FAILED
- liquibase.exception.MigrationFailedException: Migration failed for change set D:
- /Users/rob/openmrs/openmrs/metadata/model/liquibase-update-to-latest.xml::200904
- 02-1517::bwolfe:
- Reason: liquibase.exception.UnsupportedChangeException: liquibase.exception
- .CustomChangeException: Unable to set uuid on table: cohort:
- Caused By: liquibase.exception.CustomChangeException: Unable to set uu
- id on table: cohort:
- Caused By: Unable to set uuid on table: cohort:
- Caused By: Unknown column 'uuid' in 'where clause'
- at liquibase.ChangeSet.execute(ChangeSet.java:238)
- at liquibase.parser.visitor.UpdateVisitor.visit(UpdateVisitor.java:26)
- at liquibase.parser.ChangeLogIterator.run(ChangeLogIterator.java:41)
- at liquibase.Liquibase.update(Liquibase.java:112)
- at liquibase.Liquibase.update(Liquibase.java:136)
- at liquibase.ant.DatabaseUpdateTask.execute(DatabaseUpdateTask.java:46)
- at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
- at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
- sorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:597)
- at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
- a:106)
- at org.apache.tools.ant.Task.perform(Task.java:348)
- at org.apache.tools.ant.Target.execute(Target.java:357)
- at org.apache.tools.ant.Target.performTasks(Target.java:385)
- at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
- at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
- at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
- cutor.java:41)
- at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
- at org.apache.tools.ant.Main.runBuild(Main.java:758)
- at org.apache.tools.ant.Main.startAnt(Main.java:217)
- at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
- at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
- Caused by: liquibase.exception.UnsupportedChangeException: liquibase.exception.C
- ustomChangeException: Unable to set uuid on table: cohort
- at liquibase.change.custom.CustomChangeWrapper.generateStatements(Custom
- ChangeWrapper.java:84)
- at liquibase.change.AbstractChange.executeStatements(AbstractChange.java
- :91)
- at liquibase.ChangeSet.execute(ChangeSet.java:214)
- ... 21 more
- Caused by: liquibase.exception.CustomChangeException: Unable to set uuid on tabl
- e: cohort
- at org.openmrs.util.databasechange.GenerateUuid.execute(GenerateUuid.jav
- a:115)
- at liquibase.change.custom.CustomChangeWrapper.generateStatements(Custom
- ChangeWrapper.java:79)
- ... 23 more
- Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown co
- lumn 'uuid' in 'where clause'
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
- orAccessorImpl.java:39)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
- onstructorAccessorImpl.java:27)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
- at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
- at com.mysql.jdbc.Util.getInstance(Util.java:381)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3515)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3447)
- at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951)
- at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101)
- at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2548)
- at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2477)
- at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1422)
- at org.openmrs.util.databasechange.GenerateUuid.execute(GenerateUuid.jav
- a:99)
- ... 24 more
- Total time: 1 second
- D:\Users\rob\openmrs\openmrs>
Add Comment
Please, Sign In to add comment