Skip to content

Instantly share code, notes, and snippets.

@Breta01
Last active January 16, 2016 11:57
Show Gist options
  • Save Breta01/940d60f773655341f7aa to your computer and use it in GitHub Desktop.
Save Breta01/940d60f773655341f7aa to your computer and use it in GitHub Desktop.
SEVERE 1/16/16 6:41 AM:liquibase: Change Set liquibase-update-to-latest.xml::TRUNK-4548-MigrateAllergiesChangeSet1::dkayiwa failed. Error: liquibase.exception.CustomChangeException: org.openmrs.api.APIException: Service not found: interface org.openmrs.api.AdministrationService
liquibase.exception.UnexpectedLiquibaseException: liquibase.exception.CustomChangeException: org.openmrs.api.APIException: Service not found: interface org.openmrs.api.AdministrationService
at liquibase.change.custom.CustomChangeWrapper.generateStatements(CustomChangeWrapper.java:115)
at liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:1073)
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:317)
at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:189)
at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:218)
at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:148)
at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1643)
at java.lang.Thread.run(Thread.java:745)
Caused by: liquibase.exception.CustomChangeException: org.openmrs.api.APIException: Service not found: interface org.openmrs.api.AdministrationService
at org.openmrs.util.databasechange.MigrateAllergiesChangeSet.execute(MigrateAllergiesChangeSet.java:143)
at liquibase.change.custom.CustomChangeWrapper.generateStatements(CustomChangeWrapper.java:110)
... 9 more
Caused by: org.openmrs.api.APIException: Service not found: interface org.openmrs.api.AdministrationService
at org.openmrs.api.context.ServiceContext.getService(ServiceContext.java:683)
at org.openmrs.api.context.ServiceContext.getAdministrationService(ServiceContext.java:262)
at org.openmrs.api.context.Context.getAdministrationService(Context.java:478)
at org.openmrs.util.databasechange.MigrateAllergiesChangeSet.getConceptByGlobalProperty(MigrateAllergiesChangeSet.java:154)
at org.openmrs.util.databasechange.MigrateAllergiesChangeSet.loadSeverityConcepts(MigrateAllergiesChangeSet.java:148)
at org.openmrs.util.databasechange.MigrateAllergiesChangeSet.execute(MigrateAllergiesChangeSet.java:63)
... 10 more
INFO 1/16/16 6:41 AM:liquibase: Successfully released change log lock
WARN - InitializationFilter$InitializationCompletion$1.run(1649) |2016-01-16 06:41:39,108| Error while trying to update to the latest database version
org.openmrs.util.DatabaseUpdateException: There was an error while updating the database to the latest. file: liquibase-update-to-latest.xml. Error: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-4548-MigrateAllergiesChangeSet1::dkayiwa:
Reason: liquibase.exception.UnexpectedLiquibaseException: liquibase.exception.CustomChangeException: org.openmrs.api.APIException: Service not found: interface org.openmrs.api.AdministrationService:
Caused By: liquibase.exception.CustomChangeException: org.openmrs.api.APIException: Service not found: interface org.openmrs.api.AdministrationService:
Caused By: org.openmrs.api.APIException: Service not found: interface org.openmrs.api.AdministrationService:
Caused By: Service not found: interface org.openmrs.api.AdministrationService
at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:152)
at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1643)
at java.lang.Thread.run(Thread.java:745)
Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-4548-MigrateAllergiesChangeSet1::dkayiwa:
Reason: liquibase.exception.UnexpectedLiquibaseException: liquibase.exception.CustomChangeException: org.openmrs.api.APIException: Service not found: interface org.openmrs.api.AdministrationService:
Caused By: liquibase.exception.CustomChangeException: org.openmrs.api.APIException: Service not found: interface org.openmrs.api.AdministrationService:
Caused By: org.openmrs.api.APIException: Service not found: interface org.openmrs.api.AdministrationService:
Caused By: Service not found: interface org.openmrs.api.AdministrationService
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:347)
at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:189)
at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:218)
at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:148)
... 2 more
Caused by: liquibase.exception.UnexpectedLiquibaseException: liquibase.exception.CustomChangeException: org.openmrs.api.APIException: Service not found: interface org.openmrs.api.AdministrationService
at liquibase.change.custom.CustomChangeWrapper.generateStatements(CustomChangeWrapper.java:115)
at liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:1073)
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:317)
... 7 more
Caused by: liquibase.exception.CustomChangeException: org.openmrs.api.APIException: Service not found: interface org.openmrs.api.AdministrationService
at org.openmrs.util.databasechange.MigrateAllergiesChangeSet.execute(MigrateAllergiesChangeSet.java:143)
at liquibase.change.custom.CustomChangeWrapper.generateStatements(CustomChangeWrapper.java:110)
... 9 more
Caused by: org.openmrs.api.APIException: Service not found: interface org.openmrs.api.AdministrationService
at org.openmrs.api.context.ServiceContext.getService(ServiceContext.java:683)
at org.openmrs.api.context.ServiceContext.getAdministrationService(ServiceContext.java:262)
at org.openmrs.api.context.Context.getAdministrationService(Context.java:478)
at org.openmrs.util.databasechange.MigrateAllergiesChangeSet.getConceptByGlobalProperty(MigrateAllergiesChangeSet.java:154)
at org.openmrs.util.databasechange.MigrateAllergiesChangeSet.loadSeverityConcepts(MigrateAllergiesChangeSet.java:148)
at org.openmrs.util.databasechange.MigrateAllergiesChangeSet.execute(MigrateAllergiesChangeSet.java:63)
... 10 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment