Runs unit test and deploys artifacts to maven repo. More details of the release in https://wiki.openmrs.org/x/i4DTAw
Build: #2522 failed
Job: Default Job failed
Blank: Test case result
The below summarizes the result of the test "Blank" in build 2,522 of Core Apps Module - Core Apps Module Latest - Default Job.
- Description
- Blank
- Test class
- org.openmrs.module.coreapps.htmlformentry.CodedOrFreeTextObsTagHandlerComponentTest
- Method
- testBlank
- Duration
- < 1 sec
- Status
- Failed (New Failure)
Error Log
java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:94) at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:72) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:200) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:252) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:254) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83) 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:68) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163) 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:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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.UnsatisfiedDependencyException: Error creating bean with name 'encounterTransactionMapper' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/org/openmrs/module/emrapi/encounter/EncounterTransactionMapper.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.openmrs.module.emrapi.encounter.EncounterObservationsMapper]: : Error creating bean with name 'encounterObservationsMapper' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'observationMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'observationMapper' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'drugMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'drugMapper' is defined; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterObservationsMapper' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'observationMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'observationMapper' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'drugMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'drugMapper' is defined Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrEncounterService' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'emrEncounterServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrEncounterServiceTarget' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'encounterObservationServiceHelper' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterObservationServiceHelper' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'obsMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'obsMapper' is defined Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrVisitService' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.visit.EmrVisitServiceImpl#20c3453e' of type [org.openmrs.module.emrapi.visit.EmrVisitServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.emrapi.visit.EmrVisitServiceImpl#20c3453e' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'visitResponseMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitResponseMapper' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'encounterTransactionMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'encounterTransactionMapper': Requested bean is currently in creation: Is there an unresolvable circular reference? Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportingSerializedDefinitionService' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/module/reporting-api/0.9.9-SNAPSHOT/reporting-api-0.9.9-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.reporting.definition.service.SerializedDefinitionServiceImpl#5c2e3936' of type [org.openmrs.module.reporting.definition.service.SerializedDefinitionServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.reporting.definition.service.SerializedDefinitionServiceImpl#5c2e3936' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/module/reporting-api/0.9.9-SNAPSHOT/reporting-api-0.9.9-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'reportingSerializer' while setting bean property 'serializer'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportingSerializer': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.serialization.xstream.converter.HibernateCollectionConverter org.openmrs.module.serialization.xstream.XStreamSerializer.collectionConverter; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'collectionConverter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.serialization.xstream.converter.CollectionCompatibility org.openmrs.module.serialization.xstream.converter.HibernateCollectionConverter.collection; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.openmrs.module.serialization.xstream.converter.CollectionCompatibility] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'encounterTransactionMapper' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/org/openmrs/module/emrapi/encounter/EncounterTransactionMapper.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.openmrs.module.emrapi.encounter.EncounterObservationsMapper]: : Error creating bean with name 'encounterObservationsMapper' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'observationMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'observationMapper' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'drugMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'drugMapper' is defined; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterObservationsMapper' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'observationMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'observationMapper' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'drugMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'drugMapper' is defined at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1131) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1034) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:125) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:109) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:261) at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:68) at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:86) ... 32 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterObservationsMapper' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'observationMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'observationMapper' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'drugMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'drugMapper' is defined at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1131) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1034) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1127) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1051) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) ... 50 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'observationMapper' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'drugMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'drugMapper' is defined at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1131) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1034) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) ... 66 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'drugMapper' is defined at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:694) at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1168) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:281) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) ... 78 more