Skip to content

Failed

org.appng.application.manager.business.SubjectsTest.testCreate

Failing for the past 1 build (Since Failed#140 )
Took 0.15 sec.

Error Message

org.springframework.context.support.GenericApplicationContext@4a22f9e2 has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@4a22f9e2 has been closed already

Stacktrace

org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@4a22f9e2 has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@4a22f9e2 has been closed already
	at org.appng.application.manager.business.SubjectsTest.testCreate(SubjectsTest.java:74)
Caused by: java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@4a22f9e2 has been closed already
	at org.appng.application.manager.business.SubjectsTest.testCreate(SubjectsTest.java:74)

Standard Output

2021-06-10 16:23:43,688 INFO  [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2021-06-10 16:23:43,893 INFO  [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2021-06-10 16:23:43,909 INFO  [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2021-06-10 16:23:44,588 INFO  [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]

Standard Error

[main] INFO org.springframework.test.context.support.DefaultTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
[main] INFO org.springframework.test.context.support.DefaultTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@6c19b4a8, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@74aad409, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1f26cdf6, org.springframework.test.context.support.DirtiesContextTestExecutionListener@55283160, org.springframework.test.context.transaction.TransactionalTestExecutionListener@74b56399, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@569deb9a]
[main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [file:application-home/beans.xml]
[main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
[main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
[main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
[main] INFO org.springframework.context.support.GenericApplicationContext - Refreshing org.springframework.context.support.GenericApplicationContext@6bca486c: startup date [Thu Jun 10 16:23:43 CEST 2021]; root of context hierarchy
[main] INFO org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
[main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Building JPA container EntityManagerFactory for persistence unit 'default'
[main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'default'
[main] WARN org.appng.api.support.RequestFactoryBean - invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!