Skip to content

Failed

org.appng.application.manager.business.SitesTest.testCreateSite

Failing for the past 1 build (Since Failed#140 )
Took 0.14 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.SitesTest.testCreateSite(SitesTest.java:40)
Caused by: java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@4a22f9e2 has been closed already
	at org.appng.application.manager.business.SitesTest.testCreateSite(SitesTest.java:40)

Standard Output

2021-06-10 16:23:33,158 INFO  [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2021-06-10 16:23:33,336 INFO  [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2021-06-10 16:23:33,357 INFO  [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2021-06-10 16:23:33,881 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@3a9f186f, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3734b226, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@2001b9ca, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2b7464a8, org.springframework.test.context.transaction.TransactionalTestExecutionListener@69ea4dc9, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7bdd6750]
[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@5e663143: startup date [Thu Jun 10 16:23:32 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!