Advertisement
burke

openmrs-api build fail

May 6th, 2011
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 103.34 KB | None | 0 0
  1. [INFO] Scanning for projects...
  2. [WARNING]
  3. [WARNING] Some problems were encountered while building the effective model for org.openmrs.api:openmrs-api:jar:1.9.0-SNAPSHOT
  4. [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 160, column 18
  5. [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing.
  6. [WARNING] 'reporting.plugins.plugin.version' for org.codehaus.mojo:jxr-maven-plugin is missing.
  7. [WARNING]
  8. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  9. [WARNING]
  10. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  11. [WARNING]
  12. [INFO]
  13. [INFO] ------------------------------------------------------------------------
  14. [INFO] Building openmrs-api 1.9.0-SNAPSHOT
  15. [INFO] ------------------------------------------------------------------------
  16. Downloading: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/test/openmrs-test/1.9.0-SNAPSHOT/maven-metadata.xml
  17. Downloading: https://m2proxy.atlassian.com/repository/public/org/openmrs/test/openmrs-test/1.9.0-SNAPSHOT/maven-metadata.xml
  18. Downloading: https://m2proxy.atlassian.com/repository/public/org/openmrs/openmrs/1.9.0-SNAPSHOT/maven-metadata.xml
  19. Downloading: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/openmrs/1.9.0-SNAPSHOT/maven-metadata.xml
  20. [INFO]
  21. [INFO] --- buildnumber-maven-plugin:1.0-beta-4-mod:create (default) @ openmrs-api ---
  22. [INFO] Change the default 'svn' provider implementation to 'javasvn'.
  23. [INFO] Checking for local modifications: skipped.
  24. [INFO] Updating project files from SCM: skipped.
  25. [INFO] Storing buildNumber: 19872 at timestamp: 1304697220033
  26. [INFO] Storing buildScmBranch: trunk
  27. [INFO]
  28. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-api ---
  29. [INFO]
  30. [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
  31. Downloading: https://m2proxy.atlassian.com/repository/public/org/openmrs/tools/openmrs-tools/1.9.0-SNAPSHOT/maven-metadata.xml
  32. [INFO] Using 'UTF-8' encoding to format source files.
  33. [INFO] Number of files to be formatted: 783
  34. [INFO] Successfully formatted: 0 file(s)
  35. [INFO] Fail to format : 0 file(s)
  36. [INFO] Skipped : 783 file(s)
  37. [INFO] Approximate time taken: 2s
  38. [INFO]
  39. [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-api ---
  40. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  41. [INFO] Copying 88 resources
  42. [INFO]
  43. [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-api ---
  44. [INFO] Nothing to compile - all classes are up to date
  45. [INFO]
  46. [INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ openmrs-api ---
  47. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  48. [INFO] Copying 74 resources
  49. [INFO]
  50. [INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ openmrs-api ---
  51. [INFO] Nothing to compile - all classes are up to date
  52. [INFO]
  53. [INFO] --- maven-surefire-plugin:2.5:test (default-test) @ openmrs-api ---
  54. [INFO] Surefire report directory: /Users/burke/Documents/java/openmrs/api/target/surefire-reports
  55.  
  56. -------------------------------------------------------
  57. T E S T S
  58. -------------------------------------------------------
  59. Running org.openmrs.util.LocaleUtilityTest
  60. ERROR - OpenmrsConstants.getVersion(103) |2011-05-06 11:53:47,566| Unable to find pom.properties file built by maven
  61. ERROR - OpenmrsConstants.getVersion(103) |2011-05-06 11:53:47,570| Unable to find pom.properties file built by maven
  62. Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.703 sec
  63. Running org.openmrs.report.ReportSchemaXmlNonContextTest
  64. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
  65. Running org.openmrs.attribute.AttributeUtilTest
  66. WARN - SerializationServiceImpl.getDefaultSerializer(69) |2011-05-06 11:54:10,207| No default serializer specified - trying first serializer
  67. found.
  68. WARN - SerializationServiceImpl.getDefaultSerializer(69) |2011-05-06 11:54:10,220| No default serializer specified - trying first serializer
  69. found.
  70. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.282 sec
  71. Running org.openmrs.api.handler.PatientDataVoidHandlerTest
  72. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.508 sec
  73. Running org.openmrs.api.handler.BaseRetireHandlerTest
  74. Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.336 sec
  75. Running org.openmrs.FormTest
  76. Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
  77. Running org.openmrs.validator.OrderValidatorTest
  78. Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.579 sec
  79. Running org.openmrs.validator.FieldTypeValidatorTest
  80. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
  81. Running org.openmrs.ConceptTest
  82. Tests run: 56, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 sec
  83. Running org.openmrs.util.OpenmrsUtilTest
  84. Tests run: 47, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.843 sec
  85. Running org.openmrs.api.VisitServiceTest
  86. Tests run: 44, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 5.825 sec
  87. Running org.openmrs.util.ReflectTest
  88. Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
  89. Running org.openmrs.validator.PatientValidatorTest
  90. Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.853 sec
  91. Running org.openmrs.RoleTest
  92. Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
  93. Running org.openmrs.OpenmrsTestAnnotationsTest
  94. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.148 sec
  95. Running org.openmrs.api.impl.SerializationServiceImplTest
  96. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
  97. Running org.openmrs.ConceptNumericTest
  98. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
  99. Running org.openmrs.api.ActiveListServiceTest
  100. instance=class org.openmrs.activelist.Problem
  101. Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.066 sec
  102. Running org.openmrs.attribute.AttributeIntegrationTest
  103. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.12 sec
  104. Running org.openmrs.api.handler.BaseVoidHandlerTest
  105. Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
  106. Running org.openmrs.api.context.ContextWithModuleTest
  107. ERROR - DssModuleActivator.startup(39) |2011-05-06 11:54:28,693| You must set a value for global property: dssmodule.classDirectory
  108. ERROR - DssModuleActivator.startup(39) |2011-05-06 11:54:28,693| You must set a value for global property: dssmodule.compileClasspath
  109. ERROR - DssModuleActivator.startup(39) |2011-05-06 11:54:28,693| You must set a value for global property: dssmodule.ruleDirectory
  110. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.965 sec
  111. Running org.openmrs.api.handler.AuditableSaveHandlerTest
  112. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
  113. Running org.openmrs.validator.RoleValidatorTest
  114. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
  115. Running org.openmrs.reporting.ReportObjectServiceTest
  116. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.348 sec
  117. Running org.openmrs.api.EncounterServiceTest
  118. Tests run: 70, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.38 sec
  119. Running org.openmrs.report.ReportSchemaXmlTest
  120. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.276 sec
  121. Running org.openmrs.logic.result.ResultTest
  122. Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
  123. Running org.openmrs.api.handler.BaseUnretireHandlerTest
  124. Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
  125. Running org.openmrs.validator.ObsValidatorTest
  126. WARN - ConceptServiceImpl.setBooleanConcepts(1520) |2011-05-06 11:54:40,777| Concept ids for boolean concepts should be numbers
  127. WARN - ConceptServiceImpl.setBooleanConcepts(1520) |2011-05-06 11:54:40,786| Concept ids for boolean concepts should be numbers
  128. WARN - ConceptServiceImpl.setBooleanConcepts(1520) |2011-05-06 11:54:40,788| Concept ids for boolean concepts should be numbers
  129. WARN - ConceptServiceImpl.setBooleanConcepts(1520) |2011-05-06 11:54:40,791| Concept ids for boolean concepts should be numbers
  130. Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.323 sec
  131. Running org.openmrs.api.db.ConceptDAOTest
  132. Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.493 sec
  133. Running org.openmrs.validator.VisitValidatorTest
  134. Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.856 sec
  135. Running org.openmrs.api.OrderServiceTest
  136. Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.684 sec
  137. Running org.openmrs.module.ModuleUtilTest
  138. ERROR - ModuleUtil.getURLStream(558) |2011-05-06 11:54:45,396| Logging an attempt to connect to: https://dev.openmrs.org/modules/download/fo
  139. rmentry/update.rdf
  140. Tests run: 32, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 5.138 sec
  141. Running org.openmrs.validator.PersonAddressValidatorTest
  142. Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.78 sec
  143. Running org.openmrs.OpenmrsTestsTest
  144. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.215 sec
  145. Running org.openmrs.aop.RequiredDataAdviceTest
  146. Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
  147. Running org.openmrs.util.DatabaseUpdaterTest
  148. May 6, 2011 11:54:51 AM liquibase.database.template.JdbcTemplate comment
  149. INFO: Create Database Lock Table
  150. May 6, 2011 11:54:51 AM liquibase.database.template.JdbcTemplate comment
  151. INFO: Lock Database
  152. May 6, 2011 11:54:51 AM liquibase.lock.LockHandler acquireLock
  153. INFO: Successfully acquired change log lock
  154. May 6, 2011 11:54:51 AM liquibase.database.template.JdbcTemplate comment
  155. INFO: Create Database Change Log Table
  156. May 6, 2011 11:54:51 AM liquibase.database.AbstractDatabase checkDatabaseChangeLogTable
  157. INFO: Creating database history table with name: LIQUIBASECHANGELOG
  158. May 6, 2011 11:54:52 AM liquibase.parser.xml.XMLChangeLogHandler startElement
  159. SEVERE: Error thrown as a SAXException: java.lang.ClassNotFoundException: org.openmrs.util.databasechange.ConceptMappingsChangeSet
  160. liquibase.exception.CustomChangeException: java.lang.ClassNotFoundException: org.openmrs.util.databasechange.ConceptMappingsChangeSet
  161. at liquibase.change.custom.CustomChangeWrapper.setClass(CustomChangeWrapper.java:58)
  162. at liquibase.parser.xml.XMLChangeLogHandler.setProperty(XMLChangeLogHandler.java:349)
  163. at liquibase.parser.xml.XMLChangeLogHandler.startElement(XMLChangeLogHandler.java:228)
  164. at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
  165. at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
  166. at org.apache.xerces.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source)
  167. at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
  168. at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
  169. at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
  170. at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  171. at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  172. at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  173. at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  174. at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
  175. at liquibase.parser.xml.XMLChangeLogParser.parse(XMLChangeLogParser.java:70)
  176. at liquibase.parser.ChangeLogParser.parse(ChangeLogParser.java:28)
  177. at liquibase.Liquibase.listUnrunChangeSets(Liquibase.java:523)
  178. at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:565)
  179. at org.openmrs.util.DatabaseUpdater.updatesRequired(DatabaseUpdater.java:256)
  180. at org.openmrs.util.DatabaseUpdaterTest.updatesRequired_shouldAlwaysHaveAValidUpdateToLatestFile(DatabaseUpdaterTest.java:34)
  181. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  182. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  183. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  184. at java.lang.reflect.Method.invoke(Method.java:597)
  185. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
  186. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  187. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
  188. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  189. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  190. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
  191. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  192. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  193. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
  194. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240)
  195. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  196. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
  197. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
  198. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
  199. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
  200. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
  201. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  202. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  203. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
  204. at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
  205. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)
  206. at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
  207. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
  208. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
  209. at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
  210. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  211. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  212. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  213. at java.lang.reflect.Method.invoke(Method.java:597)
  214. at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
  215. at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
  216. Caused by: java.lang.ClassNotFoundException: org.openmrs.util.databasechange.ConceptMappingsChangeSet
  217. at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
  218. at java.security.AccessController.doPrivileged(Native Method)
  219. at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
  220. at org.openmrs.util.OpenmrsClassLoader.loadClass(OpenmrsClassLoader.java:160)
  221. at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
  222. at liquibase.CompositeFileOpener$CompositeClassLoader.loadClass(CompositeFileOpener.java:98)
  223. at java.lang.Class.forName0(Native Method)
  224. at java.lang.Class.forName(Class.java:247)
  225. at liquibase.change.custom.CustomChangeWrapper.setClass(CustomChangeWrapper.java:53)
  226. ... 54 more
  227. liquibase.exception.CustomChangeException: java.lang.ClassNotFoundException: org.openmrs.util.databasechange.ConceptMappingsChangeSet
  228. at liquibase.change.custom.CustomChangeWrapper.setClass(CustomChangeWrapper.java:58)
  229. at liquibase.parser.xml.XMLChangeLogHandler.setProperty(XMLChangeLogHandler.java:349)
  230. at liquibase.parser.xml.XMLChangeLogHandler.startElement(XMLChangeLogHandler.java:228)
  231. at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
  232. at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
  233. at org.apache.xerces.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source)
  234. at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
  235. at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
  236. at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
  237. at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  238. at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  239. at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  240. at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  241. at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
  242. at liquibase.parser.xml.XMLChangeLogParser.parse(XMLChangeLogParser.java:70)
  243. at liquibase.parser.ChangeLogParser.parse(ChangeLogParser.java:28)
  244. at liquibase.Liquibase.listUnrunChangeSets(Liquibase.java:523)
  245. at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:565)
  246. at org.openmrs.util.DatabaseUpdater.updatesRequired(DatabaseUpdater.java:256)
  247. at org.openmrs.util.DatabaseUpdaterTest.updatesRequired_shouldAlwaysHaveAValidUpdateToLatestFile(DatabaseUpdaterTest.java:34)
  248. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  249. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  250. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  251. at java.lang.reflect.Method.invoke(Method.java:597)
  252. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
  253. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  254. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
  255. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  256. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  257. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
  258. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  259. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  260. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
  261. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240)
  262. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  263. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
  264. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
  265. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
  266. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
  267. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
  268. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  269. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  270. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
  271. at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
  272. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)
  273. at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
  274. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
  275. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
  276. at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
  277. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  278. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  279. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  280. at java.lang.reflect.Method.invoke(Method.java:597)
  281. at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
  282. at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
  283. Caused by: java.lang.ClassNotFoundException: org.openmrs.util.databasechange.ConceptMappingsChangeSet
  284. at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
  285. at java.security.AccessController.doPrivileged(Native Method)
  286. at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
  287. at org.openmrs.util.OpenmrsClassLoader.loadClass(OpenmrsClassLoader.java:160)
  288. at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
  289. at liquibase.CompositeFileOpener$CompositeClassLoader.loadClass(CompositeFileOpener.java:98)
  290. at java.lang.Class.forName0(Native Method)
  291. at java.lang.Class.forName(Class.java:247)
  292. at liquibase.change.custom.CustomChangeWrapper.setClass(CustomChangeWrapper.java:53)
  293. ... 54 more
  294. May 6, 2011 11:54:52 AM liquibase.database.template.JdbcTemplate comment
  295. INFO: Release Database Lock
  296. May 6, 2011 11:54:52 AM liquibase.lock.LockHandler releaseLock
  297. INFO: Successfully released change log lock
  298. Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.837 sec <<< FAILURE!
  299. Running org.openmrs.api.db.hibernate.AuditableInterceptorTest
  300. Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.785 sec
  301. Running org.openmrs.validator.ConceptDrugValidatorTest
  302. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
  303. Running org.openmrs.validator.EncounterValidatorTest
  304. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
  305. Running org.openmrs.ObsTest
  306. Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
  307. Running org.openmrs.api.ProgramWorkflowServiceTest
  308. Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.229 sec
  309. Running org.openmrs.report.PatientSearchTest
  310. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.195 sec
  311. Running org.openmrs.validator.ConceptValidatorTest
  312. Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.778 sec
  313. Running org.openmrs.api.db.EncounterDAOTest
  314. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.198 sec
  315. Running org.openmrs.api.CohortServiceTest
  316. Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.69 sec
  317. Running org.openmrs.util.OpenmrsSecurityManagerTest
  318. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
  319. Running org.openmrs.api.db.SerializedObjectDAOTest
  320. WARN - SerializationServiceImpl.getDefaultSerializer(69) |2011-05-06 11:55:01,195| No default serializer specified - trying first serializer
  321. found.
  322. WARN - SerializationServiceImpl.getDefaultSerializer(69) |2011-05-06 11:55:01,330| No default serializer specified - trying first serializer
  323. found.
  324. WARN - SerializationServiceImpl.getDefaultSerializer(69) |2011-05-06 11:55:01,453| No default serializer specified - trying first serializer
  325. found.
  326. WARN - SerializationServiceImpl.getDefaultSerializer(69) |2011-05-06 11:55:01,458| No default serializer specified - trying first serializer
  327. found.
  328. WARN - SerializationServiceImpl.getDefaultSerializer(69) |2011-05-06 11:55:01,577| No default serializer specified - trying first serializer
  329. found.
  330. WARN - SerializationServiceImpl.getDefaultSerializer(69) |2011-05-06 11:55:01,691| No default serializer specified - trying first serializer
  331. found.
  332. WARN - SerializationServiceImpl.getDefaultSerializer(69) |2011-05-06 11:55:01,810| No default serializer specified - trying first serializer
  333. found.
  334. WARN - SerializationServiceImpl.getDefaultSerializer(69) |2011-05-06 11:55:01,941| No default serializer specified - trying first serializer
  335. found.
  336. WARN - SerializationServiceImpl.getDefaultSerializer(69) |2011-05-06 11:55:02,059| No default serializer specified - trying first serializer
  337. found.
  338. WARN - SerializationServiceImpl.getDefaultSerializer(69) |2011-05-06 11:55:02,182| No default serializer specified - trying first serializer
  339. found.
  340. Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.237 sec
  341. Running org.openmrs.api.handler.ConceptNameSaveHandlerTest
  342. WARN - HibernateConceptDAO.getConceptNameTagByName(964) |2011-05-06 11:55:02,559| No concept name tag found with name: Some randome tag name
  343. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.47 sec
  344. Running org.openmrs.api.db.VisitDAOTest
  345. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.24 sec
  346. Running org.openmrs.api.handler.BaseUnvoidHandlerTest
  347. Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
  348. Running org.openmrs.propertyeditor.ConceptAnswersEditorTest
  349. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.115 sec
  350. Running org.openmrs.validator.ValidateUtilTest
  351. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
  352. Running org.openmrs.api.db.PatientDAOTest
  353. Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.133 sec
  354. Running org.openmrs.ConceptNameTest
  355. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
  356. Running org.openmrs.validator.OrderTypeValidatorTest
  357. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
  358. Running org.openmrs.reporting.export.RowPerObsDataExportTest
  359. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.94 sec
  360. Running org.openmrs.report.EvaluationContextTest
  361. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
  362. Running org.openmrs.hl7.HL7UtilTest
  363. Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.066 sec
  364. Running org.openmrs.PersonAttributeTest
  365. Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.475 sec
  366. Running org.openmrs.api.context.DaemonTest
  367. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.46 sec
  368. Running org.openmrs.api.handler.PatientDataUnvoidHandlerTest
  369. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.895 sec
  370. Running org.openmrs.api.context.ContextTest
  371. Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.501 sec
  372. Running org.openmrs.messagesource.impl.CachedMessageSourceTest
  373. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
  374. Running org.openmrs.propertyeditor.DrugEditorTest
  375. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.115 sec
  376. Running org.openmrs.messagesource.PresentationMessageMapTest
  377. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
  378. Running org.openmrs.api.db.PersonDAOTest
  379. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.194 sec
  380. Running org.openmrs.module.VersionComparatorTest
  381. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
  382. Running org.openmrs.validator.ProgramValidatorTest
  383. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.654 sec
  384. Running org.openmrs.cohort.CohortUtilTest
  385. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.169 sec
  386. Running org.openmrs.ConceptAnswerTest
  387. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
  388. Running org.openmrs.PatientIdentifierTest
  389. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
  390. Running org.openmrs.arden.ArdenServiceTest
  391. Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.002 sec
  392. Running org.openmrs.EncounterTypeTest
  393. Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
  394. Running org.openmrs.EncounterTest
  395. Tests run: 46, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
  396. Running org.openmrs.module.ModuleInteroperabilityTest
  397. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.821 sec
  398. Running org.openmrs.notification.MessageTest
  399. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
  400. Running org.openmrs.api.handler.RequiredReasonVoidSaveHandlerTest
  401. Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.819 sec
  402. Running org.openmrs.LocationTest
  403. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec
  404. Running org.openmrs.patient.impl.VerhoeffIdentifierValidatorTest
  405. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
  406. Running org.openmrs.api.LocationServiceTest
  407. Tests run: 53, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 6.552 sec
  408. Running org.openmrs.report.PepfarReportSerializationTest
  409. ERROR - PatientSearch.createCompositionSearch(214) |2011-05-06 11:55:21,690| Error in token list
  410. java.lang.IllegalArgumentException: Unrecognized string token: male
  411. at org.openmrs.reporting.PatientSearch.createCompositionSearch(PatientSearch.java:200)
  412. at org.openmrs.reporting.PatientSearch.createCompositionSearch(PatientSearch.java:164)
  413. at org.openmrs.report.PepfarReportSerializationTest.shouldCohortSerialization(PepfarReportSerializationTest.java:142)
  414. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  415. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  416. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  417. at java.lang.reflect.Method.invoke(Method.java:597)
  418. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
  419. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  420. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
  421. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  422. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  423. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
  424. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  425. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  426. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
  427. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240)
  428. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  429. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
  430. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
  431. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
  432. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
  433. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
  434. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  435. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  436. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
  437. at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
  438. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)
  439. at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
  440. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
  441. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
  442. at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
  443. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  444. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  445. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  446. at java.lang.reflect.Method.invoke(Method.java:597)
  447. at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
  448. at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
  449. <conceptClass id=\"1\" conceptClassId=\"123\"/>
  450. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.067 sec
  451. Running org.openmrs.validator.EncounterTypeValidatorTest
  452. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
  453. Running org.openmrs.report.PepfarReportTest
  454. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.243 sec
  455. Running org.openmrs.api.handler.RequireVoidReasonVoidHandlerTest
  456. Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.762 sec
  457. Running org.openmrs.validator.FormValidatorTest
  458. Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.798 sec
  459. Running org.openmrs.PersonNameTest
  460. Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
  461. Running org.openmrs.report.PepfarReportFromXmlTest
  462. ERROR - OpenmrsUtil.toPatientFilter(1612) |2011-05-06 11:55:24,157| class org.openmrs.reporting.ProgramStatePatientFilter . program should b
  463. e class org.openmrs.Program but is given as class java.lang.Integer
  464. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.72 sec
  465. Running org.openmrs.validator.RequireNameValidatorTest
  466. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
  467. Running org.openmrs.util.LocationUtilityTest
  468. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.306 sec
  469. Running org.openmrs.validator.PersonAttributeTypeValidatorTest
  470. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.368 sec
  471. Running org.openmrs.PersonTest
  472. Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.675 sec
  473. Running org.openmrs.validator.PersonNameValidatorTest
  474. Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.84 sec
  475. Running org.openmrs.api.PatientSetServiceTest
  476. Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.631 sec
  477. Running org.openmrs.notification.db.hibernate.HibernateAlertDAOTest
  478. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.121 sec
  479. Running org.openmrs.validator.LocationValidatorTest
  480. Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.672 sec
  481. Running org.openmrs.reporting.export.DataExportTest
  482. Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.722 sec
  483. Running org.openmrs.api.UserServiceTest
  484. Tests run: 70, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 8.278 sec
  485. Running org.openmrs.api.db.ContextDAOTest
  486. Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.366 sec
  487. Running org.openmrs.validator.ConceptClassValidatorTest
  488. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
  489. Running org.openmrs.reporting.CachingPatientFilterTest
  490. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.197 sec
  491. Running org.openmrs.api.handler.OpenmrsMetadataSaveHandlerTest
  492. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
  493. Running org.openmrs.validator.DrugOrderValidatorTest
  494. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.479 sec
  495. Running org.openmrs.validator.PatientIdentifierValidatorTest
  496. Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.533 sec
  497. Running org.openmrs.validator.SchedulerFormValidatorTest
  498. Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
  499. Running org.openmrs.validator.PatientIdentifierTypeValidatorTest
  500. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
  501. Running org.openmrs.report.PatientSearchParameterTest
  502. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.178 sec
  503. Running org.openmrs.api.handler.PersonUnvoidHandlerTest
  504. Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
  505. Running org.openmrs.logic.result.EmptyResultTest
  506. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
  507. Running org.openmrs.util.SecurityTest
  508. Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec
  509. Running org.openmrs.validator.UserValidatorTest
  510. Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
  511. Running org.openmrs.util.PersonByNameComparatorTest
  512. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
  513. Running org.openmrs.reporting.PatientFilterTest
  514. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.18 sec
  515. Running org.openmrs.api.handler.PersonVoidHandlerTest
  516. Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
  517. Running org.openmrs.util.UserByNameComparatorTest
  518. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
  519. Running org.openmrs.ConceptWordTest
  520. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.243 sec
  521. Running org.openmrs.util.HandlerUtilTest
  522. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.447 sec
  523. Running org.openmrs.api.AdministrationServiceTest
  524. ERROR - MutableResourceBundleMessageSource.findPropertiesFiles(323) |2011-05-06 11:56:12,552| Error generated
  525. java.io.FileNotFoundException: class path resource [WEB-INF/] cannot be resolved to URL because it does not exist
  526. at org.springframework.core.io.ClassPathResource.getURL(ClassPathResource.java:162)
  527. at org.springframework.core.io.AbstractFileResolvingResource.getFile(AbstractFileResolvingResource.java:47)
  528. at org.openmrs.messagesource.impl.MutableResourceBundleMessageSource.findPropertiesFiles(MutableResourceBundleMessageSource.java:311)
  529. at org.openmrs.messagesource.impl.MutableResourceBundleMessageSource.findLocales(MutableResourceBundleMessageSource.java:93)
  530. at org.openmrs.messagesource.impl.MutableResourceBundleMessageSource.getLocales(MutableResourceBundleMessageSource.java:70)
  531. at org.openmrs.messagesource.impl.MessageSourceServiceImpl.getLocales(MessageSourceServiceImpl.java:84)
  532. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  533. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  534. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  535. at java.lang.reflect.Method.invoke(Method.java:597)
  536. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  537. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  538. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  539. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  540. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  541. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:122)
  542. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  543. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
  544. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  545. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
  546. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  547. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  548. at $Proxy18.getLocales(Unknown Source)
  549. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  550. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  551. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  552. at java.lang.reflect.Method.invoke(Method.java:597)
  553. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  554. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  555. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  556. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  557. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  558. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  559. at $Proxy61.getLocales(Unknown Source)
  560. at org.openmrs.api.impl.AdministrationServiceImpl.getPresentationLocales(AdministrationServiceImpl.java:1015)
  561. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  562. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  563. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  564. at java.lang.reflect.Method.invoke(Method.java:597)
  565. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  566. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  567. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  568. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  569. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  570. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  571. at $Proxy20.getPresentationLocales(Unknown Source)
  572. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  573. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  574. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  575. at java.lang.reflect.Method.invoke(Method.java:597)
  576. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  577. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  578. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  579. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  580. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  581. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:122)
  582. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  583. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
  584. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  585. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
  586. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  587. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  588. at $Proxy40.getPresentationLocales(Unknown Source)
  589. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  590. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  591. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  592. at java.lang.reflect.Method.invoke(Method.java:597)
  593. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  594. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  595. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  596. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  597. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  598. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  599. at $Proxy40.getPresentationLocales(Unknown Source)
  600. at org.openmrs.api.AdministrationServiceTest.getPresentationLocales_shouldNotReturnMoreLocalesThanMessageSourceServiceLocales(Administratio
  601. nServiceTest.java:418)
  602. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  603. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  604. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  605. at java.lang.reflect.Method.invoke(Method.java:597)
  606. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
  607. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  608. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
  609. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  610. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  611. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
  612. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  613. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  614. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
  615. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240)
  616. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  617. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
  618. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
  619. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
  620. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
  621. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
  622. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  623. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  624. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
  625. at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
  626. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)
  627. at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
  628. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
  629. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
  630. at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
  631. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  632. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  633. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  634. at java.lang.reflect.Method.invoke(Method.java:597)
  635. at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
  636. at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
  637. Tests run: 37, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 4.921 sec
  638. Running org.openmrs.api.impl.ConceptServiceImplTest
  639. Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.658 sec
  640. Running org.openmrs.report.RowPerObsDatasetTest
  641. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.161 sec
  642. Running org.openmrs.OrderTest
  643. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
  644. Running org.openmrs.attribute.handler.RegexValidatedStringAttributeHandlerTest
  645. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
  646. Running org.openmrs.api.PersonServiceTest
  647. Tests run: 91, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 10.51 sec
  648. Running org.openmrs.ConceptDescriptionTest
  649. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
  650. Running org.openmrs.validator.ConceptDatatypeValidatorTest
  651. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
  652. Running org.openmrs.api.ConceptServiceTest
  653. Tests run: 107, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 12.841 sec
  654. Running org.openmrs.api.AttributeServiceTest
  655. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.33 sec
  656. Running org.openmrs.patient.impl.LuhnIdentifierValidatorTest
  657. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
  658. Running org.openmrs.validator.PrivilegeValidatorTest
  659. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
  660. Running org.openmrs.api.db.UserDAOTest
  661. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.158 sec
  662. Running org.openmrs.attribute.handler.DateAttributeHandlerTest
  663. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
  664. Running org.openmrs.PatientTest
  665. Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
  666. Running org.openmrs.validator.StateConversionValidatorTest
  667. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.478 sec
  668. Running org.openmrs.util.DrugsByNameComparatorTest
  669. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
  670. Running org.openmrs.reporting.InversePatientFilterTest
  671. Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.187 sec
  672. Running org.openmrs.api.PatientServiceTest
  673. Tests run: 125, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 15.526 sec
  674. Running org.openmrs.api.ObsServiceTest
  675. ERROR - ImageHandler.getObs(74) |2011-05-06 11:56:56,480| Trying to read file: /Users/burke/.OpenMRS/complex_obs/openmrs_logo_small.gif
  676. javax.imageio.IIOException: Can't read input file!
  677. at javax.imageio.ImageIO.read(ImageIO.java:1275)
  678. at org.openmrs.obs.handler.ImageHandler.getObs(ImageHandler.java:71)
  679. at org.openmrs.api.impl.ObsServiceImpl.getComplexObs(ObsServiceImpl.java:713)
  680. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  681. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  682. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  683. at java.lang.reflect.Method.invoke(Method.java:597)
  684. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  685. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  686. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  687. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  688. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  689. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  690. at $Proxy30.getComplexObs(Unknown Source)
  691. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  692. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  693. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  694. at java.lang.reflect.Method.invoke(Method.java:597)
  695. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  696. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  697. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  698. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  699. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  700. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:122)
  701. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  702. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
  703. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  704. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
  705. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  706. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  707. at $Proxy31.getComplexObs(Unknown Source)
  708. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  709. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  710. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  711. at java.lang.reflect.Method.invoke(Method.java:597)
  712. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  713. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  714. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  715. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  716. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  717. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  718. at $Proxy31.getComplexObs(Unknown Source)
  719. at org.openmrs.api.ObsServiceTest.getComplexObs_shouldFillInComplexDataObjectForComplexObs(ObsServiceTest.java:398)
  720. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  721. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  722. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  723. at java.lang.reflect.Method.invoke(Method.java:597)
  724. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
  725. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  726. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
  727. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  728. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  729. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
  730. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  731. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  732. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
  733. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240)
  734. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  735. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
  736. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
  737. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
  738. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
  739. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
  740. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  741. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  742. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
  743. at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
  744. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)
  745. at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
  746. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
  747. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
  748. at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
  749. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  750. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  751. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  752. at java.lang.reflect.Method.invoke(Method.java:597)
  753. at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
  754. at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
  755. ERROR - ImageHandler.getObs(74) |2011-05-06 11:56:56,621| Trying to read file: /Users/burke/.OpenMRS/complex_obs/openmrs_logo_small.gif
  756. javax.imageio.IIOException: Can't read input file!
  757. at javax.imageio.ImageIO.read(ImageIO.java:1275)
  758. at org.openmrs.obs.handler.ImageHandler.getObs(ImageHandler.java:71)
  759. at org.openmrs.api.impl.ObsServiceImpl.getComplexObs(ObsServiceImpl.java:713)
  760. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  761. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  762. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  763. at java.lang.reflect.Method.invoke(Method.java:597)
  764. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  765. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  766. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  767. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  768. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  769. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  770. at $Proxy30.getComplexObs(Unknown Source)
  771. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  772. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  773. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  774. at java.lang.reflect.Method.invoke(Method.java:597)
  775. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  776. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  777. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  778. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  779. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  780. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:122)
  781. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  782. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
  783. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  784. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
  785. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  786. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  787. at $Proxy31.getComplexObs(Unknown Source)
  788. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  789. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  790. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  791. at java.lang.reflect.Method.invoke(Method.java:597)
  792. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  793. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  794. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  795. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  796. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  797. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  798. at $Proxy31.getComplexObs(Unknown Source)
  799. at org.openmrs.api.ObsServiceTest.getComplexObs_shouldNotFailWithNullView(ObsServiceTest.java:416)
  800. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  801. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  802. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  803. at java.lang.reflect.Method.invoke(Method.java:597)
  804. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
  805. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  806. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
  807. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  808. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  809. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
  810. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  811. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  812. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
  813. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240)
  814. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  815. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
  816. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
  817. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
  818. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
  819. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
  820. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  821. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  822. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
  823. at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
  824. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)
  825. at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
  826. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
  827. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
  828. at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
  829. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  830. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  831. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  832. at java.lang.reflect.Method.invoke(Method.java:597)
  833. at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
  834. at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
  835. Tests run: 63, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.45 sec
  836. Running org.openmrs.ProgramWorkflowTest
  837. Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
  838. Running org.openmrs.scheduler.SchedulerUtilTest
  839. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
  840. Running org.openmrs.scheduler.SchedulerServiceTest
  841. Tests run: 8, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 3.696 sec
  842. Running org.openmrs.api.FormServiceTest
  843. Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.186 sec
  844. Running org.openmrs.hl7.HL7ServiceTest
  845. ERROR - HL7ServiceImpl.setFatalError(855) |2011-05-06 11:57:11,642| Trouble parsing HL7 message (asdf)
  846. ca.uhn.hl7v2.HL7Exception: HL7 encoding not supported
  847. at org.openmrs.hl7.impl.HL7ServiceImpl.parseHL7String(HL7ServiceImpl.java:871)
  848. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  849. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  850. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  851. at java.lang.reflect.Method.invoke(Method.java:597)
  852. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  853. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  854. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  855. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  856. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  857. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  858. at $Proxy58.parseHL7String(Unknown Source)
  859. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  860. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  861. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  862. at java.lang.reflect.Method.invoke(Method.java:597)
  863. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  864. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  865. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  866. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  867. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  868. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:122)
  869. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  870. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
  871. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  872. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
  873. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  874. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  875. at $Proxy59.parseHL7String(Unknown Source)
  876. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  877. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  878. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  879. at java.lang.reflect.Method.invoke(Method.java:597)
  880. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  881. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  882. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  883. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  884. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  885. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  886. at $Proxy59.parseHL7String(Unknown Source)
  887. at org.openmrs.hl7.impl.HL7ServiceImpl.processHL7InQueue(HL7ServiceImpl.java:794)
  888. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  889. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  890. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  891. at java.lang.reflect.Method.invoke(Method.java:597)
  892. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  893. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  894. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  895. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  896. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  897. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  898. at $Proxy58.processHL7InQueue(Unknown Source)
  899. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  900. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  901. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  902. at java.lang.reflect.Method.invoke(Method.java:597)
  903. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  904. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  905. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  906. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  907. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  908. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:122)
  909. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  910. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
  911. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  912. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
  913. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  914. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  915. at $Proxy59.processHL7InQueue(Unknown Source)
  916. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  917. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  918. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  919. at java.lang.reflect.Method.invoke(Method.java:597)
  920. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  921. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  922. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  923. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  924. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  925. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  926. at $Proxy59.processHL7InQueue(Unknown Source)
  927. at org.openmrs.hl7.HL7ServiceTest.processHL7InQueue_shouldCreateHL7InErrorAfterFailedParsing(HL7ServiceTest.java:116)
  928. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  929. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  930. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  931. at java.lang.reflect.Method.invoke(Method.java:597)
  932. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
  933. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  934. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
  935. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  936. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  937. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
  938. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  939. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  940. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
  941. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240)
  942. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  943. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
  944. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
  945. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
  946. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
  947. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
  948. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  949. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  950. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
  951. at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
  952. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)
  953. at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
  954. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
  955. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
  956. at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
  957. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  958. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  959. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  960. at java.lang.reflect.Method.invoke(Method.java:597)
  961. at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
  962. at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
  963. Caused by: ca.uhn.hl7v2.parser.EncodingNotSupportedException: Can't parse message beginning a malformed hl7 message
  964. at ca.uhn.hl7v2.parser.Parser.parse(Parser.java:140)
  965. at org.openmrs.hl7.impl.HL7ServiceImpl.parseHL7String(HL7ServiceImpl.java:868)
  966. ... 115 more
  967. ERROR - HL7ServiceImpl.setFatalError(855) |2011-05-06 11:57:12,385| Trouble parsing HL7 message (asdf)
  968. ca.uhn.hl7v2.HL7Exception: Error while processing HL7 message: ORU_R01
  969. at org.openmrs.hl7.impl.HL7ServiceImpl.processHL7Message(HL7ServiceImpl.java:905)
  970. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  971. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  972. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  973. at java.lang.reflect.Method.invoke(Method.java:597)
  974. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  975. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  976. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  977. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  978. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  979. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  980. at $Proxy58.processHL7Message(Unknown Source)
  981. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  982. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  983. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  984. at java.lang.reflect.Method.invoke(Method.java:597)
  985. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  986. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  987. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  988. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  989. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  990. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:122)
  991. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  992. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
  993. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  994. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
  995. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  996. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  997. at $Proxy59.processHL7Message(Unknown Source)
  998. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  999. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  1000. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  1001. at java.lang.reflect.Method.invoke(Method.java:597)
  1002. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  1003. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  1004. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  1005. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  1006. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  1007. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  1008. at $Proxy59.processHL7Message(Unknown Source)
  1009. at org.openmrs.hl7.impl.HL7ServiceImpl.processHL7InQueue(HL7ServiceImpl.java:800)
  1010. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1011. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  1012. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  1013. at java.lang.reflect.Method.invoke(Method.java:597)
  1014. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  1015. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  1016. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  1017. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  1018. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  1019. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  1020. at $Proxy58.processHL7InQueue(Unknown Source)
  1021. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1022. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  1023. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  1024. at java.lang.reflect.Method.invoke(Method.java:597)
  1025. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  1026. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  1027. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  1028. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  1029. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  1030. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:122)
  1031. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  1032. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
  1033. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  1034. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
  1035. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  1036. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  1037. at $Proxy59.processHL7InQueue(Unknown Source)
  1038. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1039. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  1040. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  1041. at java.lang.reflect.Method.invoke(Method.java:597)
  1042. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
  1043. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  1044. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  1045. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  1046. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  1047. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  1048. at $Proxy59.processHL7InQueue(Unknown Source)
  1049. at org.openmrs.hl7.HL7ServiceTest.processHL7InQueue_shouldParseOruR01MessageUsingOverriddenParserProvidedByAModule(HL7ServiceTest.java:260)
  1050. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1051. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  1052. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  1053. at java.lang.reflect.Method.invoke(Method.java:597)
  1054. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
  1055. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  1056. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
  1057. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  1058. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  1059. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
  1060. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  1061. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  1062. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
  1063. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240)
  1064. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  1065. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
  1066. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
  1067. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
  1068. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
  1069. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
  1070. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  1071. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  1072. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
  1073. at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
  1074. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)
  1075. at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
  1076. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
  1077. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
  1078. at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
  1079. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1080. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  1081. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  1082. at java.lang.reflect.Method.invoke(Method.java:597)
  1083. at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
  1084. at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
  1085. Caused by: ca.uhn.hl7v2.app.ApplicationException: In alternate oru r01 parser
  1086. at org.openmrs.module.examplehl7handlers.AlternateORUR01Handler.processMessage(AlternateORUR01Handler.java:39)
  1087. at ca.uhn.hl7v2.app.MessageTypeRouter.processMessage(MessageTypeRouter.java:52)
  1088. at org.openmrs.hl7.impl.HL7ServiceImpl.processHL7Message(HL7ServiceImpl.java:902)
  1089. ... 115 more
  1090. Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.128 sec
  1091. Running org.openmrs.hl7.handler.ORUR01HandlerTest
  1092. ERROR - ORUR01Handler.getConcept(908) |2011-05-06 11:57:15,781| Unable to find concept with code: 123 and mapping: a nonexistent coding syst
  1093. em in hl7 message with uid: n3jn2345g89n4
  1094. ERROR - ORUR01Handler.getConcept(908) |2011-05-06 11:57:15,783| Unable to find concept with code: 93939434834 and mapping: SSTRM in hl7 mess
  1095. age with uid: xcjk23h89gn34k234
  1096. ERROR - ORUR01Handler.processMessage(148) |2011-05-06 11:57:15,928| Error while processing ORU_R01 message
  1097. ca.uhn.hl7v2.HL7Exception: Improperly formatted OBX: OBX|1|CWE|5497^CD4, BY FACS^99DCT||^^99DCT|||||||||20080208
  1098. at org.openmrs.hl7.handler.ORUR01Handler.processORU_R01(ORUR01Handler.java:334)
  1099. at org.openmrs.hl7.handler.ORUR01Handler.processMessage(ORUR01Handler.java:141)
  1100. at ca.uhn.hl7v2.app.MessageTypeRouter.processMessage(MessageTypeRouter.java:52)
  1101. at org.openmrs.hl7.handler.ORUR01HandlerTest.processMessage_shouldFailOnEmptyConceptAnswers(ORUR01HandlerTest.java:423)
  1102. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1103. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  1104. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  1105. at java.lang.reflect.Method.invoke(Method.java:597)
  1106. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
  1107. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  1108. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
  1109. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  1110. at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:21)
  1111. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  1112. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
  1113. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  1114. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  1115. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
  1116. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240)
  1117. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  1118. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
  1119. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
  1120. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
  1121. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
  1122. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
  1123. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  1124. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  1125. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
  1126. at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
  1127. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)
  1128. at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
  1129. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
  1130. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
  1131. at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
  1132. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1133. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  1134. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  1135. at java.lang.reflect.Method.invoke(Method.java:597)
  1136. at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
  1137. at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
  1138. Caused by: ca.uhn.hl7v2.HL7Exception: Invalid concept ID 'null' in hl7 message with uid: kgWdFt0SVwwClOfJm3pe
  1139. at org.openmrs.hl7.handler.ORUR01Handler.getConcept(ORUR01Handler.java:902)
  1140. at org.openmrs.hl7.handler.ORUR01Handler.getConcept(ORUR01Handler.java:876)
  1141. at org.openmrs.hl7.handler.ORUR01Handler.parseObs(ORUR01Handler.java:685)
  1142. at org.openmrs.hl7.handler.ORUR01Handler.processORU_R01(ORUR01Handler.java:289)
  1143. ... 39 more
  1144. ERROR - ORUR01Handler.processMessage(148) |2011-05-06 11:57:16,106| Error while processing ORU_R01 message
  1145. ca.uhn.hl7v2.HL7Exception: Improperly formatted OBX: OBX|1|CWE|6042^PROBLEM ADDED^99DCT||PROPOSED^^99DCT|||||||||20080208
  1146. at org.openmrs.hl7.handler.ORUR01Handler.processORU_R01(ORUR01Handler.java:334)
  1147. at org.openmrs.hl7.handler.ORUR01Handler.processMessage(ORUR01Handler.java:141)
  1148. at ca.uhn.hl7v2.app.MessageTypeRouter.processMessage(MessageTypeRouter.java:52)
  1149. at org.openmrs.hl7.handler.ORUR01HandlerTest.processMessage_shouldFailOnEmptyConceptProposals(ORUR01HandlerTest.java:440)
  1150. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1151. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  1152. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  1153. at java.lang.reflect.Method.invoke(Method.java:597)
  1154. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
  1155. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  1156. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
  1157. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  1158. at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:21)
  1159. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  1160. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
  1161. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  1162. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  1163. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
  1164. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240)
  1165. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  1166. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
  1167. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
  1168. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
  1169. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
  1170. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
  1171. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  1172. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  1173. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
  1174. at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
  1175. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)
  1176. at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
  1177. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
  1178. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
  1179. at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
  1180. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1181. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  1182. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  1183. at java.lang.reflect.Method.invoke(Method.java:597)
  1184. at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
  1185. at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
  1186. Caused by: ca.uhn.hl7v2.HL7Exception: Hl7.proposed.concept.name.empty
  1187. at org.openmrs.hl7.handler.ORUR01Handler.processORU_R01(ORUR01Handler.java:322)
  1188. ... 39 more
  1189. Caused by: org.openmrs.hl7.handler.ProposingConceptException
  1190. at org.openmrs.hl7.handler.ORUR01Handler.parseObs(ORUR01Handler.java:681)
  1191. at org.openmrs.hl7.handler.ORUR01Handler.processORU_R01(ORUR01Handler.java:289)
  1192. ... 39 more
  1193. ERROR - ORUR01Handler.processMessage(148) |2011-05-06 11:57:17,257| Error while processing ORU_R01 message
  1194. ca.uhn.hl7v2.HL7Exception: Improperly formatted OBX: OBX|2|NM|4^CIVIL STATUS^99DCT||1|||||||||20080206
  1195. at org.openmrs.hl7.handler.ORUR01Handler.processORU_R01(ORUR01Handler.java:334)
  1196. at org.openmrs.hl7.handler.ORUR01Handler.processMessage(ORUR01Handler.java:141)
  1197. at ca.uhn.hl7v2.app.MessageTypeRouter.processMessage(MessageTypeRouter.java:52)
  1198. at org.openmrs.hl7.handler.ORUR01HandlerTest.processMessage_shouldFailIfQuestionDatatypeIsCodedAndABooleanIsNotAValidAnswer(ORUR01HandlerTe
  1199. st.java:710)
  1200. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1201. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  1202. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  1203. at java.lang.reflect.Method.invoke(Method.java:597)
  1204. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
  1205. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  1206. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
  1207. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  1208. at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:21)
  1209. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  1210. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
  1211. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  1212. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  1213. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
  1214. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240)
  1215. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  1216. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
  1217. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
  1218. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
  1219. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
  1220. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
  1221. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  1222. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  1223. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
  1224. at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
  1225. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)
  1226. at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
  1227. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
  1228. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
  1229. at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
  1230. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1231. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  1232. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  1233. at java.lang.reflect.Method.invoke(Method.java:597)
  1234. at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
  1235. at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
  1236. Caused by: ca.uhn.hl7v2.HL7Exception: 7 is not a valid answer for obs with uuid JqnfhKKtouEz8kzTk6Zo
  1237. at org.openmrs.hl7.handler.ORUR01Handler.parseObs(ORUR01Handler.java:656)
  1238. at org.openmrs.hl7.handler.ORUR01Handler.processORU_R01(ORUR01Handler.java:289)
  1239. ... 39 more
  1240. ERROR - ORUR01Handler.processMessage(148) |2011-05-06 11:57:17,410| Error while processing ORU_R01 message
  1241. ca.uhn.hl7v2.HL7Exception: Improperly formatted OBX: OBX|2|NM|19^FAVORITE FOOD, NON-CODED^99DCT||1|||||||||20080206
  1242. at org.openmrs.hl7.handler.ORUR01Handler.processORU_R01(ORUR01Handler.java:334)
  1243. at org.openmrs.hl7.handler.ORUR01Handler.processMessage(ORUR01Handler.java:141)
  1244. at ca.uhn.hl7v2.app.MessageTypeRouter.processMessage(MessageTypeRouter.java:52)
  1245. at org.openmrs.hl7.handler.ORUR01HandlerTest.processMessage_shouldFailIfQuestionDatatypeIsNeitherBooleanNorNumericNorCoded(ORUR01HandlerTes
  1246. t.java:727)
  1247. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1248. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  1249. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  1250. at java.lang.reflect.Method.invoke(Method.java:597)
  1251. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
  1252. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  1253. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
  1254. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  1255. at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:21)
  1256. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  1257. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
  1258. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  1259. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  1260. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
  1261. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240)
  1262. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  1263. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
  1264. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
  1265. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
  1266. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
  1267. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
  1268. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  1269. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  1270. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
  1271. at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
  1272. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)
  1273. at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
  1274. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
  1275. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
  1276. at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
  1277. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1278. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  1279. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  1280. at java.lang.reflect.Method.invoke(Method.java:597)
  1281. at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
  1282. at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
  1283. Caused by: ca.uhn.hl7v2.HL7Exception: Can't set boolean concept answer for concept with id 19
  1284. at org.openmrs.hl7.handler.ORUR01Handler.parseObs(ORUR01Handler.java:659)
  1285. at org.openmrs.hl7.handler.ORUR01Handler.processORU_R01(ORUR01Handler.java:289)
  1286. ... 39 more
  1287. Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.226 sec
  1288. Running org.openmrs.notification.AlertServiceTest
  1289. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.126 sec
  1290. Running org.openmrs.report.RowPerProgramEnrollmentDatasetTest
  1291. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.18 sec
  1292.  
  1293. Results :
  1294.  
  1295. Tests in error:
  1296. updatesRequired_shouldAlwaysHaveAValidUpdateToLatestFile(org.openmrs.util.DatabaseUpdaterTest)
  1297.  
  1298. Tests run: 1627, Failures: 0, Errors: 1, Skipped: 19
  1299.  
  1300. [INFO] ------------------------------------------------------------------------
  1301. [INFO] BUILD FAILURE
  1302. [INFO] ------------------------------------------------------------------------
  1303. [INFO] Total time: 3:45.998s
  1304. [INFO] Finished at: Fri May 06 11:57:19 EDT 2011
  1305. [INFO] Final Memory: 10M/81M
  1306. [INFO] ------------------------------------------------------------------------
  1307. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) on project openmrs-api: There are test
  1308. failures.
  1309. [ERROR]
  1310. [ERROR] Please refer to /Users/burke/Documents/java/openmrs/api/target/surefire-reports for the individual test results.
  1311. [ERROR] -> [Help 1]
  1312. [ERROR]
  1313. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  1314. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  1315. [ERROR]
  1316. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  1317. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement