Started by user Matthias Mueller Running as Matthias Mueller Running in Durability level: MAX_SURVIVABILITY [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/appNG_Manager [Pipeline] { [Pipeline] tool [Pipeline] stage [Pipeline] { (git clone) [Pipeline] git The recommended git tool is: NONE No credentials specified > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:appNG/appng-manager.git # timeout=10 Fetching upstream changes from git@github.com:appNG/appng-manager.git > git --version # timeout=10 > git --version # 'git version 2.11.0' > git fetch --tags --progress -- git@github.com:appNG/appng-manager.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/appng-manager-1.18.x^{commit} # timeout=10 Checking out Revision 69864fb953bd11c4a6ae7de1983a2ceb0de1a8b6 (refs/remotes/origin/appng-manager-1.18.x) > git config core.sparsecheckout # timeout=10 > git checkout -f 69864fb953bd11c4a6ae7de1983a2ceb0de1a8b6 # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git branch -D appng-manager-1.18.x # timeout=10 > git checkout -b appng-manager-1.18.x 69864fb953bd11c4a6ae7de1983a2ceb0de1a8b6 # timeout=10 Commit message: "MGR-111" > git rev-list --no-walk 69864fb953bd11c4a6ae7de1983a2ceb0de1a8b6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Maven Build) [Pipeline] sh + /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.5.0/bin/mvn -version Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00) Maven home: /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.5.0 Java version: 1.8.0_131, vendor: Oracle Corporation Java home: /usr/lib/jvm/jdk-8-oracle-x64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.9.0-0.bpo.12-amd64", arch: "amd64", family: "unix" [Pipeline] sh + /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.5.0/bin/mvn clean deploy [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building appNG Manager 1.18.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-search/1.23.0-SNAPSHOT/appng-search-1.23.0-20210609.125336-17.pom Progress (1): 3.2 kB Downloaded: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-search/1.23.0-SNAPSHOT/appng-search-1.23.0-20210609.125336-17.pom (3.2 kB at 4.8 kB/s) [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ appng-manager --- [INFO] Deleting /var/lib/jenkins/workspace/appNG_Manager/target [INFO] [INFO] --- appng-maven-plugin:1.23.0-SNAPSHOT:generateApplicationConstants (applicationConstants) @ appng-manager --- [INFO] generate application constants for [/var/lib/jenkins/workspace/appNG_Manager/application-home/application.xml, org.appng.application.manager.ManagerSettings, /var/lib/jenkins/workspace/appNG_Manager/target/generated-sources/constants] [INFO] [INFO] --- appng-maven-plugin:1.23.0-SNAPSHOT:generateMessageConstants (messageConstants) @ appng-manager --- [INFO] generate message constants for [/var/lib/jenkins/workspace/appNG_Manager/application-home/dictionary/manager-messages.properties, org.appng.application.manager.MessageConstants, /var/lib/jenkins/workspace/appNG_Manager/target/generated-sources/constants] [INFO] [INFO] --- build-helper-maven-plugin:3.0.0:add-source (default) @ appng-manager --- [INFO] Source directory: /var/lib/jenkins/workspace/appNG_Manager/target/generated-sources/constants added. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ appng-manager --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ appng-manager --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 55 source files to /var/lib/jenkins/workspace/appNG_Manager/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ appng-manager --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 85 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ appng-manager --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 19 source files to /var/lib/jenkins/workspace/appNG_Manager/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M3:test (default-test) @ appng-manager --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.appng.application.manager.job.DatabaseReportJobTest SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-simple/1.7.30/slf4j-simple-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-log4j12/1.7.26/slf4j-log4j12-1.7.26.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory] [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@6b19b79, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@2a32de6c, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@7692d9cc, org.springframework.test.context.support.DirtiesContextTestExecutionListener@75f32542, org.springframework.test.context.transaction.TransactionalTestExecutionListener@7f1302d6, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@43ee72e6] [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@10e92f8f: startup date [Wed Jun 09 15:33:31 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 Jun 09, 2021 3:33:32 PM ch.sla.jdbcperflogger.Logger info INFO: Using config file jdbcperflogger-fallback.xml 2021-06-09 15:33:32,722 INFO [HSQLDB Server @2b5cb9b2] hsqldb.db.HSQLDB79F0FA6696.ENGINE: Checkpoint start 2021-06-09 15:33:32,722 INFO [HSQLDB Server @2b5cb9b2] hsqldb.db.HSQLDB79F0FA6696.ENGINE: checkpointClose start 2021-06-09 15:33:33,249 INFO [HSQLDB Server @2b5cb9b2] hsqldb.db.HSQLDB79F0FA6696.ENGINE: checkpointClose synched 2021-06-09 15:33:33,322 INFO [HSQLDB Server @2b5cb9b2] hsqldb.db.HSQLDB79F0FA6696.ENGINE: checkpointClose script done 2021-06-09 15:33:33,416 INFO [HSQLDB Server @2b5cb9b2] hsqldb.db.HSQLDB79F0FA6696.ENGINE: checkpointClose end 2021-06-09 15:33:33,418 INFO [HSQLDB Server @2b5cb9b2] hsqldb.db.HSQLDB79F0FA6696.ENGINE: Checkpoint end - txts: 1 [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Building JPA container EntityManagerFactory for persistence unit 'default' 2021-06-09 15:33:33,642 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2021-06-09 15:33:33,732 INFO [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.32.Final 2021-06-09 15:33:33,944 INFO [main] org.hibernate.annotations.common.Version: HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2021-06-09 15:33:34,450 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2021-06-09 15:33:34,523 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2021-06-09 15:33:35,252 INFO [main] org.hibernate.validator.internal.util.Version: HV000001: Hibernate Validator 6.2.0.Final 2021-06-09 15:33:37,132 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'default' [main] INFO org.springframework.aop.framework.CglibAopProxy - Method [org.appng.core.service.MigrationService$MigrationStatus org.appng.core.service.DatabaseService.migrateApplication(java.io.File,org.appng.core.domain.SiteApplication,java.lang.String)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy. [main] INFO org.springframework.aop.framework.CglibAopProxy - Method [org.appng.core.service.MigrationService$MigrationStatus org.appng.core.service.DatabaseService.dropDataBaseAndUser(org.appng.core.domain.DatabaseConnection)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy. [main] INFO org.appng.core.domain.PlatformEventListener - Using application context org.springframework.context.support.GenericApplicationContext@10e92f8f: startup date [Wed Jun 09 15:33:31 CEST 2021]; root of context hierarchy [main] WARN org.appng.api.support.RequestFactoryBean - invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! [main] INFO org.springframework.context.support.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@10e92f8f: startup date [Wed Jun 09 15:33:31 CEST 2021]; root of context hierarchy [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' 2021-06-09 15:33:45,221 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2021-06-09 15:33:45,929 INFO [HSQLDB Connection @1e5774ea] hsqldb.db.HSQLDB79F0FA6696.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.797 s - in org.appng.application.manager.job.DatabaseReportJobTest [INFO] Running org.appng.application.manager.business.ApplicationPropertiesTest [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@5a438c0a, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@174da9a0, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@b42d1c8, org.springframework.test.context.support.DirtiesContextTestExecutionListener@73983f07, org.springframework.test.context.transaction.TransactionalTestExecutionListener@35fddea2, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@4f876114] [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@608448e7: startup date [Wed Jun 09 15:33:46 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' 2021-06-09 15:33:46,580 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2021-06-09 15:33:46,762 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2021-06-09 15:33:46,772 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2021-06-09 15:33:47,607 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] [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! [main] ERROR org.appng.application.manager.business.Properties - Property does not exist. org.appng.api.BusinessException: no such property platform.application.manager.testproperty at org.appng.application.manager.service.ManagerService.searchProperties(ManagerService.java:1488) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.searchProperties() at org.appng.application.manager.business.Properties.getData(Properties.java:68) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:201) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:152) at org.appng.application.manager.business.ApplicationPropertiesTest.testShowOne(ApplicationPropertiesTest.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] ERROR org.appng.application.manager.business.Properties - Property does not exist. org.appng.api.BusinessException: no such property platform.application.manager.testproperty at org.appng.application.manager.service.ManagerService.searchProperties(ManagerService.java:1488) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.searchProperties() at org.appng.application.manager.business.Properties.getData(Properties.java:68) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:201) at org.appng.api.support.CallableAction.retrieveData(CallableAction.java:234) at org.appng.api.support.CallableAction.perform(CallableAction.java:334) at org.appng.api.support.CallableAction.perform(CallableAction.java:308) at org.appng.application.manager.business.ApplicationPropertiesTest.testUpdate(ApplicationPropertiesTest.java:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] INFO org.springframework.context.support.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@608448e7: startup date [Wed Jun 09 15:33:46 CEST 2021]; root of context hierarchy [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' 2021-06-09 15:33:50,238 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2021-06-09 15:33:50,492 INFO [HSQLDB Connection @2c5aa1be] hsqldb.db.HSQLDB79F0FA6696.ENGINE: Database closed [ERROR] Tests run: 4, Failures: 1, Errors: 3, Skipped: 0, Time elapsed: 4.485 s <<< FAILURE! - in org.appng.application.manager.business.ApplicationPropertiesTest [ERROR] testCreate(org.appng.application.manager.business.ApplicationPropertiesTest) Time elapsed: 0.202 s <<< ERROR! org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.ApplicationPropertiesTest.testCreate(ApplicationPropertiesTest.java:45) Caused by: java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.ApplicationPropertiesTest.testCreate(ApplicationPropertiesTest.java:45) [ERROR] testShowAll(org.appng.application.manager.business.ApplicationPropertiesTest) Time elapsed: 1.194 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value '2' but was '0' - comparing at /datasource[1]/data[1]/resultset[1]/@hits to at /datasource[1]/data[1]/resultset[1]/@hits Application properties 1 led_orange led_green new edit delete Do you really want to delete the property "#{shortName}"? , org.custommonkey.xmlunit.Diff [different] Expected attribute value '2' but was '0' - comparing at /datasource[1]/data[1]/resultset[1]/@hits to at /datasource[1]/data[1]/resultset[1]/@hits at org.appng.application.manager.business.ApplicationPropertiesTest.testShowAll(ApplicationPropertiesTest.java:63) [ERROR] testShowOne(org.appng.application.manager.business.ApplicationPropertiesTest) Time elapsed: 0.171 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'property', ID: 544521766 at org.appng.application.manager.business.ApplicationPropertiesTest.testShowOne(ApplicationPropertiesTest.java:70) Caused by: org.appng.api.ProcessingException: class org.appng.application.manager.business.Properties returned null at org.appng.application.manager.business.ApplicationPropertiesTest.testShowOne(ApplicationPropertiesTest.java:70) [ERROR] testUpdate(org.appng.application.manager.business.ApplicationPropertiesTest) Time elapsed: 0.185 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'property', ID: 1135188547 at org.appng.application.manager.business.ApplicationPropertiesTest.testUpdate(ApplicationPropertiesTest.java:84) Caused by: org.appng.api.ProcessingException: class org.appng.application.manager.business.Properties returned null at org.appng.application.manager.business.ApplicationPropertiesTest.testUpdate(ApplicationPropertiesTest.java:84) [INFO] Running org.appng.application.manager.business.RepositoriesTest [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@1c848119, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@651d2d15, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@34ec84e, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2db3ebe6, org.springframework.test.context.transaction.TransactionalTestExecutionListener@15873b00, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@19fec920] [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@5ed95454: startup date [Wed Jun 09 15:33:50 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' 2021-06-09 15:33:51,056 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2021-06-09 15:33:51,244 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2021-06-09 15:33:51,265 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2021-06-09 15:33:51,775 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] [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! [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] ERROR org.appng.application.manager.business.Repositories - Failed to create the repository. org.appng.api.BusinessException: org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.api.support.RequestSupportImpl.handleException(RequestSupportImpl.java:200) at org.appng.api.support.ApplicationRequest.handleException(ApplicationRequest.java:134) at org.appng.application.manager.service.ManagerService.createRepository(ManagerService.java:874) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.createRepository() at org.appng.application.manager.business.Repositories.perform(Repositories.java:64) at org.appng.application.manager.business.Repositories.perform(Repositories.java:44) at org.appng.api.support.CallableAction.execute(CallableAction.java:438) at org.appng.api.support.CallableAction.perform(CallableAction.java:336) at org.appng.api.support.CallableAction.perform(CallableAction.java:308) at org.appng.application.manager.business.RepositoriesTest.testCreateRepository(RepositoriesTest.java:50) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) Caused by: org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:387) at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:526) at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:59) at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:209) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:147) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:140) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$ExposeRepositoryInvocationInterceptor.invoke(CrudMethodMetadataPostProcessor.java:347) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) at com.sun.proxy.$Proxy153.save(Unknown Source) at org.appng.core.service.CoreService.createRepository(CoreService.java:927) at org.appng.application.manager.service.ManagerService.createRepository(ManagerService.java:872) ... 49 more Caused by: java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.springframework.context.support.AbstractApplicationContext.assertBeanFactoryActive(AbstractApplicationContext.java:1066) at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1189) at org.appng.core.domain.PlatformEventListener.getEventProvider(PlatformEventListener.java:143) at org.appng.core.domain.PlatformEventListener.createEvent(PlatformEventListener.java:114) at org.appng.core.domain.PlatformEventListener.createEvent(PlatformEventListener.java:106) at org.appng.core.domain.PlatformEventListener.createEvent(PlatformEventListener.java:100) at org.appng.core.domain.PlatformEventListener.beforeCreate(PlatformEventListener.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.hibernate.jpa.event.internal.ListenerCallback.performCallback(ListenerCallback.java:35) at org.hibernate.jpa.event.internal.CallbackRegistryImpl.callback(CallbackRegistryImpl.java:95) at org.hibernate.jpa.event.internal.CallbackRegistryImpl.preCreate(CallbackRegistryImpl.java:55) at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:108) at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:185) at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:128) at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:55) at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:99) at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:720) at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:706) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:301) at com.sun.proxy.$Proxy141.persist(Unknown Source) at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:531) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.executeMethodOn(RepositoryFactorySupport.java:515) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:500) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:477) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136) ... 62 more [main] ERROR org.appng.application.manager.business.Repositories - Failed to create the repository. org.appng.api.BusinessException: org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.api.support.RequestSupportImpl.handleException(RequestSupportImpl.java:200) at org.appng.api.support.ApplicationRequest.handleException(ApplicationRequest.java:134) at org.appng.application.manager.service.ManagerService.createRepository(ManagerService.java:874) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.createRepository() at org.appng.application.manager.business.Repositories.perform(Repositories.java:64) at org.appng.application.manager.business.Repositories.perform(Repositories.java:44) at org.appng.api.support.CallableAction.execute(CallableAction.java:438) at org.appng.api.support.CallableAction.perform(CallableAction.java:336) at org.appng.api.support.CallableAction.perform(CallableAction.java:308) at org.appng.application.manager.business.RepositoriesTest.testCreateRepositoryNameExists(RepositoriesTest.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) Caused by: org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:387) at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:526) at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:59) at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:209) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:147) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:140) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$ExposeRepositoryInvocationInterceptor.invoke(CrudMethodMetadataPostProcessor.java:347) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) at com.sun.proxy.$Proxy153.save(Unknown Source) at org.appng.core.service.CoreService.createRepository(CoreService.java:927) at org.appng.application.manager.service.ManagerService.createRepository(ManagerService.java:872) ... 49 more Caused by: java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.springframework.context.support.AbstractApplicationContext.assertBeanFactoryActive(AbstractApplicationContext.java:1066) at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1189) at org.appng.core.domain.PlatformEventListener.getEventProvider(PlatformEventListener.java:143) at org.appng.core.domain.PlatformEventListener.createEvent(PlatformEventListener.java:114) at org.appng.core.domain.PlatformEventListener.createEvent(PlatformEventListener.java:106) at org.appng.core.domain.PlatformEventListener.createEvent(PlatformEventListener.java:100) at org.appng.core.domain.PlatformEventListener.beforeCreate(PlatformEventListener.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.hibernate.jpa.event.internal.ListenerCallback.performCallback(ListenerCallback.java:35) at org.hibernate.jpa.event.internal.CallbackRegistryImpl.callback(CallbackRegistryImpl.java:95) at org.hibernate.jpa.event.internal.CallbackRegistryImpl.preCreate(CallbackRegistryImpl.java:55) at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:108) at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:185) at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:128) at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:55) at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:99) at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:720) at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:706) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:301) at com.sun.proxy.$Proxy141.persist(Unknown Source) at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:531) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.executeMethodOn(RepositoryFactorySupport.java:515) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:500) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:477) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136) ... 62 more [main] INFO org.springframework.context.support.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@5ed95454: startup date [Wed Jun 09 15:33:50 CEST 2021]; root of context hierarchy [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' 2021-06-09 15:33:53,863 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2021-06-09 15:33:54,214 INFO [HSQLDB Connection @59bac2ce] hsqldb.db.HSQLDB79F0FA6696.ENGINE: Database closed [ERROR] Tests run: 6, Failures: 2, Errors: 4, Skipped: 0, Time elapsed: 3.697 s <<< FAILURE! - in org.appng.application.manager.business.RepositoriesTest [ERROR] testCreateRepository(org.appng.application.manager.business.RepositoriesTest) Time elapsed: 0.509 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '6' but was '7' - comparing at /action[1] to at /action[1] Create repository create Field must not be empty Enter at most 64 characters Enter at most 8192 characters Failed to create the repository. repositoryType repositoryMode LOCAL false , org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '6' but was '7' - comparing at /action[1] to at /action[1] at org.appng.application.manager.business.RepositoriesTest.testCreateRepository(RepositoriesTest.java:51) [ERROR] testCreateRepositoryNameExists(org.appng.application.manager.business.RepositoriesTest) Time elapsed: 0.405 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '3' but was '2' - comparing at /action[1]/config[1]/meta-data[1]/field[1] to at /action[1]/config[1]/meta-data[1]/field[1] Create repository create Field must not be empty Enter at most 64 characters Enter at most 8192 characters Failed to create the repository. repositoryType repositoryMode LOCAL false , org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '3' but was '2' - comparing at /action[1]/config[1]/meta-data[1]/field[1] to at /action[1]/config[1]/meta-data[1]/field[1] at org.appng.application.manager.business.RepositoriesTest.testCreateRepositoryNameExists(RepositoriesTest.java:63) [ERROR] testDeleteRepository(org.appng.application.manager.business.RepositoriesTest) Time elapsed: 0.143 s <<< ERROR! org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.RepositoriesTest.createRepository(RepositoriesTest.java:147) at org.appng.application.manager.business.RepositoriesTest.testDeleteRepository(RepositoriesTest.java:68) Caused by: java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.RepositoriesTest.createRepository(RepositoriesTest.java:147) at org.appng.application.manager.business.RepositoriesTest.testDeleteRepository(RepositoriesTest.java:68) [ERROR] testShowRepositories(org.appng.application.manager.business.RepositoriesTest) Time elapsed: 0.146 s <<< ERROR! org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.RepositoriesTest.createRepository(RepositoriesTest.java:147) at org.appng.application.manager.business.RepositoriesTest.testShowRepositories(RepositoriesTest.java:90) Caused by: java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.RepositoriesTest.createRepository(RepositoriesTest.java:147) at org.appng.application.manager.business.RepositoriesTest.testShowRepositories(RepositoriesTest.java:90) [ERROR] testShowRepository(org.appng.application.manager.business.RepositoriesTest) Time elapsed: 0.155 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'repository', ID: 1084213833 at org.appng.application.manager.business.RepositoriesTest.testShowRepository(RepositoriesTest.java:80) Caused by: java.lang.NullPointerException at org.appng.application.manager.business.RepositoriesTest.testShowRepository(RepositoriesTest.java:80) [ERROR] testUpdateRepository(org.appng.application.manager.business.RepositoriesTest) Time elapsed: 0.151 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'repository', ID: 734957439 at org.appng.application.manager.business.RepositoriesTest.testUpdateRepository(RepositoriesTest.java:115) Caused by: java.lang.NullPointerException at org.appng.application.manager.business.RepositoriesTest.testUpdateRepository(RepositoriesTest.java:115) [INFO] Running org.appng.application.manager.business.SitesTest [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@1f42b860, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@76b8bdb6, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@6a7bfe7e, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5c8b196a, org.springframework.test.context.transaction.TransactionalTestExecutionListener@56803b23, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@65666948] [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@541fe0ac: startup date [Wed Jun 09 15:33:54 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' 2021-06-09 15:33:54,763 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2021-06-09 15:33:54,962 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2021-06-09 15:33:54,982 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2021-06-09 15:33:55,590 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] [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! [main] ERROR org.appng.application.manager.business.Sites - Site does not exist. org.appng.api.BusinessException: no such site: 1 at org.appng.application.manager.service.ManagerService.searchSites(ManagerService.java:968) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.searchSites() at org.appng.application.manager.business.Sites.getData(Sites.java:107) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:201) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:152) at org.appng.application.manager.business.SitesTest.testShowSite(SitesTest.java:94) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] INFO org.springframework.context.support.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@541fe0ac: startup date [Wed Jun 09 15:33:54 CEST 2021]; root of context hierarchy [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' 2021-06-09 15:33:57,300 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2021-06-09 15:33:57,539 INFO [HSQLDB Connection @65359f36] hsqldb.db.HSQLDB79F0FA6696.ENGINE: Database closed [ERROR] Tests run: 7, Failures: 2, Errors: 5, Skipped: 0, Time elapsed: 3.3 s <<< FAILURE! - in org.appng.application.manager.business.SitesTest [ERROR] testCreateSite(org.appng.application.manager.business.SitesTest) Time elapsed: 0.146 s <<< ERROR! org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f 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@10e92f8f has been closed already at org.appng.application.manager.business.SitesTest.testCreateSite(SitesTest.java:40) [ERROR] testCreateSiteValidationFail(org.appng.application.manager.business.SitesTest) Time elapsed: 0.206 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'new-site', ID: 2081490391 at org.appng.application.manager.business.SitesTest.testCreateSiteValidationFail(SitesTest.java:70) Caused by: java.lang.NullPointerException at org.appng.application.manager.business.SitesTest.testCreateSiteValidationFail(SitesTest.java:70) [ERROR] testDeleteSite(org.appng.application.manager.business.SitesTest) Time elapsed: 0.135 s <<< ERROR! org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.SitesTest.createSite(SitesTest.java:124) at org.appng.application.manager.business.SitesTest.testDeleteSite(SitesTest.java:76) Caused by: java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.SitesTest.createSite(SitesTest.java:124) at org.appng.application.manager.business.SitesTest.testDeleteSite(SitesTest.java:76) [ERROR] testReloadSite(org.appng.application.manager.business.SitesTest) Time elapsed: 0.141 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value 'ERROR' but was 'OK' - comparing at /messages[1]/message[1]/@class to at /messages[1]/message[1]/@class Site has been reloaded. , org.custommonkey.xmlunit.Diff [different] Expected attribute value 'ERROR' but was 'OK' - comparing at /messages[1]/message[1]/@class to at /messages[1]/message[1]/@class at org.appng.application.manager.business.SitesTest.testReloadSite(SitesTest.java:88) [ERROR] testShowSite(org.appng.application.manager.business.SitesTest) Time elapsed: 0.167 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'site', ID: 1590649228 at org.appng.application.manager.business.SitesTest.testShowSite(SitesTest.java:94) Caused by: org.appng.api.ProcessingException: class org.appng.application.manager.business.Sites returned null at org.appng.application.manager.business.SitesTest.testShowSite(SitesTest.java:94) [ERROR] testShowSites(org.appng.application.manager.business.SitesTest) Time elapsed: 0.128 s <<< ERROR! org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.SitesTest.createSite(SitesTest.java:124) at org.appng.application.manager.business.SitesTest.testShowSites(SitesTest.java:100) Caused by: java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.SitesTest.createSite(SitesTest.java:124) at org.appng.application.manager.business.SitesTest.testShowSites(SitesTest.java:100) [ERROR] testShowSitesFiltered(org.appng.application.manager.business.SitesTest) Time elapsed: 0.166 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of element attributes '4' but was '3' - comparing at /datasource[1]/config[1]/meta-data[1]/field[7] to at /datasource[1]/config[1]/meta-data[1]/field[7] Sites site example led_green led_red led_green led_red new edit delete Do you really want to delete the site "#{name}"? reload Name Domain , org.custommonkey.xmlunit.Diff [different] Expected number of element attributes '4' but was '3' - comparing at /datasource[1]/config[1]/meta-data[1]/field[7] to at /datasource[1]/config[1]/meta-data[1]/field[7] at org.appng.application.manager.business.SitesTest.testShowSitesFiltered(SitesTest.java:114) [INFO] Running org.appng.application.manager.business.PlatformEventsTest [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@611c997c, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@2763890a, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@38b35fd3, org.springframework.test.context.support.DirtiesContextTestExecutionListener@65754608, org.springframework.test.context.transaction.TransactionalTestExecutionListener@60a7e4a3, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@5bb71a64] [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@3652d733: startup date [Wed Jun 09 15:33:57 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' 2021-06-09 15:33:58,030 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2021-06-09 15:33:58,221 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2021-06-09 15:33:58,229 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2021-06-09 15:33:58,740 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] [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! [main] INFO org.springframework.context.support.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@3652d733: startup date [Wed Jun 09 15:33:57 CEST 2021]; root of context hierarchy [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' 2021-06-09 15:33:59,932 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2021-06-09 15:34:00,360 INFO [HSQLDB Connection @5a93cf74] hsqldb.db.HSQLDB79F0FA6696.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.81 s - in org.appng.application.manager.business.PlatformEventsTest [INFO] Running org.appng.application.manager.business.DataBaseConnectionsTest [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@3b805583, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@968a35a, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@382bafe, org.springframework.test.context.support.DirtiesContextTestExecutionListener@32b4b82, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3abe2a29, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@76803c57] [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.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [beans-test.xml] [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'sessions' with a different definition: replacing [Generic bean: class [org.appng.application.manager.business.Sessions]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/var/lib/jenkins/workspace/appNG_Manager/target/classes/org/appng/application/manager/business/Sessions.class]] with [Generic bean: class [org.appng.application.manager.business.SessionsTestBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=true; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [beans-test.xml]] [main] INFO org.springframework.context.support.GenericApplicationContext - Refreshing org.springframework.context.support.GenericApplicationContext@39ed0df2: startup date [Wed Jun 09 15:34:00 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' 2021-06-09 15:34:00,862 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2021-06-09 15:34:01,080 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2021-06-09 15:34:01,091 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2021-06-09 15:34:01,771 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'default' [main] INFO org.springframework.jdbc.datasource.init.ScriptUtils - Executing SQL script from class path resource [sql/testdata.sql] [main] INFO org.springframework.jdbc.datasource.init.ScriptUtils - Executed SQL script from class path resource [sql/testdata.sql] in 11 ms. [main] WARN org.appng.api.support.RequestFactoryBean - invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! [main] INFO org.appng.core.service.MigrationService - connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb () [main] INFO org.flywaydb.core.internal.license.VersionPrinter - Flyway Community Edition 7.9.1 by Redgate [main] INFO org.flywaydb.core.internal.database.base.BaseDatabaseType - Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5) [main] INFO org.appng.core.service.MigrationService - connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb () [main] INFO org.flywaydb.core.internal.license.VersionPrinter - Flyway Community Edition 7.9.1 by Redgate [main] INFO org.flywaydb.core.internal.database.base.BaseDatabaseType - Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5) [main] INFO org.appng.core.service.MigrationService - connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb () [main] INFO org.flywaydb.core.internal.license.VersionPrinter - Flyway Community Edition 7.9.1 by Redgate [main] INFO org.flywaydb.core.internal.database.base.BaseDatabaseType - Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5) [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] INFO org.springframework.context.support.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@39ed0df2: startup date [Wed Jun 09 15:34:00 CEST 2021]; root of context hierarchy [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' 2021-06-09 15:34:04,445 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2021-06-09 15:34:04,908 INFO [HSQLDB Connection @38308003] hsqldb.db.HSQLDB79F0FA6696.ENGINE: Database closed [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.545 s - in org.appng.application.manager.business.DataBaseConnectionsTest [INFO] Running org.appng.application.manager.business.webservice.LogViewerTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 s - in org.appng.application.manager.business.webservice.LogViewerTest [INFO] Running org.appng.application.manager.business.SubjectsTest [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@202dfd5c, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@35dcc87e, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4180cfca, org.springframework.test.context.support.DirtiesContextTestExecutionListener@48aac7b, org.springframework.test.context.transaction.TransactionalTestExecutionListener@4b8276ab, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@184ec89d] [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@ecf2c20: startup date [Wed Jun 09 15:34:05 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' 2021-06-09 15:34:05,391 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2021-06-09 15:34:05,565 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2021-06-09 15:34:05,573 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2021-06-09 15:34:06,021 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] [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! [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] ERROR org.appng.application.manager.business.Subjects - Failed to create the user. org.appng.api.BusinessException: org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.api.support.RequestSupportImpl.handleException(RequestSupportImpl.java:200) at org.appng.api.support.ApplicationRequest.handleException(ApplicationRequest.java:134) at org.appng.application.manager.service.ManagerService.createSubject(ManagerService.java:1287) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.createSubject() at org.appng.application.manager.business.Subjects.perform(Subjects.java:64) at org.appng.application.manager.business.Subjects.perform(Subjects.java:48) at org.appng.api.support.CallableAction.execute(CallableAction.java:438) at org.appng.api.support.CallableAction.perform(CallableAction.java:336) at org.appng.api.support.CallableAction.perform(CallableAction.java:308) at org.appng.application.manager.business.SubjectsTest.testCreateNameExists(SubjectsTest.java:128) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) Caused by: org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:387) at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:526) at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:59) at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:209) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:147) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:140) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$ExposeRepositoryInvocationInterceptor.invoke(CrudMethodMetadataPostProcessor.java:347) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) at com.sun.proxy.$Proxy231.save(Unknown Source) at org.appng.application.manager.service.ManagerService.createSubject(ManagerService.java:1284) ... 49 more Caused by: java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.springframework.context.support.AbstractApplicationContext.assertBeanFactoryActive(AbstractApplicationContext.java:1066) at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1189) at org.appng.core.domain.PlatformEventListener.getEventProvider(PlatformEventListener.java:143) at org.appng.core.domain.PlatformEventListener.createEvent(PlatformEventListener.java:114) at org.appng.core.domain.PlatformEventListener.createEvent(PlatformEventListener.java:106) at org.appng.core.domain.PlatformEventListener.createEvent(PlatformEventListener.java:100) at org.appng.core.domain.PlatformEventListener.beforeCreate(PlatformEventListener.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.hibernate.jpa.event.internal.ListenerCallback.performCallback(ListenerCallback.java:35) at org.hibernate.jpa.event.internal.CallbackRegistryImpl.callback(CallbackRegistryImpl.java:95) at org.hibernate.jpa.event.internal.CallbackRegistryImpl.preCreate(CallbackRegistryImpl.java:55) at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:108) at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:185) at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:128) at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:55) at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:99) at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:720) at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:706) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:301) at com.sun.proxy.$Proxy223.persist(Unknown Source) at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:531) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.executeMethodOn(RepositoryFactorySupport.java:515) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:500) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:477) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136) ... 61 more [main] ERROR org.appng.application.manager.business.Subjects - Failed to delete the user. org.appng.api.BusinessException: No such subject 2 at org.appng.application.manager.service.ManagerService.deleteSubject(ManagerService.java:173) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.deleteSubject() at org.appng.application.manager.business.Subjects.perform(Subjects.java:80) at org.appng.application.manager.business.Subjects.perform(Subjects.java:48) at org.appng.api.support.CallableAction.execute(CallableAction.java:438) at org.appng.api.support.CallableAction.perform(CallableAction.java:336) at org.appng.api.support.CallableAction.perform(CallableAction.java:308) at org.appng.application.manager.business.SubjectsTest.testDelete(SubjectsTest.java:137) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] ERROR org.appng.application.manager.business.Subjects - User does not exist. org.appng.api.BusinessException: no such subject: 1 at org.appng.application.manager.service.ManagerService.searchSubjects(ManagerService.java:1083) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.searchSubjects() at org.appng.application.manager.business.Subjects.getData(Subjects.java:106) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:201) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:152) at org.appng.application.manager.business.SubjectsTest.testShowOne(SubjectsTest.java:144) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] ERROR org.appng.application.manager.business.Subjects - User does not exist. org.appng.api.BusinessException: no such subject: 1 at org.appng.application.manager.service.ManagerService.searchSubjects(ManagerService.java:1083) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.searchSubjects() at org.appng.application.manager.business.Subjects.getData(Subjects.java:106) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:201) at org.appng.api.support.CallableAction.retrieveData(CallableAction.java:234) at org.appng.api.support.CallableAction.perform(CallableAction.java:334) at org.appng.api.support.CallableAction.perform(CallableAction.java:308) at org.appng.application.manager.business.SubjectsTest.testUpdate(SubjectsTest.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] INFO org.springframework.context.support.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@ecf2c20: startup date [Wed Jun 09 15:34:05 CEST 2021]; root of context hierarchy [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' 2021-06-09 15:34:09,433 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2021-06-09 15:34:09,663 INFO [HSQLDB Connection @25451bb7] hsqldb.db.HSQLDB79F0FA6696.ENGINE: Database closed [ERROR] Tests run: 8, Failures: 5, Errors: 3, Skipped: 0, Time elapsed: 4.731 s <<< FAILURE! - in org.appng.application.manager.business.SubjectsTest [ERROR] testCreate(org.appng.application.manager.business.SubjectsTest) Time elapsed: 0.135 s <<< ERROR! org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f 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@10e92f8f has been closed already at org.appng.application.manager.business.SubjectsTest.testCreate(SubjectsTest.java:74) [ERROR] testCreateNameExists(org.appng.application.manager.business.SubjectsTest) Time elapsed: 1.584 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '3' but was '2' - comparing at /action[1]/config[1]/meta-data[1]/field[1] to at /action[1]/config[1]/meta-data[1]/field[1] Create user create Field must not be empty Enter at most 255 characters The name must either be a valid e-mail address, or consist of letters, digits, dots, underscores and hyphens or a valid LDAP group reference Field must not be empty Enter at most 64 characters Please enter a valid e-mail address Enter at most 8192 characters Field must not be empty Enter between 2 and 3 characters Failed to create the user. Groups Type Language Password restrictions Timezone LOCAL_USER , org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '3' but was '2' - comparing at /action[1]/config[1]/meta-data[1]/field[1] to at /action[1]/config[1]/meta-data[1]/field[1] at org.appng.application.manager.business.SubjectsTest.testCreateNameExists(SubjectsTest.java:129) [ERROR] testCreateValidationFail(org.appng.application.manager.business.SubjectsTest) Time elapsed: 0.35 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '3' but was '1' - comparing at /action[1]/data[1]/selection[1] to at /action[1]/data[1]/selection[1] Create user create Field must not be empty Enter at most 255 characters The name must either be a valid e-mail address, or consist of letters, digits, dots, underscores and hyphens or a valid LDAP group reference Field must not be empty Field must not be empty Enter at most 64 characters Field must not be empty Please enter a valid e-mail address Please enter an e-mail address. Enter at most 8192 characters Field must not be empty Enter between 2 and 3 characters Field must not be empty Password must contain 1 or more lowercase letters. Password must contain 1 or more uppercase letters. Password must contain 1 or more numbers. Password must contain 1 or more special characters. Allowed are !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ Password must be at least 8 characters long. Password contains illegal character: '§' Groups Type Language Password restrictions Timezone LOCAL_USER , org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '3' but was '1' - comparing at /action[1]/data[1]/selection[1] to at /action[1]/data[1]/selection[1] at org.appng.application.manager.business.SubjectsTest.testCreateValidationFail(SubjectsTest.java:117) [ERROR] testDelete(org.appng.application.manager.business.SubjectsTest) Time elapsed: 0.139 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '1' but was '2' - comparing at /messages[1] to at /messages[1] User does not exist. Failed to delete the user. , org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '1' but was '2' - comparing at /messages[1] to at /messages[1] at org.appng.application.manager.business.SubjectsTest.testDelete(SubjectsTest.java:138) [ERROR] testShowAll(org.appng.application.manager.business.SubjectsTest) Time elapsed: 0.16 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '4' but was '2' - comparing at /datasource[1]/data[1]/selectionGroup[1]/selection[5] to at /datasource[1]/data[1]/selectionGroup[1]/selection[5] Users led_red led_green new edit delete Do you really want to delete the user "#{name}"? Name Real name E-mail Type Group Locked , org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '4' but was '2' - comparing at /datasource[1]/data[1]/selectionGroup[1]/selection[5] to at /datasource[1]/data[1]/selectionGroup[1]/selection[5] at org.appng.application.manager.business.SubjectsTest.testShowAll(SubjectsTest.java:158) [ERROR] testShowAllFilterGroup(org.appng.application.manager.business.SubjectsTest) Time elapsed: 0.15 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '4' but was '2' - comparing at /datasource[1]/data[1]/selectionGroup[1]/selection[5] to at /datasource[1]/data[1]/selectionGroup[1]/selection[5] Users 1 led_red led_green new edit delete Do you really want to delete the user "#{name}"? Name Real name E-mail Type Group Locked , org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '4' but was '2' - comparing at /datasource[1]/data[1]/selectionGroup[1]/selection[5] to at /datasource[1]/data[1]/selectionGroup[1]/selection[5] at org.appng.application.manager.business.SubjectsTest.testShowAllFilterGroup(SubjectsTest.java:165) [ERROR] testShowOne(org.appng.application.manager.business.SubjectsTest) Time elapsed: 0.129 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'user', ID: 302407541 at org.appng.application.manager.business.SubjectsTest.testShowOne(SubjectsTest.java:144) Caused by: org.appng.api.ProcessingException: class org.appng.application.manager.business.Subjects returned null at org.appng.application.manager.business.SubjectsTest.testShowOne(SubjectsTest.java:144) [ERROR] testUpdate(org.appng.application.manager.business.SubjectsTest) Time elapsed: 0.131 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'user', ID: 435553148 at org.appng.application.manager.business.SubjectsTest.testUpdate(SubjectsTest.java:180) Caused by: org.appng.api.ProcessingException: class org.appng.application.manager.business.Subjects returned null at org.appng.application.manager.business.SubjectsTest.testUpdate(SubjectsTest.java:180) [INFO] Running org.appng.application.manager.business.LdapUsersTest [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@283d1259, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@269cc578, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@3be40656, org.springframework.test.context.support.DirtiesContextTestExecutionListener@68a2c4f2, org.springframework.test.context.transaction.TransactionalTestExecutionListener@284dac65, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@68ba0b11] [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@d0cb92e: startup date [Wed Jun 09 15:34:10 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' 2021-06-09 15:34:10,167 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2021-06-09 15:34:10,334 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2021-06-09 15:34:10,342 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2021-06-09 15:34:10,915 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] [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! [main] INFO org.springframework.context.support.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@d0cb92e: startup date [Wed Jun 09 15:34:10 CEST 2021]; root of context hierarchy [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' 2021-06-09 15:34:11,824 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2021-06-09 15:34:12,062 INFO [HSQLDB Connection @1fd5635b] hsqldb.db.HSQLDB79F0FA6696.ENGINE: Database closed [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.266 s <<< FAILURE! - in org.appng.application.manager.business.LdapUsersTest [ERROR] testSettings(org.appng.application.manager.business.LdapUsersTest) Time elapsed: 0.037 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'ldapSettings', ID: 2097765652 at org.appng.application.manager.business.LdapUsersTest.testSettings(LdapUsersTest.java:46) Caused by: java.lang.NullPointerException at org.appng.application.manager.business.LdapUsersTest.testSettings(LdapUsersTest.java:46) [INFO] Running org.appng.application.manager.business.SessionsTest [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@1ea1ab6b, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@1669d376, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@31ddb2e6, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2ec67861, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3daf7421, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@6505f281] [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.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [beans-test.xml] [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'sessions' with a different definition: replacing [Generic bean: class [org.appng.application.manager.business.Sessions]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/var/lib/jenkins/workspace/appNG_Manager/target/classes/org/appng/application/manager/business/Sessions.class]] with [Generic bean: class [org.appng.application.manager.business.SessionsTestBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=true; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [beans-test.xml]] [main] INFO org.springframework.context.support.GenericApplicationContext - Refreshing org.springframework.context.support.GenericApplicationContext@248b5466: startup date [Wed Jun 09 15:34:12 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' 2021-06-09 15:34:12,521 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2021-06-09 15:34:12,683 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2021-06-09 15:34:12,694 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2021-06-09 15:34:13,120 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'default' [main] INFO org.springframework.jdbc.datasource.init.ScriptUtils - Executing SQL script from class path resource [sql/testdata.sql] [main] INFO org.springframework.jdbc.datasource.init.ScriptUtils - Executed SQL script from class path resource [sql/testdata.sql] in 3 ms. [main] WARN org.appng.api.support.RequestFactoryBean - invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! [main] INFO org.springframework.context.support.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@248b5466: startup date [Wed Jun 09 15:34:12 CEST 2021]; root of context hierarchy [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' 2021-06-09 15:34:13,996 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2021-06-09 15:34:14,330 INFO [HSQLDB Connection @18f7ca33] hsqldb.db.HSQLDB79F0FA6696.ENGINE: Database closed [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.263 s - in org.appng.application.manager.business.SessionsTest [INFO] Running org.appng.application.manager.business.SqlExecutorTest [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@54297d8a, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4bcfed68, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@b2ad7a9, org.springframework.test.context.support.DirtiesContextTestExecutionListener@17086b81, org.springframework.test.context.transaction.TransactionalTestExecutionListener@85281c7, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@3c429908] [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.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [beans-test.xml] [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'sessions' with a different definition: replacing [Generic bean: class [org.appng.application.manager.business.Sessions]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/var/lib/jenkins/workspace/appNG_Manager/target/classes/org/appng/application/manager/business/Sessions.class]] with [Generic bean: class [org.appng.application.manager.business.SessionsTestBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=true; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [beans-test.xml]] [main] INFO org.springframework.context.support.GenericApplicationContext - Refreshing org.springframework.context.support.GenericApplicationContext@3508bd75: startup date [Wed Jun 09 15:34:14 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' 2021-06-09 15:34:14,821 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2021-06-09 15:34:14,981 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2021-06-09 15:34:14,992 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2021-06-09 15:34:15,420 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'default' [main] INFO org.springframework.jdbc.datasource.init.ScriptUtils - Executing SQL script from class path resource [sql/testdata.sql] [main] INFO org.springframework.jdbc.datasource.init.ScriptUtils - Executed SQL script from class path resource [sql/testdata.sql] in 2 ms. [main] WARN org.appng.api.support.RequestFactoryBean - invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! [main] INFO org.appng.core.service.MigrationService - connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb () [main] INFO org.flywaydb.core.internal.license.VersionPrinter - Flyway Community Edition 7.9.1 by Redgate [main] INFO org.flywaydb.core.internal.database.base.BaseDatabaseType - Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5) [main] INFO org.springframework.jdbc.datasource.SingleConnectionDataSource - Established shared JDBC Connection: org.hsqldb.jdbc.JDBCConnection@6e9c5918 [main] INFO org.springframework.context.support.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@3508bd75: startup date [Wed Jun 09 15:34:14 CEST 2021]; root of context hierarchy [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' 2021-06-09 15:34:17,087 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2021-06-09 15:34:17,363 INFO [HSQLDB Connection @1c97fc35] hsqldb.db.HSQLDB79F0FA6696.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.028 s - in org.appng.application.manager.business.SqlExecutorTest [INFO] Running org.appng.application.manager.business.PlatformPropertiesTest [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@352ba625, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@1f9d3e77, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@53c5422c, org.springframework.test.context.support.DirtiesContextTestExecutionListener@631c4dfc, org.springframework.test.context.transaction.TransactionalTestExecutionListener@beed534, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7df62cb8] [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@5a90bd2: startup date [Wed Jun 09 15:34:17 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' 2021-06-09 15:34:17,845 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2021-06-09 15:34:18,010 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2021-06-09 15:34:18,017 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2021-06-09 15:34:18,497 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] [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! [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] ERROR org.appng.application.manager.business.Properties - Failed to create the property. org.appng.api.BusinessException: org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.api.support.RequestSupportImpl.handleException(RequestSupportImpl.java:200) at org.appng.api.support.ApplicationRequest.handleException(ApplicationRequest.java:134) at org.appng.application.manager.service.ManagerService.createProperty(ManagerService.java:1512) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.createProperty() at org.appng.application.manager.business.Properties.perform(Properties.java:128) at org.appng.application.manager.business.Properties.perform(Properties.java:50) at org.appng.api.support.CallableAction.execute(CallableAction.java:438) at org.appng.api.support.CallableAction.perform(CallableAction.java:336) at org.appng.api.support.CallableAction.perform(CallableAction.java:308) at org.appng.application.manager.business.PlatformPropertiesTest.testCreate(PlatformPropertiesTest.java:53) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) Caused by: org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:387) at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:526) at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:59) at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:209) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:147) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:140) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$ExposeRepositoryInvocationInterceptor.invoke(CrudMethodMetadataPostProcessor.java:347) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) at com.sun.proxy.$Proxy313.save(Unknown Source) at org.appng.core.service.CoreService.saveProperty(CoreService.java:397) at org.appng.core.service.CoreService.createProperty(CoreService.java:340) at org.appng.application.manager.service.ManagerService.createProperty(ManagerService.java:1509) ... 49 more Caused by: java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.springframework.context.support.AbstractApplicationContext.assertBeanFactoryActive(AbstractApplicationContext.java:1066) at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1189) at org.appng.core.domain.PlatformEventListener.getEventProvider(PlatformEventListener.java:143) at org.appng.core.domain.PlatformEventListener.createEvent(PlatformEventListener.java:114) at org.appng.core.domain.PlatformEventListener.createEvent(PlatformEventListener.java:106) at org.appng.core.domain.PlatformEventListener.createEvent(PlatformEventListener.java:100) at org.appng.core.domain.PlatformEventListener.beforeCreate(PlatformEventListener.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.hibernate.jpa.event.internal.ListenerCallback.performCallback(ListenerCallback.java:35) at org.hibernate.jpa.event.internal.CallbackRegistryImpl.callback(CallbackRegistryImpl.java:95) at org.hibernate.jpa.event.internal.CallbackRegistryImpl.preCreate(CallbackRegistryImpl.java:55) at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:108) at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:185) at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:128) at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:55) at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:99) at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:720) at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:706) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:301) at com.sun.proxy.$Proxy304.persist(Unknown Source) at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:531) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.executeMethodOn(RepositoryFactorySupport.java:515) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:500) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:477) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136) ... 63 more [main] ERROR org.appng.application.manager.business.Properties - Failed to create the property. org.appng.api.BusinessException: org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.api.support.RequestSupportImpl.handleException(RequestSupportImpl.java:200) at org.appng.api.support.ApplicationRequest.handleException(ApplicationRequest.java:134) at org.appng.application.manager.service.ManagerService.createProperty(ManagerService.java:1512) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.createProperty() at org.appng.application.manager.business.Properties.perform(Properties.java:128) at org.appng.application.manager.business.Properties.perform(Properties.java:50) at org.appng.api.support.CallableAction.execute(CallableAction.java:438) at org.appng.api.support.CallableAction.perform(CallableAction.java:336) at org.appng.api.support.CallableAction.perform(CallableAction.java:308) at org.appng.application.manager.business.PlatformPropertiesTest.testCreateBoolean(PlatformPropertiesTest.java:76) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) Caused by: org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:387) at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:526) at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:59) at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:209) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:147) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:140) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$ExposeRepositoryInvocationInterceptor.invoke(CrudMethodMetadataPostProcessor.java:347) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) at com.sun.proxy.$Proxy313.save(Unknown Source) at org.appng.core.service.CoreService.saveProperty(CoreService.java:397) at org.appng.core.service.CoreService.createProperty(CoreService.java:340) at org.appng.application.manager.service.ManagerService.createProperty(ManagerService.java:1509) ... 49 more Caused by: java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.springframework.context.support.AbstractApplicationContext.assertBeanFactoryActive(AbstractApplicationContext.java:1066) at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1189) at org.appng.core.domain.PlatformEventListener.getEventProvider(PlatformEventListener.java:143) at org.appng.core.domain.PlatformEventListener.createEvent(PlatformEventListener.java:114) at org.appng.core.domain.PlatformEventListener.createEvent(PlatformEventListener.java:106) at org.appng.core.domain.PlatformEventListener.createEvent(PlatformEventListener.java:100) at org.appng.core.domain.PlatformEventListener.beforeCreate(PlatformEventListener.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.hibernate.jpa.event.internal.ListenerCallback.performCallback(ListenerCallback.java:35) at org.hibernate.jpa.event.internal.CallbackRegistryImpl.callback(CallbackRegistryImpl.java:95) at org.hibernate.jpa.event.internal.CallbackRegistryImpl.preCreate(CallbackRegistryImpl.java:55) at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:108) at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:185) at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:128) at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:55) at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:99) at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:720) at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:706) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:301) at com.sun.proxy.$Proxy304.persist(Unknown Source) at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:531) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.executeMethodOn(RepositoryFactorySupport.java:515) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:500) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:477) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136) ... 63 more [main] ERROR org.appng.application.manager.business.Properties - Property does not exist. org.appng.api.BusinessException: no such property platform.booleanProp at org.appng.application.manager.service.ManagerService.searchProperties(ManagerService.java:1488) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.searchProperties() at org.appng.application.manager.business.Properties.getData(Properties.java:68) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:201) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:152) at org.appng.application.manager.business.PlatformPropertiesTest.testCreateBoolean(PlatformPropertiesTest.java:80) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] ERROR org.appng.application.manager.business.Properties - Failed to create the property. org.appng.api.BusinessException: org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.api.support.RequestSupportImpl.handleException(RequestSupportImpl.java:200) at org.appng.api.support.ApplicationRequest.handleException(ApplicationRequest.java:134) at org.appng.application.manager.service.ManagerService.createProperty(ManagerService.java:1512) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.createProperty() at org.appng.application.manager.business.Properties.perform(Properties.java:128) at org.appng.application.manager.business.Properties.perform(Properties.java:50) at org.appng.api.support.CallableAction.execute(CallableAction.java:438) at org.appng.api.support.CallableAction.perform(CallableAction.java:336) at org.appng.api.support.CallableAction.perform(CallableAction.java:308) at org.appng.application.manager.business.PlatformPropertiesTest.testCreateMultiline(PlatformPropertiesTest.java:91) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) Caused by: org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:387) at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:526) at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:59) at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:209) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:147) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:140) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$ExposeRepositoryInvocationInterceptor.invoke(CrudMethodMetadataPostProcessor.java:347) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) at com.sun.proxy.$Proxy313.save(Unknown Source) at org.appng.core.service.CoreService.saveProperty(CoreService.java:397) at org.appng.core.service.CoreService.createProperty(CoreService.java:340) at org.appng.application.manager.service.ManagerService.createProperty(ManagerService.java:1509) ... 49 more Caused by: java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.springframework.context.support.AbstractApplicationContext.assertBeanFactoryActive(AbstractApplicationContext.java:1066) at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1189) at org.appng.core.domain.PlatformEventListener.getEventProvider(PlatformEventListener.java:143) at org.appng.core.domain.PlatformEventListener.createEvent(PlatformEventListener.java:114) at org.appng.core.domain.PlatformEventListener.createEvent(PlatformEventListener.java:106) at org.appng.core.domain.PlatformEventListener.createEvent(PlatformEventListener.java:100) at org.appng.core.domain.PlatformEventListener.beforeCreate(PlatformEventListener.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.hibernate.jpa.event.internal.ListenerCallback.performCallback(ListenerCallback.java:35) at org.hibernate.jpa.event.internal.CallbackRegistryImpl.callback(CallbackRegistryImpl.java:95) at org.hibernate.jpa.event.internal.CallbackRegistryImpl.preCreate(CallbackRegistryImpl.java:55) at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:108) at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:185) at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:128) at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:55) at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:99) at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:720) at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:706) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:301) at com.sun.proxy.$Proxy304.persist(Unknown Source) at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:531) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.executeMethodOn(RepositoryFactorySupport.java:515) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:500) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:477) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136) ... 63 more [main] ERROR org.appng.application.manager.business.Properties - Property does not exist. org.appng.api.BusinessException: no such property platform.multilineProp at org.appng.application.manager.service.ManagerService.searchProperties(ManagerService.java:1488) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.searchProperties() at org.appng.application.manager.business.Properties.getData(Properties.java:68) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:201) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:152) at org.appng.application.manager.business.PlatformPropertiesTest.testCreateMultiline(PlatformPropertiesTest.java:95) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] ERROR org.appng.application.manager.business.Properties - Property does not exist. org.appng.api.BusinessException: no such property platform.testproperty at org.appng.application.manager.service.ManagerService.searchProperties(ManagerService.java:1488) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.searchProperties() at org.appng.application.manager.business.Properties.getData(Properties.java:68) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:201) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:152) at org.appng.application.manager.business.PlatformPropertiesTest.testShowOne(PlatformPropertiesTest.java:121) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] ERROR org.appng.application.manager.business.Properties - Property does not exist. org.appng.api.BusinessException: no such property platform.testproperty at org.appng.application.manager.service.ManagerService.searchProperties(ManagerService.java:1488) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.searchProperties() at org.appng.application.manager.business.Properties.getData(Properties.java:68) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:201) at org.appng.api.support.CallableAction.retrieveData(CallableAction.java:234) at org.appng.api.support.CallableAction.perform(CallableAction.java:334) at org.appng.api.support.CallableAction.perform(CallableAction.java:308) at org.appng.application.manager.business.PlatformPropertiesTest.testUpdate(PlatformPropertiesTest.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] ERROR org.appng.application.manager.business.Properties - Property does not exist. org.appng.api.BusinessException: no such property platform.testproperty at org.appng.application.manager.service.ManagerService.searchProperties(ManagerService.java:1488) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.searchProperties() at org.appng.application.manager.business.Properties.getData(Properties.java:68) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:201) at org.appng.api.support.CallableAction.retrieveData(CallableAction.java:234) at org.appng.api.support.CallableAction.perform(CallableAction.java:334) at org.appng.api.support.CallableAction.perform(CallableAction.java:308) at org.appng.application.manager.business.PlatformPropertiesTest.testUpdateStringOrClob(PlatformPropertiesTest.java:146) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] INFO org.springframework.context.support.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@5a90bd2: startup date [Wed Jun 09 15:34:17 CEST 2021]; root of context hierarchy [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' 2021-06-09 15:34:21,116 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2021-06-09 15:34:21,688 INFO [HSQLDB Connection @2129b0f0] hsqldb.db.HSQLDB79F0FA6696.ENGINE: Database closed [ERROR] Tests run: 8, Failures: 2, Errors: 5, Skipped: 0, Time elapsed: 4.319 s <<< FAILURE! - in org.appng.application.manager.business.PlatformPropertiesTest [ERROR] testCreate(org.appng.application.manager.business.PlatformPropertiesTest) Time elapsed: 0.426 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value 'OK' but was 'ERROR' - comparing at /messages[1]/message[1]/@class to at /messages[1]/message[1]/@class Failed to create the property. , org.custommonkey.xmlunit.Diff [different] Expected attribute value 'OK' but was 'ERROR' - comparing at /messages[1]/message[1]/@class to at /messages[1]/message[1]/@class at org.appng.application.manager.business.PlatformPropertiesTest.testCreate(PlatformPropertiesTest.java:54) [ERROR] testCreateBoolean(org.appng.application.manager.business.PlatformPropertiesTest) Time elapsed: 0.468 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'property', ID: 737319191 at org.appng.application.manager.business.PlatformPropertiesTest.testCreateBoolean(PlatformPropertiesTest.java:80) Caused by: org.appng.api.ProcessingException: class org.appng.application.manager.business.Properties returned null at org.appng.application.manager.business.PlatformPropertiesTest.testCreateBoolean(PlatformPropertiesTest.java:80) [ERROR] testCreateMultiline(org.appng.application.manager.business.PlatformPropertiesTest) Time elapsed: 0.464 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'property', ID: 375973144 at org.appng.application.manager.business.PlatformPropertiesTest.testCreateMultiline(PlatformPropertiesTest.java:95) Caused by: org.appng.api.ProcessingException: class org.appng.application.manager.business.Properties returned null at org.appng.application.manager.business.PlatformPropertiesTest.testCreateMultiline(PlatformPropertiesTest.java:95) [ERROR] testShowAll(org.appng.application.manager.business.PlatformPropertiesTest) Time elapsed: 0.143 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value '4' but was '0' - comparing at /datasource[1]/data[1]/resultset[1]/@hits to at /datasource[1]/data[1]/resultset[1]/@hits Platform properties led_orange led_green new reload Do you really want to reload the platform? edit delete Do you really want to delete the property "#{shortName}"? , org.custommonkey.xmlunit.Diff [different] Expected attribute value '4' but was '0' - comparing at /datasource[1]/data[1]/resultset[1]/@hits to at /datasource[1]/data[1]/resultset[1]/@hits at org.appng.application.manager.business.PlatformPropertiesTest.testShowAll(PlatformPropertiesTest.java:114) [ERROR] testShowOne(org.appng.application.manager.business.PlatformPropertiesTest) Time elapsed: 0.138 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'property', ID: 421273171 at org.appng.application.manager.business.PlatformPropertiesTest.testShowOne(PlatformPropertiesTest.java:121) Caused by: org.appng.api.ProcessingException: class org.appng.application.manager.business.Properties returned null at org.appng.application.manager.business.PlatformPropertiesTest.testShowOne(PlatformPropertiesTest.java:121) [ERROR] testUpdate(org.appng.application.manager.business.PlatformPropertiesTest) Time elapsed: 0.146 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'property', ID: 1765104271 at org.appng.application.manager.business.PlatformPropertiesTest.testUpdate(PlatformPropertiesTest.java:131) Caused by: org.appng.api.ProcessingException: class org.appng.application.manager.business.Properties returned null at org.appng.application.manager.business.PlatformPropertiesTest.testUpdate(PlatformPropertiesTest.java:131) [ERROR] testUpdateStringOrClob(org.appng.application.manager.business.PlatformPropertiesTest) Time elapsed: 0.127 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'property', ID: 2078089354 at org.appng.application.manager.business.PlatformPropertiesTest.testUpdateStringOrClob(PlatformPropertiesTest.java:146) Caused by: org.appng.api.ProcessingException: class org.appng.application.manager.business.Properties returned null at org.appng.application.manager.business.PlatformPropertiesTest.testUpdateStringOrClob(PlatformPropertiesTest.java:146) [INFO] Running org.appng.application.manager.business.GroupsTest [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@23b39b5e, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@7d36d75e, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@469e58fe, org.springframework.test.context.support.DirtiesContextTestExecutionListener@477067ee, org.springframework.test.context.transaction.TransactionalTestExecutionListener@78a67d35, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@3361d958] [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@4307767a: startup date [Wed Jun 09 15:34:22 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' 2021-06-09 15:34:22,178 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2021-06-09 15:34:22,342 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2021-06-09 15:34:22,352 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2021-06-09 15:34:22,807 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] [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! [main] ERROR org.appng.application.manager.business.Groups - Group does not exist. org.appng.api.BusinessException: no such group : 1 at org.appng.application.manager.service.ManagerService.searchGroups(ManagerService.java:317) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.searchGroups() at org.appng.application.manager.business.Groups.getData(Groups.java:90) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:201) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:152) at org.appng.application.manager.business.GroupsTest.testShowGroup(GroupsTest.java:105) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] ERROR org.appng.application.manager.business.Groups - Group does not exist. org.appng.api.BusinessException: no such group : 4 at org.appng.application.manager.service.ManagerService.searchGroups(ManagerService.java:317) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.searchGroups() at org.appng.application.manager.business.Groups.getData(Groups.java:90) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:201) at org.appng.api.support.CallableAction.retrieveData(CallableAction.java:234) at org.appng.api.support.CallableAction.perform(CallableAction.java:334) at org.appng.api.support.CallableAction.perform(CallableAction.java:308) at org.appng.application.manager.business.GroupsTest.testUpdateAdminGroup(GroupsTest.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] ERROR org.appng.application.manager.business.Groups - Group does not exist. org.appng.api.BusinessException: no such group : 1 at org.appng.application.manager.service.ManagerService.searchGroups(ManagerService.java:317) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.searchGroups() at org.appng.application.manager.business.Groups.getData(Groups.java:90) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:201) at org.appng.api.support.CallableAction.retrieveData(CallableAction.java:234) at org.appng.api.support.CallableAction.perform(CallableAction.java:334) at org.appng.api.support.CallableAction.perform(CallableAction.java:308) at org.appng.application.manager.business.GroupsTest.testUpdateGroup(GroupsTest.java:153) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] INFO org.springframework.context.support.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@4307767a: startup date [Wed Jun 09 15:34:22 CEST 2021]; root of context hierarchy [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' 2021-06-09 15:34:24,368 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2021-06-09 15:34:25,094 INFO [HSQLDB Connection @211088f3] hsqldb.db.HSQLDB79F0FA6696.ENGINE: Database closed [ERROR] Tests run: 8, Failures: 1, Errors: 7, Skipped: 0, Time elapsed: 3.398 s <<< FAILURE! - in org.appng.application.manager.business.GroupsTest [ERROR] testCreateGroup(org.appng.application.manager.business.GroupsTest) Time elapsed: 0.145 s <<< ERROR! org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.GroupsTest.testCreateGroup(GroupsTest.java:49) Caused by: java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.GroupsTest.testCreateGroup(GroupsTest.java:49) [ERROR] testCreateGroupNameExists(org.appng.application.manager.business.GroupsTest) Time elapsed: 0.164 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'new-group', ID: 663019105 at org.appng.application.manager.business.GroupsTest.testCreateGroupNameExists(GroupsTest.java:88) Caused by: java.lang.NullPointerException at org.appng.application.manager.business.GroupsTest.testCreateGroupNameExists(GroupsTest.java:88) [ERROR] testDeleteGroup(org.appng.application.manager.business.GroupsTest) Time elapsed: 0.125 s <<< ERROR! org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.GroupsTest.createGroup(GroupsTest.java:170) at org.appng.application.manager.business.GroupsTest.testDeleteGroup(GroupsTest.java:94) Caused by: java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.GroupsTest.createGroup(GroupsTest.java:170) at org.appng.application.manager.business.GroupsTest.testDeleteGroup(GroupsTest.java:94) [ERROR] testShowGroup(org.appng.application.manager.business.GroupsTest) Time elapsed: 0.128 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'group', ID: 384929935 at org.appng.application.manager.business.GroupsTest.testShowGroup(GroupsTest.java:105) Caused by: org.appng.api.ProcessingException: class org.appng.application.manager.business.Groups returned null at org.appng.application.manager.business.GroupsTest.testShowGroup(GroupsTest.java:105) [ERROR] testShowGroups(org.appng.application.manager.business.GroupsTest) Time elapsed: 0.126 s <<< ERROR! org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.GroupsTest.createGroup(GroupsTest.java:170) at org.appng.application.manager.business.GroupsTest.testShowGroups(GroupsTest.java:112) Caused by: java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.GroupsTest.createGroup(GroupsTest.java:170) at org.appng.application.manager.business.GroupsTest.testShowGroups(GroupsTest.java:112) [ERROR] testShowGroupsFilterName(org.appng.application.manager.business.GroupsTest) Time elapsed: 0.146 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of element attributes '2' but was '0' - comparing at /datasource[1]/config[1]/meta-data[1]/field[1]/sort[1] to at /datasource[1]/config[1]/meta-data[1]/field[1]/sort[1] Groups admin new edit delete Do you really want to delete the group "${current.name}"? Name , org.custommonkey.xmlunit.Diff [different] Expected number of element attributes '2' but was '0' - comparing at /datasource[1]/config[1]/meta-data[1]/field[1]/sort[1] to at /datasource[1]/config[1]/meta-data[1]/field[1]/sort[1] at org.appng.application.manager.business.GroupsTest.testShowGroupsFilterName(GroupsTest.java:131) [ERROR] testUpdateAdminGroup(org.appng.application.manager.business.GroupsTest) Time elapsed: 0.127 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'group', ID: 1008783574 at org.appng.application.manager.business.GroupsTest.testUpdateAdminGroup(GroupsTest.java:141) Caused by: org.appng.api.ProcessingException: class org.appng.application.manager.business.Groups returned null at org.appng.application.manager.business.GroupsTest.testUpdateAdminGroup(GroupsTest.java:141) [ERROR] testUpdateGroup(org.appng.application.manager.business.GroupsTest) Time elapsed: 0.129 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'group', ID: 276081120 at org.appng.application.manager.business.GroupsTest.testUpdateGroup(GroupsTest.java:153) Caused by: org.appng.api.ProcessingException: class org.appng.application.manager.business.Groups returned null at org.appng.application.manager.business.GroupsTest.testUpdateGroup(GroupsTest.java:153) [INFO] Running org.appng.application.manager.business.SitePropertiesTest [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@7aeaf50a, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3947c282, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@9239015, org.springframework.test.context.support.DirtiesContextTestExecutionListener@70d9b2a, org.springframework.test.context.transaction.TransactionalTestExecutionListener@2a627c64, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@2db6f878] [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@533f6e12: startup date [Wed Jun 09 15:34:25 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' 2021-06-09 15:34:25,557 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2021-06-09 15:34:25,718 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2021-06-09 15:34:25,729 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2021-06-09 15:34:26,291 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] [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! [main] ERROR org.appng.application.manager.business.Properties - Property does not exist. org.appng.api.BusinessException: no such property platform.site.localhost.testproperty at org.appng.application.manager.service.ManagerService.searchProperties(ManagerService.java:1488) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.searchProperties() at org.appng.application.manager.business.Properties.getData(Properties.java:68) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:201) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:152) at org.appng.application.manager.business.SitePropertiesTest.testShowOne(SitePropertiesTest.java:96) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] ERROR org.appng.application.manager.business.Properties - Property does not exist. org.appng.api.BusinessException: no such property platform.site.localhost.testproperty at org.appng.application.manager.service.ManagerService.searchProperties(ManagerService.java:1488) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.searchProperties() at org.appng.application.manager.business.Properties.getData(Properties.java:68) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:201) at org.appng.api.support.CallableAction.retrieveData(CallableAction.java:234) at org.appng.api.support.CallableAction.perform(CallableAction.java:334) at org.appng.api.support.CallableAction.perform(CallableAction.java:308) at org.appng.application.manager.business.SitePropertiesTest.testUpdate(SitePropertiesTest.java:108) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] INFO org.springframework.context.support.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@533f6e12: startup date [Wed Jun 09 15:34:25 CEST 2021]; root of context hierarchy [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' 2021-06-09 15:34:27,726 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2021-06-09 15:34:27,958 INFO [HSQLDB Connection @2816a601] hsqldb.db.HSQLDB79F0FA6696.ENGINE: Database closed [ERROR] Tests run: 4, Failures: 1, Errors: 3, Skipped: 0, Time elapsed: 2.848 s <<< FAILURE! - in org.appng.application.manager.business.SitePropertiesTest [ERROR] testCreate(org.appng.application.manager.business.SitePropertiesTest) Time elapsed: 0.159 s <<< ERROR! org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.SitePropertiesTest.testCreate(SitePropertiesTest.java:54) Caused by: java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.SitePropertiesTest.testCreate(SitePropertiesTest.java:54) [ERROR] testShowAll(org.appng.application.manager.business.SitePropertiesTest) Time elapsed: 0.215 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value '3' but was '0' - comparing at /datasource[1]/data[1]/resultset[1]/@hits to at /datasource[1]/data[1]/resultset[1]/@hits Site properties 1 led_orange led_green new edit delete Do you really want to delete the property "#{shortName}"? , org.custommonkey.xmlunit.Diff [different] Expected attribute value '3' but was '0' - comparing at /datasource[1]/data[1]/resultset[1]/@hits to at /datasource[1]/data[1]/resultset[1]/@hits at org.appng.application.manager.business.SitePropertiesTest.testShowAll(SitePropertiesTest.java:89) [ERROR] testShowOne(org.appng.application.manager.business.SitePropertiesTest) Time elapsed: 0.147 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'property', ID: 628365034 at org.appng.application.manager.business.SitePropertiesTest.testShowOne(SitePropertiesTest.java:96) Caused by: org.appng.api.ProcessingException: class org.appng.application.manager.business.Properties returned null at org.appng.application.manager.business.SitePropertiesTest.testShowOne(SitePropertiesTest.java:96) [ERROR] testUpdate(org.appng.application.manager.business.SitePropertiesTest) Time elapsed: 0.164 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'property', ID: 156226579 at org.appng.application.manager.business.SitePropertiesTest.testUpdate(SitePropertiesTest.java:108) Caused by: org.appng.api.ProcessingException: class org.appng.application.manager.business.Properties returned null at org.appng.application.manager.business.SitePropertiesTest.testUpdate(SitePropertiesTest.java:108) [INFO] Running org.appng.application.manager.business.AbstractTest [WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in org.appng.application.manager.business.AbstractTest [INFO] Running org.appng.application.manager.business.ClusterStateTest [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@eff8a63, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@555b0056, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@7609cb6c, org.springframework.test.context.support.DirtiesContextTestExecutionListener@3d398d3d, org.springframework.test.context.transaction.TransactionalTestExecutionListener@4fe7b46b, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@42b35471] [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@bf88ff3: startup date [Wed Jun 09 15:34:28 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' 2021-06-09 15:34:28,471 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2021-06-09 15:34:28,715 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2021-06-09 15:34:28,732 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2021-06-09 15:34:29,154 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] [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! [main] INFO org.springframework.context.support.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@bf88ff3: startup date [Wed Jun 09 15:34:28 CEST 2021]; root of context hierarchy [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' 2021-06-09 15:34:29,651 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2021-06-09 15:34:30,036 INFO [HSQLDB Connection @3ff75c40] hsqldb.db.HSQLDB79F0FA6696.ENGINE: Database closed [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.053 s <<< FAILURE! - in org.appng.application.manager.business.ClusterStateTest [ERROR] testClusterState(org.appng.application.manager.business.ClusterStateTest) Time elapsed: 0.043 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'clusterState', ID: 1713803293 at org.appng.application.manager.business.ClusterStateTest.testClusterState(ClusterStateTest.java:38) Caused by: java.lang.NullPointerException at org.appng.application.manager.business.ClusterStateTest.testClusterState(ClusterStateTest.java:38) [INFO] Running org.appng.application.manager.business.PermissionsTest [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@4786f6d2, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4726fa7, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4cdf378c, org.springframework.test.context.support.DirtiesContextTestExecutionListener@56a718f0, org.springframework.test.context.transaction.TransactionalTestExecutionListener@26e75490, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@317f18bc] [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@6aa7d2a5: startup date [Wed Jun 09 15:34:30 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' 2021-06-09 15:34:30,487 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2021-06-09 15:34:30,649 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2021-06-09 15:34:30,658 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2021-06-09 15:34:31,078 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] [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! [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] ERROR org.appng.application.manager.business.Permissions - Failed to delete the permission. org.appng.api.BusinessException: No such permission 3 at org.appng.application.manager.service.ManagerService.deletePermission(ManagerService.java:197) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.deletePermission() at org.appng.application.manager.business.Permissions.perform(Permissions.java:65) at org.appng.application.manager.business.Permissions.perform(Permissions.java:42) at org.appng.api.support.CallableAction.execute(CallableAction.java:438) at org.appng.api.support.CallableAction.perform(CallableAction.java:336) at org.appng.api.support.CallableAction.perform(CallableAction.java:308) at org.appng.application.manager.business.PermissionsTest.testDeletePermission(PermissionsTest.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] ERROR org.appng.application.manager.business.Permissions - Permission does not exist. org.appng.api.BusinessException: no such permission 1 at org.appng.application.manager.service.ManagerService.searchPermissions(ManagerService.java:1469) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.searchPermissions() at org.appng.application.manager.business.Permissions.getData(Permissions.java:89) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:201) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:152) at org.appng.application.manager.business.PermissionsTest.testShowPermission(PermissionsTest.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] ERROR org.appng.application.manager.business.Permissions - Permission does not exist. org.appng.api.BusinessException: no such permission 1 at org.appng.application.manager.service.ManagerService.searchPermissions(ManagerService.java:1469) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.searchPermissions() at org.appng.application.manager.business.Permissions.getData(Permissions.java:89) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:201) at org.appng.api.support.CallableAction.retrieveData(CallableAction.java:234) at org.appng.api.support.CallableAction.perform(CallableAction.java:334) at org.appng.api.support.CallableAction.perform(CallableAction.java:308) at org.appng.application.manager.business.PermissionsTest.testUpdate(PermissionsTest.java:122) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] INFO org.springframework.context.support.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@6aa7d2a5: startup date [Wed Jun 09 15:34:30 CEST 2021]; root of context hierarchy [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' 2021-06-09 15:34:32,527 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2021-06-09 15:34:32,785 INFO [HSQLDB Connection @56985860] hsqldb.db.HSQLDB79F0FA6696.ENGINE: Database closed [ERROR] Tests run: 6, Failures: 2, Errors: 4, Skipped: 0, Time elapsed: 2.741 s <<< FAILURE! - in org.appng.application.manager.business.PermissionsTest [ERROR] testCreate(org.appng.application.manager.business.PermissionsTest) Time elapsed: 0.136 s <<< ERROR! org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.PermissionsTest.testCreate(PermissionsTest.java:41) Caused by: java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.PermissionsTest.testCreate(PermissionsTest.java:41) [ERROR] testCreateNameExists(org.appng.application.manager.business.PermissionsTest) Time elapsed: 0.275 s <<< ERROR! org.appng.api.ProcessingException: error performing action 'create-permission' of event 'permissionEvent', ID: 357117285 at org.appng.application.manager.business.PermissionsTest.testCreateNameExists(PermissionsTest.java:83) Caused by: java.lang.NullPointerException at org.appng.application.manager.business.PermissionsTest.testCreateNameExists(PermissionsTest.java:83) [ERROR] testDeletePermission(org.appng.application.manager.business.PermissionsTest) Time elapsed: 0.136 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '1' but was '2' - comparing at /messages[1] to at /messages[1] Permission does not exist. Failed to delete the permission. , org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '1' but was '2' - comparing at /messages[1] to at /messages[1] at org.appng.application.manager.business.PermissionsTest.testDeletePermission(PermissionsTest.java:93) [ERROR] testShowPermission(org.appng.application.manager.business.PermissionsTest) Time elapsed: 0.131 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'permission', ID: 1404753438 at org.appng.application.manager.business.PermissionsTest.testShowPermission(PermissionsTest.java:100) Caused by: org.appng.api.ProcessingException: class org.appng.application.manager.business.Permissions returned null at org.appng.application.manager.business.PermissionsTest.testShowPermission(PermissionsTest.java:100) [ERROR] testShowPermissions(org.appng.application.manager.business.PermissionsTest) Time elapsed: 0.142 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value '2' but was '0' - comparing at /datasource[1]/data[1]/resultset[1]/@hits to at /datasource[1]/data[1]/resultset[1]/@hits Permissions 1 new edit delete Do you really want to delete the permission "#{name}"? , org.custommonkey.xmlunit.Diff [different] Expected attribute value '2' but was '0' - comparing at /datasource[1]/data[1]/resultset[1]/@hits to at /datasource[1]/data[1]/resultset[1]/@hits at org.appng.application.manager.business.PermissionsTest.testShowPermissions(PermissionsTest.java:111) [ERROR] testUpdate(org.appng.application.manager.business.PermissionsTest) Time elapsed: 0.133 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'permission', ID: 1170842122 at org.appng.application.manager.business.PermissionsTest.testUpdate(PermissionsTest.java:122) Caused by: org.appng.api.ProcessingException: class org.appng.application.manager.business.Permissions returned null at org.appng.application.manager.business.PermissionsTest.testUpdate(PermissionsTest.java:122) [INFO] Running org.appng.application.manager.business.RoleTest [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@34db5fec, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@13a06717, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@14e09438, org.springframework.test.context.support.DirtiesContextTestExecutionListener@11e10bf8, org.springframework.test.context.transaction.TransactionalTestExecutionListener@7f2b0217, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@6fa34a3a] [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@66d5286f: startup date [Wed Jun 09 15:34:33 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' 2021-06-09 15:34:33,260 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2021-06-09 15:34:33,423 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2021-06-09 15:34:33,431 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2021-06-09 15:34:33,893 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] [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! [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] WARN org.springframework.context.support.ResourceBundleMessageSource - ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en [main] ERROR org.appng.application.manager.business.Roles - error while performing action org.appng.api.BusinessException: No such ApplicationRole 2 at org.appng.core.service.CoreService.deleteRole(CoreService.java:1482) at org.appng.application.manager.service.ManagerService.deleteRole(ManagerService.java:208) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.deleteRole() at org.appng.application.manager.business.Roles.perform(Roles.java:65) at org.appng.application.manager.business.Roles.perform(Roles.java:42) at org.appng.api.support.CallableAction.execute(CallableAction.java:438) at org.appng.api.support.CallableAction.perform(CallableAction.java:336) at org.appng.api.support.CallableAction.perform(CallableAction.java:308) at org.appng.application.manager.business.RoleTest.testDelete(RoleTest.java:95) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] ERROR org.appng.application.manager.business.Roles - Role does not exist. org.appng.api.BusinessException: no such Role 1 at org.appng.application.manager.service.ManagerService.searchRole(ManagerService.java:703) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.searchRole() at org.appng.application.manager.business.Roles.getData(Roles.java:86) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:201) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:152) at org.appng.application.manager.business.RoleTest.testShowOne(RoleTest.java:102) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] ERROR org.appng.application.manager.business.Roles - Role does not exist. org.appng.api.BusinessException: no such Role 1 at org.appng.application.manager.service.ManagerService.searchRole(ManagerService.java:703) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$fdc946df.searchRole() at org.appng.application.manager.business.Roles.getData(Roles.java:86) at org.appng.api.support.CallableDataSource.perform(CallableDataSource.java:201) at org.appng.api.support.CallableAction.retrieveData(CallableAction.java:234) at org.appng.api.support.CallableAction.perform(CallableAction.java:334) at org.appng.api.support.CallableAction.perform(CallableAction.java:308) at org.appng.application.manager.business.RoleTest.testUpdate(RoleTest.java:125) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [main] INFO org.springframework.context.support.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@66d5286f: startup date [Wed Jun 09 15:34:33 CEST 2021]; root of context hierarchy [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' 2021-06-09 15:34:35,462 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2021-06-09 15:34:35,758 INFO [HSQLDB Connection @2e8a8cef] hsqldb.db.HSQLDB79F0FA6696.ENGINE: Database closed [ERROR] Tests run: 6, Failures: 2, Errors: 4, Skipped: 0, Time elapsed: 2.957 s <<< FAILURE! - in org.appng.application.manager.business.RoleTest [ERROR] testCreate(org.appng.application.manager.business.RoleTest) Time elapsed: 0.14 s <<< ERROR! org.springframework.dao.InvalidDataAccessApiUsageException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already; nested exception is java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.RoleTest.testCreate(RoleTest.java:43) Caused by: java.lang.IllegalStateException: org.springframework.context.support.GenericApplicationContext@10e92f8f has been closed already at org.appng.application.manager.business.RoleTest.testCreate(RoleTest.java:43) [ERROR] testCreateNameExists(org.appng.application.manager.business.RoleTest) Time elapsed: 0.277 s <<< ERROR! org.appng.api.ProcessingException: error performing action 'create-role' of event 'roleEvent', ID: 1216812198 at org.appng.application.manager.business.RoleTest.testCreateNameExists(RoleTest.java:86) Caused by: java.lang.NullPointerException at org.appng.application.manager.business.RoleTest.testCreateNameExists(RoleTest.java:86) [ERROR] testDelete(org.appng.application.manager.business.RoleTest) Time elapsed: 0.145 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value 'OK' but was 'ERROR' - comparing at /messages[1]/message[1]/@class to at /messages[1]/message[1]/@class Role does not exist. , org.custommonkey.xmlunit.Diff [different] Expected attribute value 'OK' but was 'ERROR' - comparing at /messages[1]/message[1]/@class to at /messages[1]/message[1]/@class at org.appng.application.manager.business.RoleTest.testDelete(RoleTest.java:96) [ERROR] testShowAll(org.appng.application.manager.business.RoleTest) Time elapsed: 0.138 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value '1' but was '0' - comparing at /datasource[1]/data[1]/resultset[1]/@hits to at /datasource[1]/data[1]/resultset[1]/@hits Roles 1 new edit delete Do you really want to delete the role "#{name}"? , org.custommonkey.xmlunit.Diff [different] Expected attribute value '1' but was '0' - comparing at /datasource[1]/data[1]/resultset[1]/@hits to at /datasource[1]/data[1]/resultset[1]/@hits at org.appng.application.manager.business.RoleTest.testShowAll(RoleTest.java:112) [ERROR] testShowOne(org.appng.application.manager.business.RoleTest) Time elapsed: 0.133 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'role', ID: 1037774243 at org.appng.application.manager.business.RoleTest.testShowOne(RoleTest.java:102) Caused by: org.appng.api.ProcessingException: class org.appng.application.manager.business.Roles returned null at org.appng.application.manager.business.RoleTest.testShowOne(RoleTest.java:102) [ERROR] testUpdate(org.appng.application.manager.business.RoleTest) Time elapsed: 0.135 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'role', ID: 1313873440 at org.appng.application.manager.business.RoleTest.testUpdate(RoleTest.java:125) Caused by: org.appng.api.ProcessingException: class org.appng.application.manager.business.Roles returned null at org.appng.application.manager.business.RoleTest.testUpdate(RoleTest.java:125) [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] ApplicationPropertiesTest.testShowAll:63->TestBase.validate:522 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value '2' but was '0' - comparing at /datasource[1]/data[1]/resultset[1]/@hits to at /datasource[1]/data[1]/resultset[1]/@hits Application properties 1 led_orange led_green new edit delete Do you really want to delete the property "#{shortName}"? , org.custommonkey.xmlunit.Diff [different] Expected attribute value '2' but was '0' - comparing at /datasource[1]/data[1]/resultset[1]/@hits to at /datasource[1]/data[1]/resultset[1]/@hits [ERROR] GroupsTest.testShowGroupsFilterName:131->TestBase.validate:522 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of element attributes '2' but was '0' - comparing at /datasource[1]/config[1]/meta-data[1]/field[1]/sort[1] to at /datasource[1]/config[1]/meta-data[1]/field[1]/sort[1] Groups admin new edit delete Do you really want to delete the group "${current.name}"? Name , org.custommonkey.xmlunit.Diff [different] Expected number of element attributes '2' but was '0' - comparing at /datasource[1]/config[1]/meta-data[1]/field[1]/sort[1] to at /datasource[1]/config[1]/meta-data[1]/field[1]/sort[1] [ERROR] PermissionsTest.testDeletePermission:93->TestBase.validate:522 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '1' but was '2' - comparing at /messages[1] to at /messages[1] Permission does not exist. Failed to delete the permission. , org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '1' but was '2' - comparing at /messages[1] to at /messages[1] [ERROR] PermissionsTest.testShowPermissions:111->TestBase.validate:522 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value '2' but was '0' - comparing at /datasource[1]/data[1]/resultset[1]/@hits to at /datasource[1]/data[1]/resultset[1]/@hits Permissions 1 new edit delete Do you really want to delete the permission "#{name}"? , org.custommonkey.xmlunit.Diff [different] Expected attribute value '2' but was '0' - comparing at /datasource[1]/data[1]/resultset[1]/@hits to at /datasource[1]/data[1]/resultset[1]/@hits [ERROR] PlatformPropertiesTest.testCreate:54->TestBase.validate:522 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value 'OK' but was 'ERROR' - comparing at /messages[1]/message[1]/@class to at /messages[1]/message[1]/@class Failed to create the property. , org.custommonkey.xmlunit.Diff [different] Expected attribute value 'OK' but was 'ERROR' - comparing at /messages[1]/message[1]/@class to at /messages[1]/message[1]/@class [ERROR] PlatformPropertiesTest.testShowAll:114->TestBase.validate:522 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value '4' but was '0' - comparing at /datasource[1]/data[1]/resultset[1]/@hits to at /datasource[1]/data[1]/resultset[1]/@hits Platform properties led_orange led_green new reload Do you really want to reload the platform? edit delete Do you really want to delete the property "#{shortName}"? , org.custommonkey.xmlunit.Diff [different] Expected attribute value '4' but was '0' - comparing at /datasource[1]/data[1]/resultset[1]/@hits to at /datasource[1]/data[1]/resultset[1]/@hits [ERROR] RepositoriesTest.testCreateRepository:51->TestBase.validate:537 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '6' but was '7' - comparing at /action[1] to at /action[1] Create repository create Field must not be empty Enter at most 64 characters Enter at most 8192 characters Failed to create the repository. repositoryType repositoryMode LOCAL false , org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '6' but was '7' - comparing at /action[1] to at /action[1] [ERROR] RepositoriesTest.testCreateRepositoryNameExists:63->TestBase.validate:522 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '3' but was '2' - comparing at /action[1]/config[1]/meta-data[1]/field[1] to at /action[1]/config[1]/meta-data[1]/field[1] Create repository create Field must not be empty Enter at most 64 characters Enter at most 8192 characters Failed to create the repository. repositoryType repositoryMode LOCAL false , org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '3' but was '2' - comparing at /action[1]/config[1]/meta-data[1]/field[1] to at /action[1]/config[1]/meta-data[1]/field[1] [ERROR] RoleTest.testDelete:96->TestBase.validate:522 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value 'OK' but was 'ERROR' - comparing at /messages[1]/message[1]/@class to at /messages[1]/message[1]/@class Role does not exist. , org.custommonkey.xmlunit.Diff [different] Expected attribute value 'OK' but was 'ERROR' - comparing at /messages[1]/message[1]/@class to at /messages[1]/message[1]/@class [ERROR] RoleTest.testShowAll:112->TestBase.validate:522 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value '1' but was '0' - comparing at /datasource[1]/data[1]/resultset[1]/@hits to at /datasource[1]/data[1]/resultset[1]/@hits Roles 1 new edit delete Do you really want to delete the role "#{name}"? , org.custommonkey.xmlunit.Diff [different] Expected attribute value '1' but was '0' - comparing at /datasource[1]/data[1]/resultset[1]/@hits to at /datasource[1]/data[1]/resultset[1]/@hits [ERROR] SitePropertiesTest.testShowAll:89->TestBase.validate:522 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value '3' but was '0' - comparing at /datasource[1]/data[1]/resultset[1]/@hits to at /datasource[1]/data[1]/resultset[1]/@hits Site properties 1 led_orange led_green new edit delete Do you really want to delete the property "#{shortName}"? , org.custommonkey.xmlunit.Diff [different] Expected attribute value '3' but was '0' - comparing at /datasource[1]/data[1]/resultset[1]/@hits to at /datasource[1]/data[1]/resultset[1]/@hits [ERROR] SitesTest.testReloadSite:88->TestBase.validate:522 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value 'ERROR' but was 'OK' - comparing at /messages[1]/message[1]/@class to at /messages[1]/message[1]/@class Site has been reloaded. , org.custommonkey.xmlunit.Diff [different] Expected attribute value 'ERROR' but was 'OK' - comparing at /messages[1]/message[1]/@class to at /messages[1]/message[1]/@class [ERROR] SitesTest.testShowSitesFiltered:114->TestBase.validate:522 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of element attributes '4' but was '3' - comparing at /datasource[1]/config[1]/meta-data[1]/field[7] to at /datasource[1]/config[1]/meta-data[1]/field[7] Sites site example led_green led_red led_green led_red new edit delete Do you really want to delete the site "#{name}"? reload Name Domain , org.custommonkey.xmlunit.Diff [different] Expected number of element attributes '4' but was '3' - comparing at /datasource[1]/config[1]/meta-data[1]/field[7] to at /datasource[1]/config[1]/meta-data[1]/field[7] [ERROR] SubjectsTest.testCreateNameExists:129->TestBase.validate:527 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '3' but was '2' - comparing at /action[1]/config[1]/meta-data[1]/field[1] to at /action[1]/config[1]/meta-data[1]/field[1] Create user create Field must not be empty Enter at most 255 characters The name must either be a valid e-mail address, or consist of letters, digits, dots, underscores and hyphens or a valid LDAP group reference Field must not be empty Enter at most 64 characters Please enter a valid e-mail address Enter at most 8192 characters Field must not be empty Enter between 2 and 3 characters Failed to create the user. Groups Type Language Password restrictions Timezone LOCAL_USER , org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '3' but was '2' - comparing at /action[1]/config[1]/meta-data[1]/field[1] to at /action[1]/config[1]/meta-data[1]/field[1] [ERROR] SubjectsTest.testCreateValidationFail:117->TestBase.validate:527 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '3' but was '1' - comparing at /action[1]/data[1]/selection[1] to at /action[1]/data[1]/selection[1] Create user create Field must not be empty Enter at most 255 characters The name must either be a valid e-mail address, or consist of letters, digits, dots, underscores and hyphens or a valid LDAP group reference Field must not be empty Field must not be empty Enter at most 64 characters Field must not be empty Please enter a valid e-mail address Please enter an e-mail address. Enter at most 8192 characters Field must not be empty Enter between 2 and 3 characters Field must not be empty Password must contain 1 or more lowercase letters. Password must contain 1 or more uppercase letters. Password must contain 1 or more numbers. Password must contain 1 or more special characters. Allowed are !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ Password must be at least 8 characters long. Password contains illegal character: '§' Groups Type Language Password restrictions Timezone LOCAL_USER , org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '3' but was '1' - comparing at /action[1]/data[1]/selection[1] to at /action[1]/data[1]/selection[1] [ERROR] SubjectsTest.testDelete:138->TestBase.validate:527 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '1' but was '2' - comparing at /messages[1] to at /messages[1] User does not exist. Failed to delete the user. , org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '1' but was '2' - comparing at /messages[1] to at /messages[1] [ERROR] SubjectsTest.testShowAll:158->TestBase.validate:522 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '4' but was '2' - comparing at /datasource[1]/data[1]/selectionGroup[1]/selection[5] to at /datasource[1]/data[1]/selectionGroup[1]/selection[5] Users led_red led_green new edit delete Do you really want to delete the user "#{name}"? Name Real name E-mail Type Group Locked , org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '4' but was '2' - comparing at /datasource[1]/data[1]/selectionGroup[1]/selection[5] to at /datasource[1]/data[1]/selectionGroup[1]/selection[5] [ERROR] SubjectsTest.testShowAllFilterGroup:165->TestBase.validate:522 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '4' but was '2' - comparing at /datasource[1]/data[1]/selectionGroup[1]/selection[5] to at /datasource[1]/data[1]/selectionGroup[1]/selection[5] Users 1 led_red led_green new edit delete Do you really want to delete the user "#{name}"? Name Real name E-mail Type Group Locked , org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '4' but was '2' - comparing at /datasource[1]/data[1]/selectionGroup[1]/selection[5] to at /datasource[1]/data[1]/selectionGroup[1]/selection[5] [ERROR] Errors: [ERROR] ApplicationPropertiesTest.testCreate:45 » InvalidDataAccessApiUsage org.spring... [ERROR] ApplicationPropertiesTest.testShowOne:70 » Processing error retrieving datasou... [ERROR] ApplicationPropertiesTest.testUpdate:84 » Processing error retrieving datasour... [ERROR] ClusterStateTest.testClusterState:38 » Processing error retrieving datasource ... [ERROR] GroupsTest.testCreateGroup:49 » InvalidDataAccessApiUsage org.springframework.... [ERROR] GroupsTest.testCreateGroupNameExists:88 » Processing error retrieving datasour... [ERROR] GroupsTest.testDeleteGroup:94->createGroup:170 » InvalidDataAccessApiUsage org... [ERROR] GroupsTest.testShowGroup:105 » Processing error retrieving datasource 'group',... [ERROR] GroupsTest.testShowGroups:112->createGroup:170 » InvalidDataAccessApiUsage org... [ERROR] GroupsTest.testUpdateAdminGroup:141 » Processing error retrieving datasource '... [ERROR] GroupsTest.testUpdateGroup:153 » Processing error retrieving datasource 'group... [ERROR] LdapUsersTest.testSettings:46 » Processing error retrieving datasource 'ldapSe... [ERROR] PermissionsTest.testCreate:41 » InvalidDataAccessApiUsage org.springframework.... [ERROR] PermissionsTest.testCreateNameExists:83 » Processing error performing action '... [ERROR] PermissionsTest.testShowPermission:100 » Processing error retrieving datasourc... [ERROR] PermissionsTest.testUpdate:122 » Processing error retrieving datasource 'permi... [ERROR] PlatformPropertiesTest.testCreateBoolean:80 » Processing error retrieving data... [ERROR] PlatformPropertiesTest.testCreateMultiline:95 » Processing error retrieving da... [ERROR] PlatformPropertiesTest.testShowOne:121 » Processing error retrieving datasourc... [ERROR] PlatformPropertiesTest.testUpdate:131 » Processing error retrieving datasource... [ERROR] PlatformPropertiesTest.testUpdateStringOrClob:146 » Processing error retrievin... [ERROR] RepositoriesTest.testDeleteRepository:68->createRepository:147 » InvalidDataAccessApiUsage [ERROR] RepositoriesTest.testShowRepositories:90->createRepository:147 » InvalidDataAccessApiUsage [ERROR] RepositoriesTest.testShowRepository:80 » Processing error retrieving datasourc... [ERROR] RepositoriesTest.testUpdateRepository:115 » Processing error retrieving dataso... [ERROR] RoleTest.testCreate:43 » InvalidDataAccessApiUsage org.springframework.context... [ERROR] RoleTest.testCreateNameExists:86 » Processing error performing action 'create-... [ERROR] RoleTest.testShowOne:102 » Processing error retrieving datasource 'role', ID: ... [ERROR] RoleTest.testUpdate:125 » Processing error retrieving datasource 'role', ID: 1... [ERROR] SitePropertiesTest.testCreate:54 » InvalidDataAccessApiUsage org.springframewo... [ERROR] SitePropertiesTest.testShowOne:96 » Processing error retrieving datasource 'pr... [ERROR] SitePropertiesTest.testUpdate:108 » Processing error retrieving datasource 'pr... [ERROR] SitesTest.testCreateSite:40 » InvalidDataAccessApiUsage org.springframework.co... [ERROR] SitesTest.testCreateSiteValidationFail:70 » Processing error retrieving dataso... [ERROR] SitesTest.testDeleteSite:76->createSite:124 » InvalidDataAccessApiUsage org.sp... [ERROR] SitesTest.testShowSite:94 » Processing error retrieving datasource 'site', ID:... [ERROR] SitesTest.testShowSites:100->createSite:124 » InvalidDataAccessApiUsage org.sp... [ERROR] SubjectsTest.testCreate:74 » InvalidDataAccessApiUsage org.springframework.con... [ERROR] SubjectsTest.testShowOne:144 » Processing error retrieving datasource 'user', ... [ERROR] SubjectsTest.testUpdate:180 » Processing error retrieving datasource 'user', I... [INFO] [ERROR] Tests run: 72, Failures: 18, Errors: 40, Skipped: 1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:25 min [INFO] Finished at: 2021-06-09T15:34:36+02:00 [INFO] Final Memory: 61M/619M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project appng-manager: There are test failures. [ERROR] [ERROR] Please refer to /var/lib/jenkins/workspace/appNG_Manager/target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Results) [Pipeline] junit Recording test results [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/appNG_Manager [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare doc folder) [Pipeline] sh + rm -rf /srv/www/appng.org/appng-manager/docs/1.14.x [Pipeline] sh + mkdir --parents /srv/www/appng.org/appng-manager/docs/1.14.x/reference [Pipeline] sh + mkdir --parents /srv/www/appng.org/appng-manager/docs/1.14.x/javadoc [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Unstash Build) [Pipeline] dir Running in /srv/www/appng.org/appng/builds/snapshot [Pipeline] { [Pipeline] unstash [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: No such saved stash ‘jenkins_artifacts’ Finished: FAILURE