Advertisement
harshadura

Occurs error when Registering OpenMRS for the First time.

Feb 16th, 2012
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. Hi,
  2.  
  3. I have checked out the latest trunk source of OpenMRS.
  4. It compilation went pretty fine. but when registering OpenMRS for the first time the Installation occurs and error message and says
  5.  
  6. "There was an error while updating the database to the latest. file: liquibase-update-to-latest.xml. Error: null Error while trying to update to the latest database version"
  7.  
  8. here's the jetty log:
  9.  
  10. INFO 2/17/12 9:56 AM:liquibase: ChangeSet liquibase-core-data.xml::20110914-0228::sunbiz ran successfully in 11ms
  11. INFO 2/17/12 9:56 AM:liquibase: ChangeSet liquibase-core-data.xml::20110915-0803::sunbiz ran successfully in 36ms
  12. INFO 2/17/12 9:56 AM:liquibase: ChangeSet liquibase-core-data.xml::20110915-0848::sunbiz ran successfully in 27ms
  13. INFO 2/17/12 9:56 AM:liquibase: ChangeSet liquibase-core-data.xml::20110915-1107::sunbiz ran successfully in 19ms
  14. INFO 2/17/12 9:56 AM:liquibase: ChangeSet liquibase-core-data.xml::20110915-1149::sunbiz ran successfully in 19ms
  15. INFO 2/17/12 9:56 AM:liquibase: ChangeSet liquibase-core-data.xml::20110915-1459::sunbiz ran successfully in 44ms
  16. INFO 2/17/12 9:56 AM:liquibase: ChangeSet liquibase-core-data.xml::enable-foreign-key-checks::ben ran successfully in 1m
  17. s
  18. INFO 2/17/12 9:56 AM:liquibase: Successfully released change log lock
  19. INFO 2/17/12 9:56 AM:liquibase: Reading from `liquibasechangelog`
  20. INFO 2/17/12 9:56 AM:liquibase: Successfully acquired change log lock
  21. INFO 2/17/12 9:56 AM:liquibase: Successfully released change log lock
  22. WARN - InitializationFilter$InitializationCompletion$1.run(1531) |2012-02-17 09:56:40,723| Error while trying to update
  23. to the latest database version
  24. org.openmrs.util.DatabaseUpdateException: There was an error while updating the database to the latest. file: liquibase-
  25. update-to-latest.xml. Error: null
  26. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:152)
  27. at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilte
  28. r.java:1525)
  29. at java.lang.Thread.run(Thread.java:662)
  30. Caused by: java.lang.NullPointerException
  31. at liquibase.changelog.DatabaseChangeLog.getChangeSet(DatabaseChangeLog.java:91)
  32. at liquibase.changelog.DatabaseChangeLog.getChangeSet(DatabaseChangeLog.java:146)
  33. at liquibase.database.AbstractDatabase.checkDatabaseChangeLogTable(AbstractDatabase.java:504)
  34. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:225)
  35. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:164)
  36. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:149)
  37. ... 2 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement