Advertisement
willa

Error Compiling Reporting Compatibility [master]

Mar 23rd, 2016
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 71.66 KB | None | 0 0
  1. [INFO] Scanning for projects...
  2. [INFO] ------------------------------------------------------------------------
  3. [INFO] Reactor Build Order:
  4. [INFO]
  5. [INFO] Reporting Compatibility
  6. [INFO] Reporting Compatibility API
  7. [INFO] Reporting Compatibility OMOD
  8. [INFO]
  9. [INFO] ------------------------------------------------------------------------
  10. [INFO] Building Reporting Compatibility 1.5.9-SNAPSHOT
  11. [INFO] ------------------------------------------------------------------------
  12. [INFO]
  13. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ reportingcompatibility ---
  14. [INFO]
  15. [INFO] --- maven-install-plugin:2.4:install (default-install) @ reportingcompatibility ---
  16. [INFO] Installing /Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/pom.xml to /Users/willa/.m2/repository/org/openmrs/module/reportingcompatibility/1.5.9-SNAPSHOT/reportingcompatibility-1.5.9-SNAPSHOT.pom
  17. [INFO]
  18. [INFO] ------------------------------------------------------------------------
  19. [INFO] Building Reporting Compatibility API 1.5.9-SNAPSHOT
  20. [INFO] ------------------------------------------------------------------------
  21. [INFO]
  22. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ reportingcompatibility-api ---
  23. [INFO] Deleting /Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target
  24. [INFO]
  25. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ reportingcompatibility-api ---
  26. [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
  27. [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
  28. [INFO] Copying 2 resources
  29. [INFO]
  30. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ reportingcompatibility-api ---
  31. [INFO] Changes detected - recompiling the module!
  32. [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
  33. [INFO] Compiling 128 source files to /Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target/classes
  34. [WARNING] Note: Some input files use or override a deprecated API.
  35. [WARNING] Note: Recompile with -Xlint:deprecation for details.
  36. [WARNING] Note: Some input files use unchecked or unsafe operations.
  37. [WARNING] Note: Recompile with -Xlint:unchecked for details.
  38. [INFO]
  39. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ reportingcompatibility-api ---
  40. [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
  41. [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
  42. [INFO] Copying 13 resources
  43. [INFO] Copying 0 resource
  44. [INFO]
  45. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ reportingcompatibility-api ---
  46. [INFO] Changes detected - recompiling the module!
  47. [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
  48. [INFO] Compiling 18 source files to /Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target/test-classes
  49. [WARNING] Note: Some input files use or override a deprecated API.
  50. [WARNING] Note: Recompile with -Xlint:deprecation for details.
  51. [INFO]
  52. [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ reportingcompatibility-api ---
  53. [INFO] Surefire report directory: /Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target/surefire-reports
  54.  
  55. T E S T S
  56.  
  57. Running org.openmrs.cohort.CohortUtilTest
  58. ERROR - TestContextManager.prepareTestInstance(309) |2016-03-23 11:34:12,334| Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@f50fa46] to prepare test instance [org.openmrs.cohort.CohortUtilTest@d5f1185]
  59. java.lang.IllegalStateException: Failed to load ApplicationContext
  60. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
  61. at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:122)
  62. at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
  63. at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
  64. at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:307)
  65. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)
  66. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:288)
  67. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  68. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:284)
  69. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
  70. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
  71. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  72. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  73. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  74. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  75. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  76. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  77. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  78. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
  79. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  80. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
  81. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  82. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  83. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  84. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  85. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  86. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  87. at java.lang.reflect.Method.invoke(Method.java:597)
  88. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  89. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  90. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  91. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  92. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  93. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serviceContext' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'reportService' while setting bean property 'reportService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportService' defined in URL [file:/Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target/test-classes/TestingApplicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.openmrs.api.context.ServiceContext' to required type 'org.openmrs.api.ReportService' for property 'reportService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  94. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:326)
  95. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
  96. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417)
  97. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
  98. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
  99. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
  100. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
  101. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
  102. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
  103. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  104. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
  105. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
  106. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
  107. at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:120)
  108. at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
  109. at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
  110. at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:248)
  111. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
  112. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
  113. ... 32 more
  114. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportService' defined in URL [file:/Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target/test-classes/TestingApplicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.openmrs.api.context.ServiceContext' to required type 'org.openmrs.api.ReportService' for property 'reportService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  115. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)
  116. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
  117. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
  118. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
  119. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
  120. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  121. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:320)
  122. ... 50 more
  123. Caused by: org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.openmrs.api.context.ServiceContext' to required type 'org.openmrs.api.ReportService' for property 'reportService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  124. at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:463)
  125. at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:494)
  126. at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:488)
  127. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1463)
  128. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1422)
  129. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
  130. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
  131. ... 56 more
  132. Caused by: java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  133. at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:267)
  134. at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:448)
  135. ... 62 more
  136. Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.717 sec <<< FAILURE!
  137. parse_shouldParseSpecificationWithAndInIt(org.openmrs.cohort.CohortUtilTest) Time elapsed: 10.251 sec <<< ERROR!
  138. java.lang.IllegalStateException: Failed to load ApplicationContext
  139. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
  140. at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:122)
  141. at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
  142. at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
  143. at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:307)
  144. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)
  145. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:288)
  146. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  147. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:284)
  148. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
  149. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
  150. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  151. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  152. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  153. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  154. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  155. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  156. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  157. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
  158. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  159. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
  160. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  161. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  162. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  163. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  164. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  165. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  166. at java.lang.reflect.Method.invoke(Method.java:597)
  167. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  168. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  169. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  170. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  171. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  172. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serviceContext' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'reportService' while setting bean property 'reportService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportService' defined in URL [file:/Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target/test-classes/TestingApplicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.openmrs.api.context.ServiceContext' to required type 'org.openmrs.api.ReportService' for property 'reportService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  173. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:326)
  174. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
  175. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417)
  176. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
  177. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
  178. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
  179. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
  180. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
  181. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
  182. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  183. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
  184. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
  185. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
  186. at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:120)
  187. at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
  188. at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
  189. at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:248)
  190. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
  191. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
  192. ... 32 more
  193. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportService' defined in URL [file:/Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target/test-classes/TestingApplicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.openmrs.api.context.ServiceContext' to required type 'org.openmrs.api.ReportService' for property 'reportService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  194. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)
  195. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
  196. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
  197. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
  198. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
  199. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  200. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:320)
  201. ... 50 more
  202. Caused by: org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.openmrs.api.context.ServiceContext' to required type 'org.openmrs.api.ReportService' for property 'reportService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  203. at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:463)
  204. at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:494)
  205. at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:488)
  206. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1463)
  207. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1422)
  208. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
  209. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
  210. ... 56 more
  211. Caused by: java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  212. at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:267)
  213. at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:448)
  214. ... 62 more
  215.  
  216. Running org.openmrs.module.reportingcompatibility.service.CohortServiceTest
  217. ERROR - TestContextManager.prepareTestInstance(309) |2016-03-23 11:34:15,735| Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1d867c00] to prepare test instance [org.openmrs.module.reportingcompatibility.service.CohortServiceTest@6836f324]
  218. java.lang.IllegalStateException: Failed to load ApplicationContext
  219. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
  220. at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:122)
  221. at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
  222. at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
  223. at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:307)
  224. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)
  225. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:288)
  226. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  227. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:284)
  228. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
  229. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
  230. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  231. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  232. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  233. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  234. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  235. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  236. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  237. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
  238. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  239. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
  240. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  241. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  242. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  243. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  244. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  245. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  246. at java.lang.reflect.Method.invoke(Method.java:597)
  247. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  248. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  249. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  250. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  251. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  252. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serviceContext' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'reportService' while setting bean property 'reportService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportService' defined in URL [file:/Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target/test-classes/TestingApplicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.openmrs.api.context.ServiceContext' to required type 'org.openmrs.api.ReportService' for property 'reportService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  253. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:326)
  254. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
  255. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417)
  256. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
  257. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
  258. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
  259. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
  260. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
  261. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
  262. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  263. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
  264. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
  265. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
  266. at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:120)
  267. at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
  268. at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
  269. at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:248)
  270. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
  271. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
  272. ... 32 more
  273. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportService' defined in URL [file:/Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target/test-classes/TestingApplicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.openmrs.api.context.ServiceContext' to required type 'org.openmrs.api.ReportService' for property 'reportService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  274. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)
  275. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
  276. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
  277. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
  278. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
  279. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  280. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:320)
  281. ... 50 more
  282. Caused by: org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.openmrs.api.context.ServiceContext' to required type 'org.openmrs.api.ReportService' for property 'reportService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  283. at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:463)
  284. at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:494)
  285. at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:488)
  286. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1463)
  287. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1422)
  288. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
  289. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
  290. ... 56 more
  291. Caused by: java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  292. at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:267)
  293. at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:448)
  294. ... 62 more
  295. Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.383 sec <<< FAILURE!
  296. evaluate_shouldReturnAllPatientsWithBlankPatientSearchCohortDefinitionProvider(org.openmrs.module.reportingcompatibility.service.CohortServiceTest) Time elapsed: 3.383 sec <<< ERROR!
  297. java.lang.IllegalStateException: Failed to load ApplicationContext
  298. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
  299. at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:122)
  300. at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
  301. at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
  302. at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:307)
  303. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)
  304. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:288)
  305. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  306. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:284)
  307. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
  308. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
  309. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  310. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  311. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  312. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  313. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  314. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  315. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  316. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
  317. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  318. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
  319. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  320. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  321. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  322. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  323. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  324. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  325. at java.lang.reflect.Method.invoke(Method.java:597)
  326. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  327. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  328. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  329. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  330. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  331. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serviceContext' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'reportService' while setting bean property 'reportService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportService' defined in URL [file:/Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target/test-classes/TestingApplicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.openmrs.api.context.ServiceContext' to required type 'org.openmrs.api.ReportService' for property 'reportService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  332. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:326)
  333. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
  334. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417)
  335. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
  336. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
  337. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
  338. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
  339. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
  340. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
  341. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  342. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
  343. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
  344. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
  345. at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:120)
  346. at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
  347. at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
  348. at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:248)
  349. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
  350. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
  351. ... 32 more
  352. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportService' defined in URL [file:/Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target/test-classes/TestingApplicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.openmrs.api.context.ServiceContext' to required type 'org.openmrs.api.ReportService' for property 'reportService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  353. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)
  354. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
  355. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
  356. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
  357. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
  358. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  359. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:320)
  360. ... 50 more
  361. Caused by: org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.openmrs.api.context.ServiceContext' to required type 'org.openmrs.api.ReportService' for property 'reportService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  362. at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:463)
  363. at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:494)
  364. at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:488)
  365. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1463)
  366. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1422)
  367. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
  368. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
  369. ... 56 more
  370. Caused by: java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  371. at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:267)
  372. at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:448)
  373. ... 62 more
  374.  
  375. Running org.openmrs.report.EvaluationContextTest
  376. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
  377. Running org.openmrs.report.PatientSearchParameterTest
  378. ERROR - TestContextManager.prepareTestInstance(309) |2016-03-23 11:34:19,254| Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4daea558] to prepare test instance [org.openmrs.report.PatientSearchParameterTest@4e95c40]
  379. java.lang.IllegalStateException: Failed to load ApplicationContext
  380. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
  381. at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:122)
  382. at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
  383. at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
  384. at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:307)
  385. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)
  386. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:288)
  387. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  388. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:284)
  389. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
  390. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
  391. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  392. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  393. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  394. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  395. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  396. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  397. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  398. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
  399. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  400. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
  401. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  402. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  403. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  404. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  405. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  406. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  407. at java.lang.reflect.Method.invoke(Method.java:597)
  408. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  409. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  410. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  411. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  412. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  413. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serviceContext' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'reportService' while setting bean property 'reportService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportService' defined in URL [file:/Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target/test-classes/TestingApplicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.openmrs.api.context.ServiceContext' to required type 'org.openmrs.api.ReportService' for property 'reportService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  414. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:326)
  415. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
  416. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417)
  417. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
  418. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
  419. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
  420. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
  421. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
  422. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
  423. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  424. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
  425. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
  426. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
  427. at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:120)
  428. at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
  429. at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
  430. at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:248)
  431. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
  432. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
  433. ... 32 more
  434. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportService' defined in URL [file:/Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target/test-classes/TestingApplicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.openmrs.api.context.ServiceContext' to required type 'org.openmrs.api.ReportService' for property 'reportService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  435. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)
  436. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
  437. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
  438. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
  439. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
  440. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  441. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:320)
  442. ... 50 more
  443. Caused by: org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.openmrs.api.context.ServiceContext' to required type 'org.openmrs.api.ReportService' for property 'reportService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  444. at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:463)
  445. at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:494)
  446. at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:488)
  447. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1463)
  448. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1422)
  449. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
  450. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
  451. ... 56 more
  452. Caused by: java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  453. at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:267)
  454. at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:448)
  455. ... 62 more
  456. Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.506 sec <<< FAILURE!
  457. shouldPatientSearchParameter(org.openmrs.report.PatientSearchParameterTest) Time elapsed: 3.506 sec <<< ERROR!
  458. java.lang.IllegalStateException: Failed to load ApplicationContext
  459. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
  460. at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:122)
  461. at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
  462. at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
  463. at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:307)
  464. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)
  465. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:288)
  466. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  467. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:284)
  468. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
  469. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
  470. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  471. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  472. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  473. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  474. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  475. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  476. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  477. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
  478. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  479. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
  480. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  481. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  482. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  483. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  484. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  485. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  486. at java.lang.reflect.Method.invoke(Method.java:597)
  487. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  488. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  489. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  490. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  491. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  492. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serviceContext' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'reportService' while setting bean property 'reportService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportService' defined in URL [file:/Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target/test-classes/TestingApplicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.openmrs.api.context.ServiceContext' to required type 'org.openmrs.api.ReportService' for property 'reportService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  493. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:326)
  494. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
  495. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417)
  496. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
  497. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
  498. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
  499. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
  500. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
  501. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
  502. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  503. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
  504. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
  505. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
  506. at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:120)
  507. at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
  508. at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
  509. at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:248)
  510. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
  511. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
  512. ... 32 more
  513. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportService' defined in URL [file:/Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target/test-classes/TestingApplicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.openmrs.api.context.ServiceContext' to required type 'org.openmrs.api.ReportService' for property 'reportService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  514. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)
  515. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
  516. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
  517. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
  518. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
  519. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  520. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:320)
  521. ... 50 more
  522. Caused by: org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.openmrs.api.context.ServiceContext' to required type 'org.openmrs.api.ReportService' for property 'reportService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  523. at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:463)
  524. at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:494)
  525. at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:488)
  526. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1463)
  527. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1422)
  528. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
  529. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
  530. ... 56 more
  531. Caused by: java.lang.IllegalStateException: Cannot convert value of type [org.openmrs.api.context.ServiceContext] to required type [org.openmrs.api.ReportService] for property 'reportService': no matching editors or conversion strategy found
  532. at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:267)
  533. at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:448)
  534. ... 62 more
  535.  
  536. Results :
  537.  
  538. Tests in error:
  539. parse_shouldParseSpecificationWithAndInIt(org.openmrs.cohort.CohortUtilTest): Failed to load ApplicationContext
  540. evaluate_shouldReturnAllPatientsWithBlankPatientSearchCohortDefinitionProvider(org.openmrs.module.reportingcompatibility.service.CohortServiceTest): Failed to load ApplicationContext
  541. shouldPatientSearchParameter(org.openmrs.report.PatientSearchParameterTest): Failed to load ApplicationContext
  542. shouldParameters(org.openmrs.report.PatientSearchTest): Failed to load ApplicationContext
  543. shouldFromXml(org.openmrs.report.PepfarReportFromXmlTest): Failed to load ApplicationContext
  544. shouldBooleansInPatientSearch(org.openmrs.report.PepfarReportFromXmlTest): Failed to load ApplicationContext
  545. shouldConceptClassShortSerialization(org.openmrs.report.PepfarReportSerializationTest): Failed to load ApplicationContext
  546. shouldCohortSerialization(org.openmrs.report.PepfarReportSerializationTest): Failed to load ApplicationContext
  547. shouldConceptClassDeserialization(org.openmrs.report.PepfarReportSerializationTest): Failed to load ApplicationContext
  548. shouldPepfarStaticCohortSerialization(org.openmrs.report.PepfarReportSerializationTest): Failed to load ApplicationContext
  549. shouldPepfarReport(org.openmrs.report.PepfarReportTest): Failed to load ApplicationContext
  550. shouldSaveGetDeleteReportSchema(org.openmrs.report.ReportSchemaXmlTest): Failed to load ApplicationContext
  551. shouldUpdateReportSchemaXml(org.openmrs.report.ReportSchemaXmlTest): Failed to load ApplicationContext
  552. shouldSerialize(org.openmrs.report.RowPerObsDatasetTest): Failed to load ApplicationContext
  553. shouldSerialization(org.openmrs.report.RowPerProgramEnrollmentDatasetTest): Failed to load ApplicationContext
  554. shouldCachingPatientFilter(org.openmrs.reporting.CachingPatientFilterTest): Failed to load ApplicationContext
  555. shouldFirstObs(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
  556. shouldCalcuateAge(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
  557. shouldFirstNObs(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
  558. shouldDataExportKeyAddition(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
  559. shouldDataExportKeyGetting(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
  560. shouldExportCohortColumns(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
  561. shouldGetNames(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
  562. shouldDataExportKeyRemoval(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
  563. shouldNotFailOnFirstObsIfPatientDoesntHaveAnObs(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
  564. shouldFirstNObsWithZeroObsReturned(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
  565. shouldLastNObs(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
  566. shouldGetContructColumns(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
  567. shouldExportBlankCellsForPatientsWithoutMatchingData(org.openmrs.reporting.export.RowPerObsDataExportTest): Failed to load ApplicationContext
  568. shouldExportMoreThanRowPerPatient(org.openmrs.reporting.export.RowPerObsDataExportTest): Failed to load ApplicationContext
  569. filter_shouldNotFailWithCompoundPatientFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
  570. filter_shouldNotFailWithEncounterPatientFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
  571. filter_shouldNotFailWithDrugOrderStopFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
  572. filter_shouldNotFailWithLocationPatientFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
  573. filter_shouldNotFailWithPatientCharacteristicFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
  574. filter_shouldNotFailWithObsPatientFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
  575. filter_shouldNotFailWithProgramStatePatientFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
  576. filter_shouldNotFailWithProgramPatientFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
  577. filter_shouldNotFailWithDrugOrderPatientFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
  578. filter_shouldNotFailWithPersonAttributeFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
  579. filter_shouldNotFailWithDrugOrderFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
  580. shouldDrugOrderFilter(org.openmrs.reporting.PatientFilterTest): Failed to load ApplicationContext
  581. saveSearchHistory_shouldSaveHistorySuccessfully(org.openmrs.reporting.ReportObjectServiceTest): Failed to load ApplicationContext
  582.  
  583. Tests run: 45, Failures: 0, Errors: 43, Skipped: 0
  584.  
  585. [INFO] ------------------------------------------------------------------------
  586. [INFO] Reactor Summary:
  587. [INFO]
  588. [INFO] Reporting Compatibility ............................ SUCCESS [ 0.375 s]
  589. [INFO] Reporting Compatibility API ........................ FAILURE [01:41 min]
  590. [INFO] Reporting Compatibility OMOD ....................... SKIPPED
  591. [INFO] ------------------------------------------------------------------------
  592. [INFO] BUILD FAILURE
  593. [INFO] ------------------------------------------------------------------------
  594. [INFO] Total time: 01:42 min
  595. [INFO] Finished at: 2016-03-23T11:35:35+03:00
  596. [INFO] Final Memory: 21M/81M
  597. [INFO] ------------------------------------------------------------------------
  598. [WARNING] The requested profile "OpenMRS" could not be activated because it does not exist.
  599. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project reportingcompatibility-api: There are test failures.
  600. [ERROR]
  601. [ERROR] Please refer to /Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target/surefire-reports for the individual test results.
  602. [ERROR] -> [Help 1]
  603. [ERROR]
  604. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  605. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  606. [ERROR]
  607. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  608. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  609. [ERROR]
  610. [ERROR] After correcting the problems, you can resume the build with the command
  611. [ERROR] mvn -rf :reportingcompatibility-api
  612.  
  613. Process finished with exit cod
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement