Release plan for billing

Build: #27 failed

Job: Build and Test JDK 8 failed

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Build log

The build generated 8,407 lines of output.   The output is too long and has been truncated to the last 1,000 lines. Download or view full build log.

06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
06-Aug-2025 11:53:07         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
06-Aug-2025 11:53:07         at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
06-Aug-2025 11:53:07         at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
06-Aug-2025 11:53:07         at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43)
06-Aug-2025 11:53:07         at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
06-Aug-2025 11:53:07         at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
06-Aug-2025 11:53:07         at java.util.Iterator.forEachRemaining(Iterator.java:116)
06-Aug-2025 11:53:07         at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
06-Aug-2025 11:53:07         at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
06-Aug-2025 11:53:07         at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
06-Aug-2025 11:53:07         at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
06-Aug-2025 11:53:07         at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
06-Aug-2025 11:53:07         at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
06-Aug-2025 11:53:07         at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
06-Aug-2025 11:53:07         at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82)
06-Aug-2025 11:53:07         at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:55)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:223)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:175)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:139)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)
06-Aug-2025 11:53:07 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionInterceptor' while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/module/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patientService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'patientServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patientServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'patientDAO' while setting bean property 'patientDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patientDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'personServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'personDAO' while setting bean property 'personDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conceptService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'conceptServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conceptServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'conceptDAO' while setting bean property 'conceptDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conceptDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'userServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'userDAO' while setting bean property 'userDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'obsService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'obsServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'obsServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'obsDAO' while setting bean property 'obsDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'obsDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'encounterServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'encounterDAO' while setting bean property 'encounterDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locationService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'locationServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locationServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'locationDAO' while setting bean property 'locationDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locationDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'orderServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'orderDAO' while setting bean property 'orderDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conditionService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'conditionServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conditionServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'conditionDAO' while setting bean property 'conditionDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conditionDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'diagnosisService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'diagnosisServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'diagnosisServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'diagnosisDAO' while setting bean property 'diagnosisDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'diagnosisDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderSetService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'orderSetServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderSetServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'orderSetDAO' while setting bean property 'orderSetDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderSetDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'formService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'formServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'formServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'formDAO' while setting bean property 'formDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'formDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'adminServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'adminDAO' while setting bean property 'administrationDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datatypeService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'datatypeServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datatypeServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'datatypeDAO' while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datatypeDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'programWorkflowService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'programWorkflowServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'programWorkflowServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'programWorkflowDAO' while setting bean property 'programWorkflowDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'programWorkflowDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'messageServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'templateDAO' while setting bean property 'templateDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'templateDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cohortService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'cohortServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cohortServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'cohortDAO' while setting bean property 'cohortDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cohortDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'schedulerServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'schedulerDAO' while setting bean property 'schedulerDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alertService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'alertServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alertServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'alertDAO' while setting bean property 'alertDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alertDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hL7Service' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'hL7ServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hL7ServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'hL7DAO' while setting bean property 'HL7DAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hL7DAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'visitServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'visitDAO' while setting bean property 'visitDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'providerService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'providerServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'providerServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'providerDAO' while setting bean property 'providerDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'providerDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'itemPriceService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.ItemPriceServiceImpl#3214adc2' of type [org.openmrs.module.billing.api.impl.ItemPriceServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.ItemPriceServiceImpl#3214adc2' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'billLineItemService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.BillLineItemServiceImpl#5ca6b69' of type [org.openmrs.module.billing.api.impl.BillLineItemServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.BillLineItemServiceImpl#5ca6b69' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierBillService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.BillServiceImpl#7afa2567' of type [org.openmrs.module.billing.api.impl.BillServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.BillServiceImpl#7afa2567' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierPaymentModeService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.PaymentModeServiceImpl#3f8284d7' of type [org.openmrs.module.billing.api.impl.PaymentModeServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.PaymentModeServiceImpl#3f8284d7' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierPaymentModeAttributeTypeService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.PaymentModeAttributeTypeServiceImpl#286f4458' of type [org.openmrs.module.billing.api.impl.PaymentModeAttributeTypeServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.PaymentModeAttributeTypeServiceImpl#286f4458' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierCashPointService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.CashPointServiceImpl#7ea8e31f' of type [org.openmrs.module.billing.api.impl.CashPointServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.CashPointServiceImpl#7ea8e31f' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierTimesheetService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.TimesheetServiceImpl#555230b0' of type [org.openmrs.module.billing.api.impl.TimesheetServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.TimesheetServiceImpl#555230b0' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'seqReceiptNumberGeneratorService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.SequentialReceiptNumberGeneratorServiceImpl#7eddb2f1' of type [org.openmrs.module.billing.api.impl.SequentialReceiptNumberGeneratorServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.SequentialReceiptNumberGeneratorServiceImpl#7eddb2f1' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'billableItemsService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.BillableItemsServiceImpl#154bca7a' of type [org.openmrs.module.billing.api.impl.BillableItemsServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.BillableItemsServiceImpl#154bca7a' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierItemPriceService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.ICashierItemPriceServiceImpl#51d8bfd3' of type [org.openmrs.module.billing.api.impl.ICashierItemPriceServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.ICashierItemPriceServiceImpl#51d8bfd3' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stockmanagement.StockManagementService' defined in URL [jar:file:/root/.m2/repository/org/openmrs/module/stockmanagement-api/1.4.0/stockmanagement-api-1.4.0.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.stockmanagement.api.impl.StockManagementServiceImpl#56780ffc' of type [org.openmrs.module.stockmanagement.api.impl.StockManagementServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.stockmanagement.api.impl.StockManagementServiceImpl#56780ffc' defined in URL [jar:file:/root/.m2/repository/org/openmrs/module/stockmanagement-api/1.4.0/stockmanagement-api-1.4.0.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.stockmanagement.api.dao.StockManagementDao#6a881fd2' of type [org.openmrs.module.stockmanagement.api.dao.StockManagementDao] while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.stockmanagement.api.dao.StockManagementDao#6a881fd2' defined in URL [jar:file:/root/.m2/repository/org/openmrs/module/stockmanagement-api/1.4.0/stockmanagement-api-1.4.0.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1697)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1442)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:897)
06-Aug-2025 11:53:07         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879)
06-Aug-2025 11:53:07         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:275)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:243)
06-Aug-2025 11:53:07         at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99)
06-Aug-2025 11:53:07         at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
06-Aug-2025 11:53:07         ... 51 more
06-Aug-2025 11:53:07 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/module/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1697)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1442)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)
06-Aug-2025 11:53:07         ... 69 more
06-Aug-2025 11:53:07 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/module/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1697)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1442)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)
06-Aug-2025 11:53:07         ... 79 more
06-Aug-2025 11:53:07 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/module/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1794)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)
06-Aug-2025 11:53:07         ... 89 more
06-Aug-2025 11:53:07 Caused by: org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
06-Aug-2025 11:53:07         at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
06-Aug-2025 11:53:07         at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113)
06-Aug-2025 11:53:07         at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:99)
06-Aug-2025 11:53:07         at org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl.getIsolatedConnection(DdlTransactionIsolatorNonJtaImpl.java:69)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.jdbcStatement(GenerationTargetToDatabase.java:77)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:53)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.applySqlString(SchemaDropperImpl.java:375)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.applySqlStrings(SchemaDropperImpl.java:359)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.dropFromMetadata(SchemaDropperImpl.java:241)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.performDrop(SchemaDropperImpl.java:154)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:126)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:112)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:145)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:73)
06-Aug-2025 11:53:07         at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:316)
06-Aug-2025 11:53:07         at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:469)
06-Aug-2025 11:53:07         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:708)
06-Aug-2025 11:53:07         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724)
06-Aug-2025 11:53:07         at org.springframework.orm.hibernate5.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:616)
06-Aug-2025 11:53:07         at org.springframework.orm.hibernate5.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:600)
06-Aug-2025 11:53:07         at org.openmrs.api.db.hibernate.HibernateSessionFactoryBean.afterPropertiesSet(HibernateSessionFactoryBean.java:190)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1853)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1790)
06-Aug-2025 11:53:07         ... 96 more
06-Aug-2025 11:53:07 Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
06-Aug-2025 11:53:07         at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:118)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:692)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:140)
06-Aug-2025 11:53:07         at org.hibernate.c3p0.internal.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:72)
06-Aug-2025 11:53:07         at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:180)
06-Aug-2025 11:53:07         at org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl.getIsolatedConnection(DdlTransactionIsolatorNonJtaImpl.java:43)
06-Aug-2025 11:53:07         ... 115 more
06-Aug-2025 11:53:07 Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1507)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:644)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:554)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutAndMarkConnectionInUse(C3P0PooledConnectionPool.java:758)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:685)
06-Aug-2025 11:53:07         ... 119 more
06-Aug-2025 11:53:07 Caused by: org.h2.jdbc.JdbcSQLNonTransientConnectionException: Unsupported connection setting "MVCC" [90113-200]
06-Aug-2025 11:53:07         at org.h2.message.DbException.getJdbcSQLException(DbException.java:622)
06-Aug-2025 11:53:07         at org.h2.message.DbException.getJdbcSQLException(DbException.java:429)
06-Aug-2025 11:53:07         at org.h2.message.DbException.get(DbException.java:205)
06-Aug-2025 11:53:07         at org.h2.message.DbException.get(DbException.java:181)
06-Aug-2025 11:53:07         at org.h2.engine.ConnectionInfo.readSettingsFromURL(ConnectionInfo.java:269)
06-Aug-2025 11:53:07         at org.h2.engine.ConnectionInfo.<init>(ConnectionInfo.java:78)
06-Aug-2025 11:53:07         at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:152)
06-Aug-2025 11:53:07         at org.h2.Driver.connect(Driver.java:69)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1176)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1163)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1908)
06-Aug-2025 11:53:07         at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)
06-Aug-2025 11:53:07
06-Aug-2025 11:53:07 [ERROR] org.openmrs.module.billing.ISequentialReceiptNumberGeneratorServiceTest.getByUuid_shouldFindTheObjectWithTheSpecifiedUuid  Time elapsed: 0 s  <<< ERROR!
06-Aug-2025 11:53:07 java.lang.IllegalStateException: Failed to load ApplicationContext
06-Aug-2025 11:53:07         at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:123)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:118)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
06-Aug-2025 11:53:07         at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:244)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289)
06-Aug-2025 11:53:07         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
06-Aug-2025 11:53:07         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
06-Aug-2025 11:53:07         at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
06-Aug-2025 11:53:07         at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
06-Aug-2025 11:53:07         at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43)
06-Aug-2025 11:53:07         at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
06-Aug-2025 11:53:07         at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
06-Aug-2025 11:53:07         at java.util.Iterator.forEachRemaining(Iterator.java:116)
06-Aug-2025 11:53:07         at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
06-Aug-2025 11:53:07         at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
06-Aug-2025 11:53:07         at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
06-Aug-2025 11:53:07         at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
06-Aug-2025 11:53:07         at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
06-Aug-2025 11:53:07         at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
06-Aug-2025 11:53:07         at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
06-Aug-2025 11:53:07         at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82)
06-Aug-2025 11:53:07         at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:55)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:223)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:175)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:139)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)
06-Aug-2025 11:53:07 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionInterceptor' while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/module/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patientService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'patientServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patientServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'patientDAO' while setting bean property 'patientDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patientDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'personServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'personDAO' while setting bean property 'personDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conceptService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'conceptServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conceptServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'conceptDAO' while setting bean property 'conceptDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conceptDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'userServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'userDAO' while setting bean property 'userDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'obsService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'obsServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'obsServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'obsDAO' while setting bean property 'obsDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'obsDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'encounterServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'encounterDAO' while setting bean property 'encounterDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locationService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'locationServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locationServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'locationDAO' while setting bean property 'locationDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locationDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'orderServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'orderDAO' while setting bean property 'orderDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conditionService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'conditionServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conditionServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'conditionDAO' while setting bean property 'conditionDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conditionDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'diagnosisService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'diagnosisServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'diagnosisServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'diagnosisDAO' while setting bean property 'diagnosisDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'diagnosisDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderSetService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'orderSetServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderSetServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'orderSetDAO' while setting bean property 'orderSetDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderSetDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'formService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'formServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'formServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'formDAO' while setting bean property 'formDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'formDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'adminServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'adminDAO' while setting bean property 'administrationDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datatypeService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'datatypeServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datatypeServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'datatypeDAO' while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datatypeDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'programWorkflowService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'programWorkflowServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'programWorkflowServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'programWorkflowDAO' while setting bean property 'programWorkflowDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'programWorkflowDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'messageServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'templateDAO' while setting bean property 'templateDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'templateDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cohortService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'cohortServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cohortServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'cohortDAO' while setting bean property 'cohortDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cohortDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'schedulerServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'schedulerDAO' while setting bean property 'schedulerDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alertService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'alertServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alertServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'alertDAO' while setting bean property 'alertDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alertDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hL7Service' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'hL7ServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hL7ServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'hL7DAO' while setting bean property 'HL7DAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hL7DAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'visitServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'visitDAO' while setting bean property 'visitDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'providerService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'providerServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'providerServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'providerDAO' while setting bean property 'providerDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'providerDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'itemPriceService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.ItemPriceServiceImpl#5236ab53' of type [org.openmrs.module.billing.api.impl.ItemPriceServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.ItemPriceServiceImpl#5236ab53' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'billLineItemService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.BillLineItemServiceImpl#11962d03' of type [org.openmrs.module.billing.api.impl.BillLineItemServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.BillLineItemServiceImpl#11962d03' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierBillService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.BillServiceImpl#583a60ec' of type [org.openmrs.module.billing.api.impl.BillServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.BillServiceImpl#583a60ec' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierPaymentModeService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.PaymentModeServiceImpl#74cf715' of type [org.openmrs.module.billing.api.impl.PaymentModeServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.PaymentModeServiceImpl#74cf715' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierPaymentModeAttributeTypeService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.PaymentModeAttributeTypeServiceImpl#6047a89c' of type [org.openmrs.module.billing.api.impl.PaymentModeAttributeTypeServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.PaymentModeAttributeTypeServiceImpl#6047a89c' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierCashPointService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.CashPointServiceImpl#40196fa2' of type [org.openmrs.module.billing.api.impl.CashPointServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.CashPointServiceImpl#40196fa2' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierTimesheetService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.TimesheetServiceImpl#4b2f4a4d' of type [org.openmrs.module.billing.api.impl.TimesheetServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.TimesheetServiceImpl#4b2f4a4d' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'seqReceiptNumberGeneratorService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.SequentialReceiptNumberGeneratorServiceImpl#2bbbf862' of type [org.openmrs.module.billing.api.impl.SequentialReceiptNumberGeneratorServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.SequentialReceiptNumberGeneratorServiceImpl#2bbbf862' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'billableItemsService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.BillableItemsServiceImpl#7d8aa3c0' of type [org.openmrs.module.billing.api.impl.BillableItemsServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.BillableItemsServiceImpl#7d8aa3c0' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierItemPriceService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.ICashierItemPriceServiceImpl#4c46e31e' of type [org.openmrs.module.billing.api.impl.ICashierItemPriceServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.ICashierItemPriceServiceImpl#4c46e31e' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stockmanagement.StockManagementService' defined in URL [jar:file:/root/.m2/repository/org/openmrs/module/stockmanagement-api/1.4.0/stockmanagement-api-1.4.0.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.stockmanagement.api.impl.StockManagementServiceImpl#6096f07a' of type [org.openmrs.module.stockmanagement.api.impl.StockManagementServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.stockmanagement.api.impl.StockManagementServiceImpl#6096f07a' defined in URL [jar:file:/root/.m2/repository/org/openmrs/module/stockmanagement-api/1.4.0/stockmanagement-api-1.4.0.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.stockmanagement.api.dao.StockManagementDao#3627a6ea' of type [org.openmrs.module.stockmanagement.api.dao.StockManagementDao] while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.stockmanagement.api.dao.StockManagementDao#3627a6ea' defined in URL [jar:file:/root/.m2/repository/org/openmrs/module/stockmanagement-api/1.4.0/stockmanagement-api-1.4.0.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1697)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1442)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:897)
06-Aug-2025 11:53:07         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879)
06-Aug-2025 11:53:07         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:275)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:243)
06-Aug-2025 11:53:07         at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99)
06-Aug-2025 11:53:07         at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
06-Aug-2025 11:53:07         ... 51 more
06-Aug-2025 11:53:07 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/module/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1697)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1442)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)
06-Aug-2025 11:53:07         ... 69 more
06-Aug-2025 11:53:07 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/module/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1697)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1442)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)
06-Aug-2025 11:53:07         ... 79 more
06-Aug-2025 11:53:07 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/module/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1794)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)
06-Aug-2025 11:53:07         ... 89 more
06-Aug-2025 11:53:07 Caused by: org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
06-Aug-2025 11:53:07         at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
06-Aug-2025 11:53:07         at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113)
06-Aug-2025 11:53:07         at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:99)
06-Aug-2025 11:53:07         at org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl.getIsolatedConnection(DdlTransactionIsolatorNonJtaImpl.java:69)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.jdbcStatement(GenerationTargetToDatabase.java:77)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:53)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.applySqlString(SchemaDropperImpl.java:375)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.applySqlStrings(SchemaDropperImpl.java:359)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.dropFromMetadata(SchemaDropperImpl.java:241)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.performDrop(SchemaDropperImpl.java:154)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:126)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:112)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:145)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:73)
06-Aug-2025 11:53:07         at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:316)
06-Aug-2025 11:53:07         at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:469)
06-Aug-2025 11:53:07         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:708)
06-Aug-2025 11:53:07         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724)
06-Aug-2025 11:53:07         at org.springframework.orm.hibernate5.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:616)
06-Aug-2025 11:53:07         at org.springframework.orm.hibernate5.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:600)
06-Aug-2025 11:53:07         at org.openmrs.api.db.hibernate.HibernateSessionFactoryBean.afterPropertiesSet(HibernateSessionFactoryBean.java:190)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1853)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1790)
06-Aug-2025 11:53:07         ... 96 more
06-Aug-2025 11:53:07 Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
06-Aug-2025 11:53:07         at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:118)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:692)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:140)
06-Aug-2025 11:53:07         at org.hibernate.c3p0.internal.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:72)
06-Aug-2025 11:53:07         at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:180)
06-Aug-2025 11:53:07         at org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl.getIsolatedConnection(DdlTransactionIsolatorNonJtaImpl.java:43)
06-Aug-2025 11:53:07         ... 115 more
06-Aug-2025 11:53:07 Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1507)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:644)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:554)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutAndMarkConnectionInUse(C3P0PooledConnectionPool.java:758)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:685)
06-Aug-2025 11:53:07         ... 119 more
06-Aug-2025 11:53:07 Caused by: org.h2.jdbc.JdbcSQLNonTransientConnectionException: Unsupported connection setting "MVCC" [90113-200]
06-Aug-2025 11:53:07         at org.h2.message.DbException.getJdbcSQLException(DbException.java:622)
06-Aug-2025 11:53:07         at org.h2.message.DbException.getJdbcSQLException(DbException.java:429)
06-Aug-2025 11:53:07         at org.h2.message.DbException.get(DbException.java:205)
06-Aug-2025 11:53:07         at org.h2.message.DbException.get(DbException.java:181)
06-Aug-2025 11:53:07         at org.h2.engine.ConnectionInfo.readSettingsFromURL(ConnectionInfo.java:269)
06-Aug-2025 11:53:07         at org.h2.engine.ConnectionInfo.<init>(ConnectionInfo.java:78)
06-Aug-2025 11:53:07         at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:152)
06-Aug-2025 11:53:07         at org.h2.Driver.connect(Driver.java:69)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1176)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1163)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1908)
06-Aug-2025 11:53:07         at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)
06-Aug-2025 11:53:07
06-Aug-2025 11:53:07 [ERROR] org.openmrs.module.billing.ISequentialReceiptNumberGeneratorServiceTest.save_shouldUpdateTheObjectSuccessfully  Time elapsed: 0.002 s  <<< ERROR!
06-Aug-2025 11:53:07 java.lang.IllegalStateException: Failed to load ApplicationContext
06-Aug-2025 11:53:07         at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:123)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:118)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
06-Aug-2025 11:53:07         at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:244)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289)
06-Aug-2025 11:53:07         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
06-Aug-2025 11:53:07         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
06-Aug-2025 11:53:07         at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
06-Aug-2025 11:53:07         at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
06-Aug-2025 11:53:07         at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43)
06-Aug-2025 11:53:07         at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
06-Aug-2025 11:53:07         at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
06-Aug-2025 11:53:07         at java.util.Iterator.forEachRemaining(Iterator.java:116)
06-Aug-2025 11:53:07         at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
06-Aug-2025 11:53:07         at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
06-Aug-2025 11:53:07         at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
06-Aug-2025 11:53:07         at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
06-Aug-2025 11:53:07         at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
06-Aug-2025 11:53:07         at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
06-Aug-2025 11:53:07         at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
06-Aug-2025 11:53:07         at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82)
06-Aug-2025 11:53:07         at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:55)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:223)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:175)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:139)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)
06-Aug-2025 11:53:07 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionInterceptor' while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/module/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patientService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'patientServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patientServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'patientDAO' while setting bean property 'patientDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patientDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'personServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'personDAO' while setting bean property 'personDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conceptService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'conceptServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conceptServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'conceptDAO' while setting bean property 'conceptDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conceptDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'userServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'userDAO' while setting bean property 'userDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'obsService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'obsServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'obsServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'obsDAO' while setting bean property 'obsDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'obsDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'encounterServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'encounterDAO' while setting bean property 'encounterDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locationService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'locationServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locationServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'locationDAO' while setting bean property 'locationDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locationDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'orderServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'orderDAO' while setting bean property 'orderDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conditionService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'conditionServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conditionServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'conditionDAO' while setting bean property 'conditionDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conditionDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'diagnosisService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'diagnosisServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'diagnosisServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'diagnosisDAO' while setting bean property 'diagnosisDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'diagnosisDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderSetService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'orderSetServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderSetServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'orderSetDAO' while setting bean property 'orderSetDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderSetDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'formService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'formServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'formServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'formDAO' while setting bean property 'formDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'formDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'adminServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'adminDAO' while setting bean property 'administrationDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datatypeService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'datatypeServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datatypeServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'datatypeDAO' while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datatypeDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'programWorkflowService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'programWorkflowServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'programWorkflowServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'programWorkflowDAO' while setting bean property 'programWorkflowDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'programWorkflowDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'messageServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'templateDAO' while setting bean property 'templateDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'templateDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cohortService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'cohortServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cohortServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'cohortDAO' while setting bean property 'cohortDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cohortDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'schedulerServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'schedulerDAO' while setting bean property 'schedulerDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alertService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'alertServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alertServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'alertDAO' while setting bean property 'alertDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alertDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hL7Service' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'hL7ServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hL7ServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'hL7DAO' while setting bean property 'HL7DAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hL7DAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'visitServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'visitDAO' while setting bean property 'visitDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'providerService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'providerServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'providerServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'providerDAO' while setting bean property 'providerDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'providerDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'itemPriceService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.ItemPriceServiceImpl#143b09fc' of type [org.openmrs.module.billing.api.impl.ItemPriceServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.ItemPriceServiceImpl#143b09fc' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'billLineItemService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.BillLineItemServiceImpl#1afee116' of type [org.openmrs.module.billing.api.impl.BillLineItemServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.BillLineItemServiceImpl#1afee116' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierBillService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.BillServiceImpl#5a7b4c88' of type [org.openmrs.module.billing.api.impl.BillServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.BillServiceImpl#5a7b4c88' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierPaymentModeService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.PaymentModeServiceImpl#3b2378a0' of type [org.openmrs.module.billing.api.impl.PaymentModeServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.PaymentModeServiceImpl#3b2378a0' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierPaymentModeAttributeTypeService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.PaymentModeAttributeTypeServiceImpl#771bf2d1' of type [org.openmrs.module.billing.api.impl.PaymentModeAttributeTypeServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.PaymentModeAttributeTypeServiceImpl#771bf2d1' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierCashPointService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.CashPointServiceImpl#1a804b75' of type [org.openmrs.module.billing.api.impl.CashPointServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.CashPointServiceImpl#1a804b75' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierTimesheetService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.TimesheetServiceImpl#1a1f4ba1' of type [org.openmrs.module.billing.api.impl.TimesheetServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.TimesheetServiceImpl#1a1f4ba1' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'seqReceiptNumberGeneratorService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.SequentialReceiptNumberGeneratorServiceImpl#3a59d63a' of type [org.openmrs.module.billing.api.impl.SequentialReceiptNumberGeneratorServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.SequentialReceiptNumberGeneratorServiceImpl#3a59d63a' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'billableItemsService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.BillableItemsServiceImpl#abf1c13' of type [org.openmrs.module.billing.api.impl.BillableItemsServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.BillableItemsServiceImpl#abf1c13' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierItemPriceService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.ICashierItemPriceServiceImpl#6a1d1ca6' of type [org.openmrs.module.billing.api.impl.ICashierItemPriceServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.ICashierItemPriceServiceImpl#6a1d1ca6' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stockmanagement.StockManagementService' defined in URL [jar:file:/root/.m2/repository/org/openmrs/module/stockmanagement-api/1.4.0/stockmanagement-api-1.4.0.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.stockmanagement.api.impl.StockManagementServiceImpl#3489f413' of type [org.openmrs.module.stockmanagement.api.impl.StockManagementServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.stockmanagement.api.impl.StockManagementServiceImpl#3489f413' defined in URL [jar:file:/root/.m2/repository/org/openmrs/module/stockmanagement-api/1.4.0/stockmanagement-api-1.4.0.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.stockmanagement.api.dao.StockManagementDao#5ad708f2' of type [org.openmrs.module.stockmanagement.api.dao.StockManagementDao] while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.stockmanagement.api.dao.StockManagementDao#5ad708f2' defined in URL [jar:file:/root/.m2/repository/org/openmrs/module/stockmanagement-api/1.4.0/stockmanagement-api-1.4.0.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1697)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1442)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:897)
06-Aug-2025 11:53:07         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879)
06-Aug-2025 11:53:07         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:275)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:243)
06-Aug-2025 11:53:07         at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99)
06-Aug-2025 11:53:07         at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
06-Aug-2025 11:53:07         ... 51 more
06-Aug-2025 11:53:07 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/module/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1697)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1442)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)
06-Aug-2025 11:53:07         ... 69 more
06-Aug-2025 11:53:07 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/module/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1697)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1442)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)
06-Aug-2025 11:53:07         ... 79 more
06-Aug-2025 11:53:07 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/module/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1794)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)
06-Aug-2025 11:53:07         ... 89 more
06-Aug-2025 11:53:07 Caused by: org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
06-Aug-2025 11:53:07         at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
06-Aug-2025 11:53:07         at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113)
06-Aug-2025 11:53:07         at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:99)
06-Aug-2025 11:53:07         at org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl.getIsolatedConnection(DdlTransactionIsolatorNonJtaImpl.java:69)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.jdbcStatement(GenerationTargetToDatabase.java:77)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:53)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.applySqlString(SchemaDropperImpl.java:375)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.applySqlStrings(SchemaDropperImpl.java:359)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.dropFromMetadata(SchemaDropperImpl.java:241)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.performDrop(SchemaDropperImpl.java:154)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:126)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:112)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:145)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:73)
06-Aug-2025 11:53:07         at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:316)
06-Aug-2025 11:53:07         at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:469)
06-Aug-2025 11:53:07         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:708)
06-Aug-2025 11:53:07         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724)
06-Aug-2025 11:53:07         at org.springframework.orm.hibernate5.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:616)
06-Aug-2025 11:53:07         at org.springframework.orm.hibernate5.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:600)
06-Aug-2025 11:53:07         at org.openmrs.api.db.hibernate.HibernateSessionFactoryBean.afterPropertiesSet(HibernateSessionFactoryBean.java:190)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1853)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1790)
06-Aug-2025 11:53:07         ... 96 more
06-Aug-2025 11:53:07 Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
06-Aug-2025 11:53:07         at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:118)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:692)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:140)
06-Aug-2025 11:53:07         at org.hibernate.c3p0.internal.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:72)
06-Aug-2025 11:53:07         at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:180)
06-Aug-2025 11:53:07         at org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl.getIsolatedConnection(DdlTransactionIsolatorNonJtaImpl.java:43)
06-Aug-2025 11:53:07         ... 115 more
06-Aug-2025 11:53:07 Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1507)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:644)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:554)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutAndMarkConnectionInUse(C3P0PooledConnectionPool.java:758)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:685)
06-Aug-2025 11:53:07         ... 119 more
06-Aug-2025 11:53:07 Caused by: org.h2.jdbc.JdbcSQLNonTransientConnectionException: Unsupported connection setting "MVCC" [90113-200]
06-Aug-2025 11:53:07         at org.h2.message.DbException.getJdbcSQLException(DbException.java:622)
06-Aug-2025 11:53:07         at org.h2.message.DbException.getJdbcSQLException(DbException.java:429)
06-Aug-2025 11:53:07         at org.h2.message.DbException.get(DbException.java:205)
06-Aug-2025 11:53:07         at org.h2.message.DbException.get(DbException.java:181)
06-Aug-2025 11:53:07         at org.h2.engine.ConnectionInfo.readSettingsFromURL(ConnectionInfo.java:269)
06-Aug-2025 11:53:07         at org.h2.engine.ConnectionInfo.<init>(ConnectionInfo.java:78)
06-Aug-2025 11:53:07         at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:152)
06-Aug-2025 11:53:07         at org.h2.Driver.connect(Driver.java:69)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1176)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1163)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1908)
06-Aug-2025 11:53:07         at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)
06-Aug-2025 11:53:07
06-Aug-2025 11:53:07 [ERROR] org.openmrs.module.billing.ISequentialReceiptNumberGeneratorServiceTest.save_shouldThrowNullPointerExceptionIfTheObjectIsNull  Time elapsed: 0 s  <<< ERROR!
06-Aug-2025 11:53:07 java.lang.IllegalStateException: Failed to load ApplicationContext
06-Aug-2025 11:53:07         at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:123)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:118)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
06-Aug-2025 11:53:07         at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:244)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289)
06-Aug-2025 11:53:07         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
06-Aug-2025 11:53:07         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
06-Aug-2025 11:53:07         at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
06-Aug-2025 11:53:07         at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
06-Aug-2025 11:53:07         at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
06-Aug-2025 11:53:07         at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
06-Aug-2025 11:53:07         at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43)
06-Aug-2025 11:53:07         at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
06-Aug-2025 11:53:07         at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
06-Aug-2025 11:53:07         at java.util.Iterator.forEachRemaining(Iterator.java:116)
06-Aug-2025 11:53:07         at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
06-Aug-2025 11:53:07         at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
06-Aug-2025 11:53:07         at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
06-Aug-2025 11:53:07         at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
06-Aug-2025 11:53:07         at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
06-Aug-2025 11:53:07         at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
06-Aug-2025 11:53:07         at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
06-Aug-2025 11:53:07         at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82)
06-Aug-2025 11:53:07         at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96)
06-Aug-2025 11:53:07         at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:55)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:223)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:175)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:139)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
06-Aug-2025 11:53:07         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)
06-Aug-2025 11:53:07 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionInterceptor' while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/module/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patientService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'patientServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patientServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'patientDAO' while setting bean property 'patientDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patientDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'personServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'personDAO' while setting bean property 'personDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conceptService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'conceptServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conceptServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'conceptDAO' while setting bean property 'conceptDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conceptDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'userServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'userDAO' while setting bean property 'userDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'obsService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'obsServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'obsServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'obsDAO' while setting bean property 'obsDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'obsDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'encounterServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'encounterDAO' while setting bean property 'encounterDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locationService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'locationServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locationServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'locationDAO' while setting bean property 'locationDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locationDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'orderServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'orderDAO' while setting bean property 'orderDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conditionService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'conditionServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conditionServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'conditionDAO' while setting bean property 'conditionDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conditionDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'diagnosisService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'diagnosisServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'diagnosisServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'diagnosisDAO' while setting bean property 'diagnosisDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'diagnosisDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderSetService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'orderSetServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderSetServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'orderSetDAO' while setting bean property 'orderSetDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderSetDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'formService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'formServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'formServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'formDAO' while setting bean property 'formDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'formDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'adminServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'adminDAO' while setting bean property 'administrationDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datatypeService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'datatypeServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datatypeServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'datatypeDAO' while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datatypeDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'programWorkflowService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'programWorkflowServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'programWorkflowServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'programWorkflowDAO' while setting bean property 'programWorkflowDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'programWorkflowDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'messageServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'templateDAO' while setting bean property 'templateDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'templateDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cohortService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'cohortServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cohortServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'cohortDAO' while setting bean property 'cohortDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cohortDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'schedulerServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'schedulerDAO' while setting bean property 'schedulerDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alertService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'alertServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alertServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'alertDAO' while setting bean property 'alertDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alertDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hL7Service' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'hL7ServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hL7ServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'hL7DAO' while setting bean property 'HL7DAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hL7DAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'visitServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'visitDAO' while setting bean property 'visitDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'providerService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'providerServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'providerServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'providerDAO' while setting bean property 'providerDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'providerDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'itemPriceService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.ItemPriceServiceImpl#10bd87af' of type [org.openmrs.module.billing.api.impl.ItemPriceServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.ItemPriceServiceImpl#10bd87af' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'billLineItemService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.BillLineItemServiceImpl#24f7497c' of type [org.openmrs.module.billing.api.impl.BillLineItemServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.BillLineItemServiceImpl#24f7497c' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierBillService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.BillServiceImpl#43712ef8' of type [org.openmrs.module.billing.api.impl.BillServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.BillServiceImpl#43712ef8' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierPaymentModeService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.PaymentModeServiceImpl#69942959' of type [org.openmrs.module.billing.api.impl.PaymentModeServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.PaymentModeServiceImpl#69942959' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierPaymentModeAttributeTypeService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.PaymentModeAttributeTypeServiceImpl#15e84b3b' of type [org.openmrs.module.billing.api.impl.PaymentModeAttributeTypeServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.PaymentModeAttributeTypeServiceImpl#15e84b3b' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierCashPointService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.CashPointServiceImpl#bca5c53' of type [org.openmrs.module.billing.api.impl.CashPointServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.CashPointServiceImpl#bca5c53' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierTimesheetService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.TimesheetServiceImpl#4186a53c' of type [org.openmrs.module.billing.api.impl.TimesheetServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.TimesheetServiceImpl#4186a53c' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'seqReceiptNumberGeneratorService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.SequentialReceiptNumberGeneratorServiceImpl#91082b4' of type [org.openmrs.module.billing.api.impl.SequentialReceiptNumberGeneratorServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.SequentialReceiptNumberGeneratorServiceImpl#91082b4' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'billableItemsService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.BillableItemsServiceImpl#7074677' of type [org.openmrs.module.billing.api.impl.BillableItemsServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.BillableItemsServiceImpl#7074677' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cashierItemPriceService' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.billing.api.impl.ICashierItemPriceServiceImpl#735cacee' of type [org.openmrs.module.billing.api.impl.ICashierItemPriceServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.billing.api.impl.ICashierItemPriceServiceImpl#735cacee' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'genericRepositoryDao' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'genericRepositoryDao' defined in URL [file:/module/api/target/classes/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07 Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stockmanagement.StockManagementService' defined in URL [jar:file:/root/.m2/repository/org/openmrs/module/stockmanagement-api/1.4.0/stockmanagement-api-1.4.0.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.stockmanagement.api.impl.StockManagementServiceImpl#3c0fc643' of type [org.openmrs.module.stockmanagement.api.impl.StockManagementServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.stockmanagement.api.impl.StockManagementServiceImpl#3c0fc643' defined in URL [jar:file:/root/.m2/repository/org/openmrs/module/stockmanagement-api/1.4.0/stockmanagement-api-1.4.0.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.stockmanagement.api.dao.StockManagementDao#797fec17' of type [org.openmrs.module.stockmanagement.api.dao.StockManagementDao] while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.stockmanagement.api.dao.StockManagementDao#797fec17' defined in URL [jar:file:/root/.m2/repository/org/openmrs/module/stockmanagement-api/1.4.0/stockmanagement-api-1.4.0.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1697)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1442)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:897)
06-Aug-2025 11:53:07         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879)
06-Aug-2025 11:53:07         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:275)
06-Aug-2025 11:53:07         at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:243)
06-Aug-2025 11:53:07         at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99)
06-Aug-2025 11:53:07         at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
06-Aug-2025 11:53:07         ... 51 more
06-Aug-2025 11:53:07 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/module/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1697)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1442)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)
06-Aug-2025 11:53:07         ... 69 more
06-Aug-2025 11:53:07 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/module/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1697)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1442)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)
06-Aug-2025 11:53:07         ... 79 more
06-Aug-2025 11:53:07 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/module/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1794)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330)
06-Aug-2025 11:53:07         ... 89 more
06-Aug-2025 11:53:07 Caused by: org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
06-Aug-2025 11:53:07         at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
06-Aug-2025 11:53:07         at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113)
06-Aug-2025 11:53:07         at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:99)
06-Aug-2025 11:53:07         at org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl.getIsolatedConnection(DdlTransactionIsolatorNonJtaImpl.java:69)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.jdbcStatement(GenerationTargetToDatabase.java:77)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:53)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.applySqlString(SchemaDropperImpl.java:375)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.applySqlStrings(SchemaDropperImpl.java:359)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.dropFromMetadata(SchemaDropperImpl.java:241)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.performDrop(SchemaDropperImpl.java:154)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:126)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:112)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:145)
06-Aug-2025 11:53:07         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:73)
06-Aug-2025 11:53:07         at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:316)
06-Aug-2025 11:53:07         at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:469)
06-Aug-2025 11:53:07         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:708)
06-Aug-2025 11:53:07         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724)
06-Aug-2025 11:53:07         at org.springframework.orm.hibernate5.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:616)
06-Aug-2025 11:53:07         at org.springframework.orm.hibernate5.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:600)
06-Aug-2025 11:53:07         at org.openmrs.api.db.hibernate.HibernateSessionFactoryBean.afterPropertiesSet(HibernateSessionFactoryBean.java:190)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1853)
06-Aug-2025 11:53:07         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1790)
06-Aug-2025 11:53:07         ... 96 more
06-Aug-2025 11:53:07 Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
06-Aug-2025 11:53:07         at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:118)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:692)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:140)
06-Aug-2025 11:53:07         at org.hibernate.c3p0.internal.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:72)
06-Aug-2025 11:53:07         at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:180)
06-Aug-2025 11:53:07         at org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl.getIsolatedConnection(DdlTransactionIsolatorNonJtaImpl.java:43)
06-Aug-2025 11:53:07         ... 115 more
06-Aug-2025 11:53:07 Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1507)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:644)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:554)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutAndMarkConnectionInUse(C3P0PooledConnectionPool.java:758)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:685)
06-Aug-2025 11:53:07         ... 119 more
06-Aug-2025 11:53:07 Caused by: org.h2.jdbc.JdbcSQLNonTransientConnectionException: Unsupported connection setting "MVCC" [90113-200]
06-Aug-2025 11:53:07         at org.h2.message.DbException.getJdbcSQLException(DbException.java:622)
06-Aug-2025 11:53:07         at org.h2.message.DbException.getJdbcSQLException(DbException.java:429)
06-Aug-2025 11:53:07         at org.h2.message.DbException.get(DbException.java:205)
06-Aug-2025 11:53:07         at org.h2.message.DbException.get(DbException.java:181)
06-Aug-2025 11:53:07         at org.h2.engine.ConnectionInfo.readSettingsFromURL(ConnectionInfo.java:269)
06-Aug-2025 11:53:07         at org.h2.engine.ConnectionInfo.<init>(ConnectionInfo.java:78)
06-Aug-2025 11:53:07         at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:152)
06-Aug-2025 11:53:07         at org.h2.Driver.connect(Driver.java:69)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)
06-Aug-2025 11:53:07         at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1176)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1163)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)
06-Aug-2025 11:53:07         at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1908)
06-Aug-2025 11:53:07         at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)
06-Aug-2025 11:53:07
06-Aug-2025 11:53:07 [INFO] Running org.openmrs.module.billing.IPaymentModeServiceTest
06-Aug-2025 11:53:22 [INFO] Tests run: 43, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.533 s - in org.openmrs.module.billing.IPaymentModeServiceTest
06-Aug-2025 11:53:22 [INFO] Running org.openmrs.module.billing.SequentialReceiptNumberGeneratorTest
06-Aug-2025 11:53:24 ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider jdk.nashorn.api.scripting.NashornScriptEngineFactory not a subtype
06-Aug-2025 11:53:24 2025-08-06 11:53:24,248 main ERROR Could not reconfigure JMX java.lang.LinkageError: loader constraint violation: loader (instance of org/powermock/core/classloader/javassist/JavassistMockClassLoader) previously initiated loading for a different type with name "javax/management/MBeanServer"
06-Aug-2025 11:53:24         at java.lang.ClassLoader.defineClass1(Native Method)
06-Aug-2025 11:53:24         at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
06-Aug-2025 11:53:24         at org.powermock.core.classloader.javassist.JavassistMockClassLoader.loadUnmockedClass(JavassistMockClassLoader.java:90)
06-Aug-2025 11:53:24         at org.powermock.core.classloader.MockClassLoader.loadClassByThisClassLoader(MockClassLoader.java:104)
06-Aug-2025 11:53:24         at org.powermock.core.classloader.DeferSupportingClassLoader.loadClass1(DeferSupportingClassLoader.java:147)
06-Aug-2025 11:53:24         at org.powermock.core.classloader.DeferSupportingClassLoader.loadClass(DeferSupportingClassLoader.java:98)
06-Aug-2025 11:53:24         at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
06-Aug-2025 11:53:24         at org.apache.logging.log4j.core.jmx.Server.unregisterAllMatching(Server.java:337)
06-Aug-2025 11:53:24         at org.apache.logging.log4j.core.jmx.Server.unregisterLoggerContext(Server.java:261)
06-Aug-2025 11:53:24         at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:165)
06-Aug-2025 11:53:24         at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:141)
06-Aug-2025 11:53:24         at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:629)
06-Aug-2025 11:53:24         at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:691)
06-Aug-2025 11:53:24         at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:708)
06-Aug-2025 11:53:24         at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:263)
06-Aug-2025 11:53:24         at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:153)
06-Aug-2025 11:53:24         at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
06-Aug-2025 11:53:24         at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
06-Aug-2025 11:53:24         at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:138)
06-Aug-2025 11:53:24         at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:45)
06-Aug-2025 11:53:24         at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:48)
06-Aug-2025 11:53:24         at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:30)
06-Aug-2025 11:53:24         at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:363)
06-Aug-2025 11:53:24         at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388)
06-Aug-2025 11:53:24         at org.openmrs.api.context.Context.<clinit>(Context.java:135)
06-Aug-2025 11:53:24         at sun.reflect.GeneratedSerializationConstructorAccessor6.newInstance(Unknown Source)
06-Aug-2025 11:53:24         at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
06-Aug-2025 11:53:24         at org.objenesis.instantiator.sun.SunReflectionFactoryInstantiator.newInstance(SunReflectionFactoryInstantiator.java:48)
06-Aug-2025 11:53:24         at org.objenesis.ObjenesisBase.newInstance(ObjenesisBase.java:73)
06-Aug-2025 11:53:24         at org.mockito.internal.creation.instance.ObjenesisInstantiator.newInstance(ObjenesisInstantiator.java:21)
06-Aug-2025 11:53:24         at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:48)
06-Aug-2025 11:53:24         at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:29)
06-Aug-2025 11:53:24         at org.powermock.api.mockito.mockmaker.PowerMockMaker.createMock(PowerMockMaker.java:41)
06-Aug-2025 11:53:24         at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:52)
06-Aug-2025 11:53:24         at org.mockito.internal.MockitoCore.mock(MockitoCore.java:61)
06-Aug-2025 11:53:24         at org.mockito.Mockito.mock(Mockito.java:1949)
06-Aug-2025 11:53:24         at org.powermock.api.mockito.internal.mockcreation.DefaultMockCreator.createMethodInvocationControl(DefaultMockCreator.java:108)
06-Aug-2025 11:53:24         at org.powermock.api.mockito.internal.mockcreation.DefaultMockCreator.doCreateMock(DefaultMockCreator.java:61)
06-Aug-2025 11:53:24         at org.powermock.api.mockito.internal.mockcreation.DefaultMockCreator.createMock(DefaultMockCreator.java:53)
06-Aug-2025 11:53:24         at org.powermock.api.mockito.internal.mockcreation.DefaultMockCreator.mock(DefaultMockCreator.java:40)
06-Aug-2025 11:53:24         at org.powermock.api.mockito.PowerMockito.mockStatic(PowerMockito.java:62)
06-Aug-2025 11:53:24         at org.openmrs.module.billing.SequentialReceiptNumberGeneratorTest.before(SequentialReceiptNumberGeneratorTest.java:53)
06-Aug-2025 11:53:24         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
06-Aug-2025 11:53:24         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
06-Aug-2025 11:53:24         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
06-Aug-2025 11:53:24         at java.lang.reflect.Method.invoke(Method.java:498)
06-Aug-2025 11:53:24         at org.junit.internal.runners.MethodRoadie.runBefores(MethodRoadie.java:133)
06-Aug-2025 11:53:24         at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:96)
06-Aug-2025 11:53:24         at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.executeTest(PowerMockJUnit44RunnerDelegateImpl.java:310)
06-Aug-2025 11:53:24         at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTestInSuper(PowerMockJUnit47RunnerDelegateImpl.java:131)
06-Aug-2025 11:53:24         at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.access$100(PowerMockJUnit47RunnerDelegateImpl.java:59)
06-Aug-2025 11:53:24         at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner$TestExecutorStatement.evaluate(PowerMockJUnit47RunnerDelegateImpl.java:147)
06-Aug-2025 11:53:24         at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.evaluateStatement(PowerMockJUnit47RunnerDelegateImpl.java:107)
06-Aug-2025 11:53:24         at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTest(PowerMockJUnit47RunnerDelegateImpl.java:82)
06-Aug-2025 11:53:24         at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runBeforesThenTestThenAfters(PowerMockJUnit44RunnerDelegateImpl.java:298)
06-Aug-2025 11:53:24         at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:87)
06-Aug-2025 11:53:24         at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:50)
06-Aug-2025 11:53:24         at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.invokeTestMethod(PowerMockJUnit44RunnerDelegateImpl.java:218)
06-Aug-2025 11:53:24         at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.runMethods(PowerMockJUnit44RunnerDelegateImpl.java:160)
06-Aug-2025 11:53:24         at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$1.run(PowerMockJUnit44RunnerDelegateImpl.java:134)
06-Aug-2025 11:53:24         at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:34)
06-Aug-2025 11:53:24         at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:44)
06-Aug-2025 11:53:24         at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.run(PowerMockJUnit44RunnerDelegateImpl.java:136)
06-Aug-2025 11:53:24         at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.run(JUnit4TestSuiteChunkerImpl.java:117)
06-Aug-2025 11:53:24         at org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner.run(AbstractCommonPowerMockRunner.java:57)
06-Aug-2025 11:53:24         at org.powermock.modules.junit4.PowerMockRunner.run(PowerMockRunner.java:59)
06-Aug-2025 11:53:24         at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
06-Aug-2025 11:53:24         at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
06-Aug-2025 11:53:24         at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43)
06-Aug-2025 11:53:24         at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
06-Aug-2025 11:53:24         at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
06-Aug-2025 11:53:24         at java.util.Iterator.forEachRemaining(Iterator.java:116)
06-Aug-2025 11:53:24         at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
06-Aug-2025 11:53:24         at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
06-Aug-2025 11:53:24         at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
06-Aug-2025 11:53:24         at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
06-Aug-2025 11:53:24         at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
06-Aug-2025 11:53:24         at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
06-Aug-2025 11:53:24         at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
06-Aug-2025 11:53:24         at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82)
06-Aug-2025 11:53:24         at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73)
06-Aug-2025 11:53:24         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
06-Aug-2025 11:53:24         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
06-Aug-2025 11:53:24         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
06-Aug-2025 11:53:24         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
06-Aug-2025 11:53:24         at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
06-Aug-2025 11:53:24         at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96)
06-Aug-2025 11:53:24         at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75)
06-Aug-2025 11:53:24         at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:55)
06-Aug-2025 11:53:24         at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:223)
06-Aug-2025 11:53:24         at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:175)
06-Aug-2025 11:53:24         at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:139)
06-Aug-2025 11:53:24         at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
06-Aug-2025 11:53:24         at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
06-Aug-2025 11:53:24         at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
06-Aug-2025 11:53:24         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)
06-Aug-2025 11:53:24
06-Aug-2025 11:53:24 [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.457 s - in org.openmrs.module.billing.SequentialReceiptNumberGeneratorTest
06-Aug-2025 11:53:24 [INFO] Running org.openmrs.module.billing.ICashierOptionsServiceTest
06-Aug-2025 11:53:24 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 s - in org.openmrs.module.billing.ICashierOptionsServiceTest
06-Aug-2025 11:53:24 [INFO] Running org.openmrs.module.billing.ICashPointServiceTest
06-Aug-2025 11:53:37 [INFO] Tests run: 55, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.237 s - in org.openmrs.module.billing.ICashPointServiceTest
06-Aug-2025 11:53:37 [INFO] Running org.openmrs.module.billing.base.LazyRoleTest
06-Aug-2025 11:53:37 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.171 s - in org.openmrs.module.billing.base.LazyRoleTest
06-Aug-2025 11:53:37 [INFO] Running org.openmrs.module.billing.ITimesheetServiceTest
06-Aug-2025 11:53:46 [INFO] Tests run: 44, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.756 s - in org.openmrs.module.billing.ITimesheetServiceTest
06-Aug-2025 11:53:46 [WARNING] ForkStarter IOException: Stream Closed. See the dump file /module/api/target/surefire-reports/2025-08-06T11-45-14_661-jvmRun1.dumpstream
06-Aug-2025 11:53:46 [INFO]
06-Aug-2025 11:53:46 [INFO] Results:
06-Aug-2025 11:53:46 [INFO]
06-Aug-2025 11:53:46 [ERROR] Errors:
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.getAll_shouldNotGetTheTotalPagingRecordCountIfItIsMoreThanZero » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.getAll_shouldReturnAllObjectRecords » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.getAll_shouldReturnAllObjectRecordsIfPagingIsNull » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.getAll_shouldReturnAllObjectRecordsIfPagingPageOrSizeIsLessThanOne » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.getAll_shouldReturnAnEmptyListIfThereAreNoObjects » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.getAll_shouldReturnPagedObjectRecordsIfPagingIsSpecified » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.getAll_shouldSetThePagingTotalRecordsToTheTotalNumberOfObjectRecords » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.getById_shouldReturnNullIfNoObjectCanBeFound » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.getById_shouldReturnTheObjectWithTheSpecifiedId » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.getByUuid_shouldFindTheObjectWithTheSpecifiedUuid » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.getByUuid_shouldReturnNullIfNoObjectIsFound » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.getByUuid_shouldThrowIllegalArgumentExceptionIfUuidIsEmpty » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.getByUuid_shouldThrowIllegalArgumentExceptionIfUuidIsNull » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.getOnly_shouldReturnANewModelIfNoneHasBeenDefined » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.getOnly_shouldReturnTheFirstModel » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.getSequence_shouldReturnNullIfTheSequenceCannotBeFound » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.getSequence_shouldReturnTheSequenceIfGroupIsEmpty » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.getSequence_shouldReturnTheSpecifiedSequence » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.getSequence_shouldThrowAnIllegalArgumentExceptionIfGroupIsNull » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.getSequences_shouldReturnAllSequences » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.getSequences_shouldReturnAnEmptyListIfNoSequencesHaveBeenDefined » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.purgeSequence_shouldDeleteTheSequenceFromTheDatabase » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.purgeSequence_shouldNotThrowAnExceptionIfTheSequenceIsNotInTheDatabase » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.purgeSequence_shouldThrowANullPointerExceptionIfTheSequenceIsNull » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.purge_shouldDeleteTheSpecifiedObject » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.purge_shouldThrowNullPointerExceptionIfTheObjectIsNull » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.reserveNextSequence_shouldCreateANewSequenceWithAValueOfOneIfTheGroupDoesNotExist » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.reserveNextSequence_shouldIncrementAndReturnTheSequenceValueForExistingGroups » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.reserveNextSequence_shouldThrowIllegalArgumentExceptionIfTheGroupIsNull » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.saveSequence_shouldCreateTheSequenceSuccessfully » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.saveSequence_shouldReturnTheSavedSequence » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.saveSequence_shouldThrowANullPointerExceptionIfSequenceIsNull » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.saveSequence_shouldUpdateTheSequenceSuccessfully » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.save_shouldCreateTheObjectSuccessfully » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.save_shouldReturnSavedObject » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.save_shouldThrowNullPointerExceptionIfTheObjectIsNull » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.save_shouldUpdateTheObjectSuccessfully » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [ERROR]   ISequentialReceiptNumberGeneratorServiceTest.save_shouldValidateTheObjectBeforeSaving » IllegalState Failed to load ApplicationContext
06-Aug-2025 11:53:46 [INFO]
06-Aug-2025 11:53:46 [ERROR] Tests run: 189, Failures: 0, Errors: 38, Skipped: 0
06-Aug-2025 11:53:46 [INFO]
06-Aug-2025 11:53:46 [INFO] ------------------------------------------------------------------------
06-Aug-2025 11:53:46 [INFO] Reactor Summary for OpenHMIS Billing Module 1.3.3-SNAPSHOT:
06-Aug-2025 11:53:46 [INFO]
06-Aug-2025 11:53:46 [INFO] OpenHMIS Billing Module ............................ SUCCESS [  0.660 s]
06-Aug-2025 11:53:46 [INFO] OpenMrs Billing Module API ......................... FAILURE [08:59 min]
06-Aug-2025 11:53:46 [INFO] OpenHMIS Billing Module OMOD ....................... SKIPPED
06-Aug-2025 11:53:46 [INFO] ------------------------------------------------------------------------
06-Aug-2025 11:53:46 [INFO] BUILD FAILURE
06-Aug-2025 11:53:46 [INFO] ------------------------------------------------------------------------
06-Aug-2025 11:53:46 [INFO] Total time:  09:00 min
06-Aug-2025 11:53:46 [INFO] Finished at: 2025-08-06T11:53:46Z
06-Aug-2025 11:53:46 [INFO] ------------------------------------------------------------------------
06-Aug-2025 11:53:46 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M8:test (default-test) on project billing-api:
06-Aug-2025 11:53:46 [ERROR]
06-Aug-2025 11:53:46 [ERROR] Please refer to /module/api/target/surefire-reports for the individual test results.
06-Aug-2025 11:53:46 [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
06-Aug-2025 11:53:46 [ERROR] -> [Help 1]
06-Aug-2025 11:53:46 [ERROR]
06-Aug-2025 11:53:46 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
06-Aug-2025 11:53:46 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
06-Aug-2025 11:53:46 [ERROR]
06-Aug-2025 11:53:46 [ERROR] For more information about the errors and possible solutions, please read the following articles:
06-Aug-2025 11:53:46 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
06-Aug-2025 11:53:46 [ERROR]
06-Aug-2025 11:53:46 [ERROR] After correcting the problems, you can resume the build with the command
06-Aug-2025 11:53:46 [ERROR]   mvn <args> -rf :billing-api
06-Aug-2025 11:53:47 Failing task since return code of [/data/bamboo-agent/temp/BILL-BILL-BTJ8-27-ScriptBuildTask-2292468708034694820.sh] was 1 while expected 0
06-Aug-2025 11:53:47 Finished task 'Build and test' with result: Failed
06-Aug-2025 11:53:47 Running post build plugin 'Docker Container Cleanup'
06-Aug-2025 11:53:47 Running post build plugin 'NCover Results Collector'
06-Aug-2025 11:53:47 Running post build plugin 'Build Results Label Collector'
06-Aug-2025 11:53:47 Running post build plugin 'Clover Results Collector'
06-Aug-2025 11:53:47 Running post build plugin 'npm Cache Cleanup'
06-Aug-2025 11:53:47 Running post build plugin 'Artifact Copier'
06-Aug-2025 11:53:47 Finalising the build...
06-Aug-2025 11:53:47 Stopping timer.
06-Aug-2025 11:53:47 Build BILL-BILL-BTJ8-27 completed.
06-Aug-2025 11:53:47 Running on server: post build plugin 'Build Hanging Detection Configuration'
06-Aug-2025 11:53:47 Running on server: post build plugin 'NCover Results Collector'
06-Aug-2025 11:53:47 Running on server: post build plugin 'Build Labeller'
06-Aug-2025 11:53:47 Running on server: post build plugin 'Clover Delta Calculator'
06-Aug-2025 11:53:47 Running on server: post build plugin 'Maven Dependencies Postprocessor'
06-Aug-2025 11:53:47 All post build plugins have finished
06-Aug-2025 11:53:47 Generating build results summary...
06-Aug-2025 11:53:47 Saving build results to disk...
06-Aug-2025 11:53:47 Store variable context...
06-Aug-2025 11:53:47 Finished building BILL-BILL-BTJ8-27.