Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [INFO] Scanning for projects...
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Build Order:
- [INFO]
- [INFO] Reporting Compatibility
- [INFO] Reporting Compatibility API
- [INFO] Reporting Compatibility OMOD
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building Reporting Compatibility 1.5.9-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ reportingcompatibility ---
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ reportingcompatibility ---
- [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
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building Reporting Compatibility API 1.5.9-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ reportingcompatibility-api ---
- [INFO] Deleting /Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ reportingcompatibility-api ---
- [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
- [INFO] Copying 2 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ reportingcompatibility-api ---
- [INFO] Changes detected - recompiling the module!
- [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
- [INFO] Compiling 128 source files to /Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target/classes
- [WARNING] Note: Some input files use or override a deprecated API.
- [WARNING] Note: Recompile with -Xlint:deprecation for details.
- [WARNING] Note: Some input files use unchecked or unsafe operations.
- [WARNING] Note: Recompile with -Xlint:unchecked for details.
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ reportingcompatibility-api ---
- [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
- [INFO] Copying 13 resources
- [INFO] Copying 0 resource
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ reportingcompatibility-api ---
- [INFO] Changes detected - recompiling the module!
- [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
- [INFO] Compiling 18 source files to /Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target/test-classes
- [WARNING] Note: Some input files use or override a deprecated API.
- [WARNING] Note: Recompile with -Xlint:deprecation for details.
- [INFO]
- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ reportingcompatibility-api ---
- [INFO] Surefire report directory: /Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target/surefire-reports
- T E S T S
- Running org.openmrs.cohort.CohortUtilTest
- 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]
- java.lang.IllegalStateException: Failed to load ApplicationContext
- at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
- at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:122)
- at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
- at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
- at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:307)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:288)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:284)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
- at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
- at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
- at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
- at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
- at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:597)
- at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
- at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
- at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
- at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
- at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
- 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
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:326)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
- at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:120)
- at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
- at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
- at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:248)
- at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
- at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
- ... 32 more
- 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
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:320)
- ... 50 more
- 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
- at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:463)
- at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:494)
- at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:488)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1463)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1422)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
- ... 56 more
- 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
- at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:267)
- at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:448)
- ... 62 more
- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.717 sec <<< FAILURE!
- parse_shouldParseSpecificationWithAndInIt(org.openmrs.cohort.CohortUtilTest) Time elapsed: 10.251 sec <<< ERROR!
- java.lang.IllegalStateException: Failed to load ApplicationContext
- at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
- at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:122)
- at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
- at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
- at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:307)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:288)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:284)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
- at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
- at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
- at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
- at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
- at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:597)
- at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
- at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
- at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
- at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
- at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
- 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
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:326)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
- at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:120)
- at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
- at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
- at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:248)
- at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
- at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
- ... 32 more
- 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
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:320)
- ... 50 more
- 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
- at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:463)
- at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:494)
- at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:488)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1463)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1422)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
- ... 56 more
- 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
- at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:267)
- at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:448)
- ... 62 more
- Running org.openmrs.module.reportingcompatibility.service.CohortServiceTest
- 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]
- java.lang.IllegalStateException: Failed to load ApplicationContext
- at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
- at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:122)
- at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
- at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
- at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:307)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:288)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:284)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
- at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
- at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
- at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
- at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
- at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:597)
- at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
- at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
- at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
- at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
- at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
- 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
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:326)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
- at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:120)
- at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
- at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
- at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:248)
- at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
- at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
- ... 32 more
- 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
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:320)
- ... 50 more
- 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
- at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:463)
- at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:494)
- at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:488)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1463)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1422)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
- ... 56 more
- 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
- at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:267)
- at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:448)
- ... 62 more
- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.383 sec <<< FAILURE!
- evaluate_shouldReturnAllPatientsWithBlankPatientSearchCohortDefinitionProvider(org.openmrs.module.reportingcompatibility.service.CohortServiceTest) Time elapsed: 3.383 sec <<< ERROR!
- java.lang.IllegalStateException: Failed to load ApplicationContext
- at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
- at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:122)
- at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
- at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
- at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:307)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:288)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:284)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
- at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
- at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
- at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
- at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
- at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:597)
- at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
- at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
- at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
- at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
- at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
- 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
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:326)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
- at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:120)
- at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
- at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
- at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:248)
- at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
- at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
- ... 32 more
- 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
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:320)
- ... 50 more
- 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
- at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:463)
- at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:494)
- at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:488)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1463)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1422)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
- ... 56 more
- 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
- at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:267)
- at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:448)
- ... 62 more
- Running org.openmrs.report.EvaluationContextTest
- Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
- Running org.openmrs.report.PatientSearchParameterTest
- 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]
- java.lang.IllegalStateException: Failed to load ApplicationContext
- at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
- at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:122)
- at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
- at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
- at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:307)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:288)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:284)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
- at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
- at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
- at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
- at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
- at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:597)
- at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
- at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
- at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
- at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
- at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
- 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
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:326)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
- at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:120)
- at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
- at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
- at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:248)
- at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
- at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
- ... 32 more
- 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
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:320)
- ... 50 more
- 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
- at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:463)
- at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:494)
- at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:488)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1463)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1422)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
- ... 56 more
- 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
- at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:267)
- at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:448)
- ... 62 more
- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.506 sec <<< FAILURE!
- shouldPatientSearchParameter(org.openmrs.report.PatientSearchParameterTest) Time elapsed: 3.506 sec <<< ERROR!
- java.lang.IllegalStateException: Failed to load ApplicationContext
- at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
- at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:122)
- at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
- at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
- at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:307)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:288)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:284)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
- at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
- at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
- at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
- at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
- at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:597)
- at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
- at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
- at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
- at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
- at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
- 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
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:326)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
- at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:120)
- at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
- at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
- at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:248)
- at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
- at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
- ... 32 more
- 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
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:320)
- ... 50 more
- 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
- at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:463)
- at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:494)
- at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:488)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1463)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1422)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
- ... 56 more
- 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
- at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:267)
- at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:448)
- ... 62 more
- Results :
- Tests in error:
- parse_shouldParseSpecificationWithAndInIt(org.openmrs.cohort.CohortUtilTest): Failed to load ApplicationContext
- evaluate_shouldReturnAllPatientsWithBlankPatientSearchCohortDefinitionProvider(org.openmrs.module.reportingcompatibility.service.CohortServiceTest): Failed to load ApplicationContext
- shouldPatientSearchParameter(org.openmrs.report.PatientSearchParameterTest): Failed to load ApplicationContext
- shouldParameters(org.openmrs.report.PatientSearchTest): Failed to load ApplicationContext
- shouldFromXml(org.openmrs.report.PepfarReportFromXmlTest): Failed to load ApplicationContext
- shouldBooleansInPatientSearch(org.openmrs.report.PepfarReportFromXmlTest): Failed to load ApplicationContext
- shouldConceptClassShortSerialization(org.openmrs.report.PepfarReportSerializationTest): Failed to load ApplicationContext
- shouldCohortSerialization(org.openmrs.report.PepfarReportSerializationTest): Failed to load ApplicationContext
- shouldConceptClassDeserialization(org.openmrs.report.PepfarReportSerializationTest): Failed to load ApplicationContext
- shouldPepfarStaticCohortSerialization(org.openmrs.report.PepfarReportSerializationTest): Failed to load ApplicationContext
- shouldPepfarReport(org.openmrs.report.PepfarReportTest): Failed to load ApplicationContext
- shouldSaveGetDeleteReportSchema(org.openmrs.report.ReportSchemaXmlTest): Failed to load ApplicationContext
- shouldUpdateReportSchemaXml(org.openmrs.report.ReportSchemaXmlTest): Failed to load ApplicationContext
- shouldSerialize(org.openmrs.report.RowPerObsDatasetTest): Failed to load ApplicationContext
- shouldSerialization(org.openmrs.report.RowPerProgramEnrollmentDatasetTest): Failed to load ApplicationContext
- shouldCachingPatientFilter(org.openmrs.reporting.CachingPatientFilterTest): Failed to load ApplicationContext
- shouldFirstObs(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
- shouldCalcuateAge(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
- shouldFirstNObs(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
- shouldDataExportKeyAddition(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
- shouldDataExportKeyGetting(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
- shouldExportCohortColumns(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
- shouldGetNames(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
- shouldDataExportKeyRemoval(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
- shouldNotFailOnFirstObsIfPatientDoesntHaveAnObs(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
- shouldFirstNObsWithZeroObsReturned(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
- shouldLastNObs(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
- shouldGetContructColumns(org.openmrs.reporting.export.DataExportTest): Failed to load ApplicationContext
- shouldExportBlankCellsForPatientsWithoutMatchingData(org.openmrs.reporting.export.RowPerObsDataExportTest): Failed to load ApplicationContext
- shouldExportMoreThanRowPerPatient(org.openmrs.reporting.export.RowPerObsDataExportTest): Failed to load ApplicationContext
- filter_shouldNotFailWithCompoundPatientFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
- filter_shouldNotFailWithEncounterPatientFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
- filter_shouldNotFailWithDrugOrderStopFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
- filter_shouldNotFailWithLocationPatientFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
- filter_shouldNotFailWithPatientCharacteristicFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
- filter_shouldNotFailWithObsPatientFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
- filter_shouldNotFailWithProgramStatePatientFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
- filter_shouldNotFailWithProgramPatientFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
- filter_shouldNotFailWithDrugOrderPatientFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
- filter_shouldNotFailWithPersonAttributeFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
- filter_shouldNotFailWithDrugOrderFilter(org.openmrs.reporting.InversePatientFilterTest): Failed to load ApplicationContext
- shouldDrugOrderFilter(org.openmrs.reporting.PatientFilterTest): Failed to load ApplicationContext
- saveSearchHistory_shouldSaveHistorySuccessfully(org.openmrs.reporting.ReportObjectServiceTest): Failed to load ApplicationContext
- Tests run: 45, Failures: 0, Errors: 43, Skipped: 0
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary:
- [INFO]
- [INFO] Reporting Compatibility ............................ SUCCESS [ 0.375 s]
- [INFO] Reporting Compatibility API ........................ FAILURE [01:41 min]
- [INFO] Reporting Compatibility OMOD ....................... SKIPPED
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 01:42 min
- [INFO] Finished at: 2016-03-23T11:35:35+03:00
- [INFO] Final Memory: 21M/81M
- [INFO] ------------------------------------------------------------------------
- [WARNING] The requested profile "OpenMRS" could not be activated because it does not exist.
- [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.
- [ERROR]
- [ERROR] Please refer to /Users/willa/Projects/openmrs/modules/openmrs-module-reportingcompatibility/api/target/surefire-reports for the individual test results.
- [ERROR] -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
- [ERROR]
- [ERROR] After correcting the problems, you can resume the build with the command
- [ERROR] mvn -rf :reportingcompatibility-api
- Process finished with exit cod
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement