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] ------------------------------------------------------------------------
[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 [Tue Jun 08 15:46:38 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 08, 2021 3:46:39 PM ch.sla.jdbcperflogger.Logger info
INFO: Using config file jdbcperflogger-fallback.xml
2021-06-08 15:46:39,525 INFO [HSQLDB Server @2b5cb9b2] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: Checkpoint start
2021-06-08 15:46:39,527 INFO [HSQLDB Server @2b5cb9b2] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: checkpointClose start
2021-06-08 15:46:39,531 INFO [HSQLDB Server @2b5cb9b2] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: checkpointClose synched
2021-06-08 15:46:39,585 INFO [HSQLDB Server @2b5cb9b2] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: checkpointClose script done
2021-06-08 15:46:39,746 INFO [HSQLDB Server @2b5cb9b2] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: checkpointClose end
2021-06-08 15:46:39,748 INFO [HSQLDB Server @2b5cb9b2] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: Checkpoint end - txts: 1
[main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Building JPA container EntityManagerFactory for persistence unit 'default'
2021-06-08 15:46:40,033 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2021-06-08 15:46:40,112 INFO [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.32.Final
2021-06-08 15:46:40,298 INFO [main] org.hibernate.annotations.common.Version: HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2021-06-08 15:46:40,806 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2021-06-08 15:46:40,884 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2021-06-08 15:46:41,546 INFO [main] org.hibernate.validator.internal.util.Version: HV000001: Hibernate Validator 6.2.0.Final
2021-06-08 15:46:43,400 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.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.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.appng.core.domain.PlatformEventListener - Using application context org.springframework.context.support.GenericApplicationContext@10e92f8f: startup date [Tue Jun 08 15:46:38 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 [Tue Jun 08 15:46:38 CEST 2021]; root of context hierarchy
[main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
2021-06-08 15:46:47,635 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2021-06-08 15:46:47,900 INFO [HSQLDB Connection @fc6ac4f] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: Database closed
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.372 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@14cd8dfa, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@5a438c0a, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@174da9a0, org.springframework.test.context.support.DirtiesContextTestExecutionListener@b42d1c8, org.springframework.test.context.transaction.TransactionalTestExecutionListener@73983f07, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@35fddea2]
[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@52d625bd: startup date [Tue Jun 08 15:46:48 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-08 15:46:48,513 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2021-06-08 15:46:48,691 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2021-06-08 15:46:48,715 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2021-06-08 15:46:49,330 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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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@52d625bd: startup date [Tue Jun 08 15:46:48 CEST 2021]; root of context hierarchy
[main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
2021-06-08 15:46:51,768 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2021-06-08 15:46:52,011 INFO [HSQLDB Connection @1e3ea89c] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: Database closed
[ERROR] Tests run: 4, Failures: 1, Errors: 3, Skipped: 0, Time elapsed: 4.052 s <<< FAILURE! - in org.appng.application.manager.business.ApplicationPropertiesTest
[ERROR] testCreate(org.appng.application.manager.business.ApplicationPropertiesTest) Time elapsed: 0.203 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.084 s <<< FAILURE!
junit.framework.AssertionFailedError:
XML does not match control XML
org.custommonkey.xmlunit.Diff
[different] Expected attribute value '2' but was '0' - comparing <resultset hits="2"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> at /datasource[1]/data[1]/resultset[1]/@hits
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="application-properties">
<config>
<title id="application.properties">Application properties</title>
<permissions>
<permission ref="application.properties" mode="set"></permission>
</permissions>
<params>
<param name="appid">1</param>
<param name="propId"/>
</params>
<meta-data bindClass="org.appng.api.model.Property" result-selector="${current.name eq propId}">
<field name="shortName" type="text" displayLength="50" binding="shortName">
<sort order="asc" name="name" prio="0"/>
<label id="name">Name</label>
</field>
<field name="displayValue" type="longtext" displayLength="120" binding="displayValue">
<label id="activeValue">Active Value</label>
</field>
<field name="description" type="text" displayLength="400" binding="description">
<label id="description">Description</label>
</field>
<field name="changedValue" type="image" binding="changedValue">
<label></label>
<icon condition="${!current.changedValue}">led_orange</icon>
<icon condition="${current.changedValue}">led_green</icon>
</field>
<field name="actions" type="linkpanel" binding="actions">
<label id="actions">Actions</label>
</field>
</meta-data>
<linkpanel id="other" location="both">
<link id="other[1]" mode="intern" target="/applications/update/1/property/create#tab_application-properties">
<permissions>
<permission ref="application.property.create" mode="set"></permission>
</permissions>
<label id="property.create">Create property</label>
<icon>new</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="actions[1]" mode="intern" target="/applications/update/1/property/update/${current.name}#tab_application-properties" default="true">
<permissions>
<permission ref="application.property.edit" mode="set"></permission>
</permissions>
<label id="edit">Edit</label>
<icon>edit</icon>
</link>
<link id="actions[2]" mode="intern" target="/applications/update/1?form_action=delete-application-property&propertyid=${current.name}#tab_application-properties">
<permissions>
<permission ref="application.property.delete" mode="set"></permission>
</permissions>
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="property.delete.confirm" params="#{shortName}">Do you really want to delete the property "#{shortName}"?</confirmation>
</link>
</linkpanel>
</config>
<data>
<resultset chunk="0" chunkname="application-properties" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected attribute value '2' but was '0' - comparing <resultset hits="2"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> 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.156 s <<< ERROR!
org.appng.api.ProcessingException: error retrieving datasource 'property', ID: 420067584
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: 798520669
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@3992e821, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@1c848119, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@651d2d15, org.springframework.test.context.support.DirtiesContextTestExecutionListener@34ec84e, org.springframework.test.context.transaction.TransactionalTestExecutionListener@2db3ebe6, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@15873b00]
[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@6c077ee9: startup date [Tue Jun 08 15:46:52 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-08 15:46:52,533 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2021-06-08 15:46:52,717 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2021-06-08 15:46:52,730 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2021-06-08 15:46:53,316 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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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@6c077ee9: startup date [Tue Jun 08 15:46:52 CEST 2021]; root of context hierarchy
[main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
2021-06-08 15:46:55,645 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2021-06-08 15:46:55,915 INFO [HSQLDB Connection @7115b7ba] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: Database closed
[ERROR] Tests run: 6, Failures: 2, Errors: 4, Skipped: 0, Time elapsed: 3.882 s <<< FAILURE! - in org.appng.application.manager.business.RepositoriesTest
[ERROR] testCreateRepository(org.appng.application.manager.business.RepositoriesTest) Time elapsed: 0.592 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 <action...> at /action[1] to <action...> at /action[1]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<action xmlns="http://www.appng.org/schema/platform" id="create" eventId="repositoryEvent" async="false">
<config>
<title id="repository.create">Create repository</title>
<permissions>
<permission ref="repository.create" mode="set"></permission>
</permissions>
<params>
<param name="form_action">create</param>
</params>
<meta-data binding="repository" bindClass="org.appng.application.manager.form.RepositoryForm">
<field name="name" type="text" binding="repository.name">
<label id="name">Name</label>
<validation>
<notNull>
<message ref="repository.name" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</notNull>
<size min="0" max="64">
<message ref="repository.name" class="ERROR" code="{validation.string.max}">Enter at most 64 characters</message>
</size>
</validation>
</field>
<field name="description" type="text" binding="repository.description">
<label id="description">Description</label>
<validation>
<size min="0" max="8192">
<message ref="repository.description" class="ERROR" code="{validation.string.max}">Enter at most 8192 characters</message>
</size>
</validation>
</field>
<field name="repositoryType" type="list:select" binding="repository.repositoryType">
<label id="type">Type</label>
</field>
<field name="uri" type="text" binding="repository.uri">
<label id="uri">URI</label>
</field>
<field name="active" type="checkbox" binding="repository.active">
<label id="active">Active</label>
</field>
</meta-data>
</config>
<condition expression="${form_action eq 'create'}"/>
<messages>
<message ref="create" class="ERROR">Failed to create the repository.</message>
</messages>
<datasource id="new-repository"/>
<userdata/>
<data>
<selection id="repositoryType">
<title id="repositoryType">repositoryType</title>
<option value="LOCAL" name="Local Repository" selected="false"/>
<option value="REMOTE" name="Published Repository" selected="false"/>
</selection>
<selection id="repositoryMode">
<title id="repositoryMode">repositoryMode</title>
<option value="ALL" name="All Applications" selected="false"/>
<option value="STABLE" name="Only Stable-Applications" selected="false"/>
<option value="SNAPSHOT" name="Only Snapshot-Applications" selected="false"/>
</selection>
<result>
<field name="name" type="text">
<value></value>
</field>
<field name="description" type="text">
<value></value>
</field>
<field name="repositoryType" type="list:select">
<value>LOCAL</value>
</field>
<field name="uri" type="text">
<value></value>
</field>
<field name="active" type="checkbox">
<value>false</value>
</field>
</result>
</data>
<bean id="repositories">
<option name="action" id="create"/>
</bean>
</action>
, org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '6' but was '7' - comparing <action...> at /action[1] to <action...> 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.389 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 <field...> at /action[1]/config[1]/meta-data[1]/field[1] to <field...> at /action[1]/config[1]/meta-data[1]/field[1]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<action xmlns="http://www.appng.org/schema/platform" id="create" eventId="repositoryEvent" async="false">
<config>
<title id="repository.create">Create repository</title>
<permissions>
<permission ref="repository.create" mode="set"></permission>
</permissions>
<params>
<param name="form_action">create</param>
</params>
<meta-data binding="repository" bindClass="org.appng.application.manager.form.RepositoryForm">
<field name="name" type="text" binding="repository.name">
<label id="name">Name</label>
<validation>
<notNull>
<message ref="repository.name" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</notNull>
<size min="0" max="64">
<message ref="repository.name" class="ERROR" code="{validation.string.max}">Enter at most 64 characters</message>
</size>
</validation>
</field>
<field name="description" type="text" binding="repository.description">
<label id="description">Description</label>
<validation>
<size min="0" max="8192">
<message ref="repository.description" class="ERROR" code="{validation.string.max}">Enter at most 8192 characters</message>
</size>
</validation>
</field>
<field name="repositoryType" type="list:select" binding="repository.repositoryType">
<label id="type">Type</label>
</field>
<field name="uri" type="text" binding="repository.uri">
<label id="uri">URI</label>
</field>
<field name="active" type="checkbox" binding="repository.active">
<label id="active">Active</label>
</field>
</meta-data>
</config>
<condition expression="${form_action eq 'create'}"/>
<messages>
<message ref="create" class="ERROR">Failed to create the repository.</message>
</messages>
<datasource id="new-repository"/>
<userdata/>
<data>
<selection id="repositoryType">
<title id="repositoryType">repositoryType</title>
<option value="LOCAL" name="Local Repository" selected="false"/>
<option value="REMOTE" name="Published Repository" selected="false"/>
</selection>
<selection id="repositoryMode">
<title id="repositoryMode">repositoryMode</title>
<option value="ALL" name="All Applications" selected="false"/>
<option value="STABLE" name="Only Stable-Applications" selected="false"/>
<option value="SNAPSHOT" name="Only Snapshot-Applications" selected="false"/>
</selection>
<result>
<field name="name" type="text">
<value></value>
</field>
<field name="description" type="text">
<value></value>
</field>
<field name="repositoryType" type="list:select">
<value>LOCAL</value>
</field>
<field name="uri" type="text">
<value></value>
</field>
<field name="active" type="checkbox">
<value>false</value>
</field>
</result>
</data>
<bean id="repositories">
<option name="action" id="create"/>
</bean>
</action>
, org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '3' but was '2' - comparing <field...> at /action[1]/config[1]/meta-data[1]/field[1] to <field...> 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.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.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.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.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.142 s <<< ERROR!
org.appng.api.ProcessingException: error retrieving datasource 'repository', ID: 320801509
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.175 s <<< ERROR!
org.appng.api.ProcessingException: error retrieving datasource 'repository', ID: 1758471031
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@1ee50467, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@1f42b860, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@76b8bdb6, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6a7bfe7e, org.springframework.test.context.transaction.TransactionalTestExecutionListener@5c8b196a, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@56803b23]
[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@50dbf394: startup date [Tue Jun 08 15:46:56 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-08 15:46:56,423 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2021-06-08 15:46:56,603 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2021-06-08 15:46:56,624 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2021-06-08 15:46:57,180 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(<generated>)
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(<generated>)
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@50dbf394: startup date [Tue Jun 08 15:46:56 CEST 2021]; root of context hierarchy
[main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
2021-06-08 15:46:58,852 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2021-06-08 15:46:59,109 INFO [HSQLDB Connection @6b0ac5c4] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: Database closed
[ERROR] Tests run: 7, Failures: 2, Errors: 5, Skipped: 0, Time elapsed: 3.179 s <<< FAILURE! - in org.appng.application.manager.business.SitesTest
[ERROR] testCreateSite(org.appng.application.manager.business.SitesTest) Time elapsed: 0.148 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.188 s <<< ERROR!
org.appng.api.ProcessingException: error retrieving datasource 'new-site', ID: 1149863131
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.131 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.14 s <<< FAILURE!
junit.framework.AssertionFailedError:
XML does not match control XML
org.custommonkey.xmlunit.Diff
[different] Expected attribute value 'ERROR' but was 'OK' - comparing <message class="ERROR"...> at /messages[1]/message[1]/@class to <message class="OK"...> at /messages[1]/message[1]/@class
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<messages xmlns="http://www.appng.org/schema/platform" ref="reload">
<message ref="reload" class="OK">Site has been reloaded.</message>
</messages>
, org.custommonkey.xmlunit.Diff
[different] Expected attribute value 'ERROR' but was 'OK' - comparing <message class="ERROR"...> at /messages[1]/message[1]/@class to <message class="OK"...> 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.139 s <<< ERROR!
org.appng.api.ProcessingException: error retrieving datasource 'site', ID: 1212176612
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.127 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.176 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 <field...> at /datasource[1]/config[1]/meta-data[1]/field[7] to <field...> at /datasource[1]/config[1]/meta-data[1]/field[7]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="sites">
<config>
<title id="sites">Sites</title>
<permissions>
<permission ref="site.list" mode="set"></permission>
</permissions>
<params>
<param name="name">site</param>
<param name="domain">example</param>
</params>
<meta-data bindClass="org.appng.api.model.Site">
<field name="name" type="text" binding="name">
<sort/>
<label id="name">Name</label>
</field>
<field name="host" type="text" binding="host">
<sort/>
<label id="host">Host</label>
</field>
<field name="domain" type="text" binding="domain">
<sort/>
<label id="domain">Domain</label>
</field>
<field name="description" type="text" binding="description">
<label id="description">Description</label>
</field>
<field name="active" type="image" binding="active">
<sort/>
<label id="active">Active</label>
<icon condition="${current.active}">led_green</icon>
<icon condition="${!current.active}">led_red</icon>
</field>
<field name="running" type="image" binding="running">
<label id="running">Running</label>
<icon condition="${current.running}">led_green</icon>
<icon condition="${!current.running}">led_red</icon>
</field>
<field name="startupTime" type="date" binding="startupTime">
<label id="startupTime">Startup time</label>
</field>
<field name="actions" type="linkpanel" binding="actions">
<label id="actions">Actions</label>
</field>
</meta-data>
<linkpanel id="other" location="both">
<link id="other[1]" mode="intern" target="/sites/create">
<permissions>
<permission ref="site.create" mode="set"></permission>
</permissions>
<label id="site.create">Create site</label>
<icon>new</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="actions[1]" mode="intern" target="/sites/update/${current.id}" default="true">
<permissions>
<permission ref="site.edit" mode="set"></permission>
</permissions>
<label id="edit">Edit</label>
<icon>edit</icon>
</link>
<link id="actions[2]" mode="intern" target="/sites?form_action=delete&siteid=${current.id}">
<permissions>
<permission ref="site.delete" mode="set"></permission>
</permissions>
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="site.delete.confirm" params="#{name}">Do you really want to delete the site "#{name}"?</confirmation>
</link>
<link id="actions[3]" mode="intern" target="/sites?form_action=reload&siteid=${current.id}">
<permissions>
<permission ref="site.reload" mode="set"></permission>
</permissions>
<label id="reload">Reload</label>
<icon>reload</icon>
</link>
</linkpanel>
</config>
<data>
<selectionGroup>
<selection id="f_sn" type="text">
<title id="name">Name</title>
<option value="site" name="f_sn"/>
</selection>
<selection id="f_sd" type="text">
<title id="domain">Domain</title>
<option value="example" name="f_sd"/>
</selection>
</selectionGroup>
<resultset chunk="0" chunkname="sites" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected number of element attributes '4' but was '3' - comparing <field...> at /datasource[1]/config[1]/meta-data[1]/field[7] to <field...> 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@73b5d5d8, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@611c997c, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@2763890a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@38b35fd3, org.springframework.test.context.transaction.TransactionalTestExecutionListener@65754608, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@60a7e4a3]
[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@79d89b06: startup date [Tue Jun 08 15:46:59 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-08 15:46:59,609 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2021-06-08 15:46:59,779 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2021-06-08 15:46:59,787 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2021-06-08 15:47:00,296 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@79d89b06: startup date [Tue Jun 08 15:46:59 CEST 2021]; root of context hierarchy
[main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
2021-06-08 15:47:01,551 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2021-06-08 15:47:01,797 INFO [HSQLDB Connection @650afa95] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: Database closed
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.68 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@968a35a, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@382bafe, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@32b4b82, org.springframework.test.context.support.DirtiesContextTestExecutionListener@3abe2a29, org.springframework.test.context.transaction.TransactionalTestExecutionListener@76803c57, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@60c33d33]
[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@72499784: startup date [Tue Jun 08 15:47:02 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-08 15:47:02,419 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2021-06-08 15:47:02,602 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2021-06-08 15:47:02,637 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2021-06-08 15:47:03,206 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 8 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@72499784: startup date [Tue Jun 08 15:47:02 CEST 2021]; root of context hierarchy
[main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
2021-06-08 15:47:05,423 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2021-06-08 15:47:05,807 INFO [HSQLDB Connection @3f7601b] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: Database closed
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4 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.03 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@35dcc87e, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4180cfca, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@48aac7b, org.springframework.test.context.support.DirtiesContextTestExecutionListener@4b8276ab, org.springframework.test.context.transaction.TransactionalTestExecutionListener@184ec89d, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@5f77bac1]
[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@5620347c: startup date [Tue Jun 08 15:47:06 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-08 15:47:06,342 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2021-06-08 15:47:06,527 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2021-06-08 15:47:06,536 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2021-06-08 15:47:07,134 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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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@5620347c: startup date [Tue Jun 08 15:47:06 CEST 2021]; root of context hierarchy
[main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
2021-06-08 15:47:10,351 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2021-06-08 15:47:10,621 INFO [HSQLDB Connection @7b6404dc] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: Database closed
[ERROR] Tests run: 8, Failures: 5, Errors: 3, Skipped: 0, Time elapsed: 4.775 s <<< FAILURE! - in org.appng.application.manager.business.SubjectsTest
[ERROR] testCreate(org.appng.application.manager.business.SubjectsTest) Time elapsed: 0.139 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.515 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 <field...> at /action[1]/config[1]/meta-data[1]/field[1] to <field...> at /action[1]/config[1]/meta-data[1]/field[1]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<action xmlns="http://www.appng.org/schema/platform" id="create" eventId="subjectEvent" async="false">
<config>
<title id="subject.create">Create user</title>
<permissions>
<permission ref="subject.create" mode="set"></permission>
</permissions>
<params>
<param name="form_action">create</param>
</params>
<meta-data binding="subject" bindClass="org.appng.application.manager.form.SubjectForm">
<field name="name" type="text" binding="subject.name">
<label id="name">Name</label>
<validation>
<notNull>
<message ref="subject.name" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</notNull>
<size min="0" max="255">
<message ref="subject.name" class="ERROR" code="{validation.string.max}">Enter at most 255 characters</message>
</size>
<pattern regexp="^((((CN|cn)=[^,]+),?)*(((OU|ou)=[^,]+),?)*(((DC|dc)=[^,]+),?)*)|(([a-zA-Z0-9_\.-])+(@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]){2,})?)$">
<message ref="subject.name" class="ERROR" code="{validation.usernameGroup}">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 </message>
</pattern>
</validation>
</field>
<field name="realname" type="text" binding="subject.realname">
<label id="realname">Real name</label>
<validation>
<notNull>
<message ref="subject.realname" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</notNull>
<size min="0" max="64">
<message ref="subject.realname" class="ERROR" code="{validation.string.max}">Enter at most 64 characters</message>
</size>
</validation>
</field>
<field name="email" type="text" binding="subject.email">
<label id="email">E-mail</label>
<validation>
<pattern regexp="^([a-zA-Z0-9_\.-])+@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]){2,}$">
<message ref="subject.email" class="ERROR" code="{validation.email}">Please enter a valid e-mail address</message>
</pattern>
</validation>
</field>
<field name="description" type="longtext" binding="subject.description">
<label id="description">Description</label>
<validation>
<size min="0" max="8192">
<message ref="subject.description" class="ERROR" code="{validation.string.max}">Enter at most 8192 characters</message>
</size>
</validation>
</field>
<field name="userType" type="list:select" binding="subject.userType">
<label id="type">Type</label>
</field>
<field name="language" type="list:select" binding="subject.language">
<label id="language">Language</label>
<validation>
<notNull>
<message ref="subject.language" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</notNull>
<size min="2" max="3">
<message ref="subject.language" class="ERROR" code="{validation.string.min.max}">Enter between 2 and 3 characters</message>
</size>
</validation>
</field>
<field name="timeZone" type="list:select" binding="subject.timeZone">
<label id="timezone">Timezone</label>
</field>
<field name="password" type="password" binding="password">
<label id="password">Password</label>
</field>
<field name="passwordConfirmation" type="password" binding="passwordConfirmation">
<label id="password.confirmation">Password confirmation</label>
</field>
<field name="groups" type="list:checkbox" binding="groupIds">
<label id="groups">Groups</label>
</field>
</meta-data>
</config>
<condition expression="${form_action eq 'create'}"/>
<messages>
<message ref="create" class="ERROR">Failed to create the user.</message>
</messages>
<datasource id="new-user"/>
<userdata/>
<data>
<selection id="groups">
<title id="groups">Groups</title>
</selection>
<selection id="userType">
<title id="type">Type</title>
<option value="LOCAL_USER" name="Local User" selected="true"/>
<option value="GLOBAL_USER" name="LDAP User" selected="false"/>
<option value="GLOBAL_GROUP" name="LDAP Group" selected="false"/>
</selection>
<selection id="language">
<title id="language">Language</title>
</selection>
<selection id="passwordChangePolicy" type="radio">
<title id="passwordChangePolicy">Password restrictions</title>
<option value="MAY" name="May change" selected="true"/>
<option value="MUST" name="Must change" selected="false"/>
<option value="MUST_NOT" name="Must not change" selected="false"/>
<option value="MUST_RECOVER" name="Must use recovery" selected="false"/>
</selection>
<selection id="timeZone" type="select">
<title id="timezone">Timezone</title>
<optionGroup>
<label id="Africa">Africa</label>
<option value="Africa/Abidjan" name="Abidjan (UTC)" selected="false"/>
<option value="Africa/Accra" name="Accra (UTC)" selected="false"/>
<option value="Africa/Addis_Ababa" name="Addis Ababa (UTC+03:00)" selected="false"/>
<option value="Africa/Algiers" name="Algiers (UTC+01:00)" selected="false"/>
<option value="Africa/Asmara" name="Asmara (UTC+03:00)" selected="false"/>
<option value="Africa/Asmera" name="Asmara (UTC+03:00)" selected="false"/>
<option value="Africa/Bamako" name="Bamako (UTC)" selected="false"/>
<option value="Africa/Bangui" name="Bangui (UTC+01:00)" selected="false"/>
<option value="Africa/Banjul" name="Banjul (UTC)" selected="false"/>
<option value="Africa/Bissau" name="Bissau (UTC)" selected="false"/>
<option value="Africa/Blantyre" name="Blantyre (UTC+02:00)" selected="false"/>
<option value="Africa/Brazzaville" name="Brazzaville (UTC+01:00)" selected="false"/>
<option value="Africa/Bujumbura" name="Bujumbura (UTC+02:00)" selected="false"/>
<option value="Africa/Cairo" name="Cairo (UTC+02:00)" selected="false"/>
<option value="Africa/Casablanca" name="Casablanca (UTC+01:00)" selected="false"/>
<option value="Africa/Ceuta" name="Ceuta (UTC+02:00)" selected="false"/>
<option value="Africa/Conakry" name="Conakry (UTC)" selected="false"/>
<option value="Africa/Dakar" name="Dakar (UTC)" selected="false"/>
<option value="Africa/Dar_es_Salaam" name="Dar es Salaam (UTC+03:00)" selected="false"/>
<option value="Africa/Djibouti" name="Djibouti (UTC+03:00)" selected="false"/>
<option value="Africa/Douala" name="Douala (UTC+01:00)" selected="false"/>
<option value="Africa/El_Aaiun" name="El Aaiun (UTC+01:00)" selected="false"/>
<option value="Africa/Freetown" name="Freetown (UTC)" selected="false"/>
<option value="Africa/Gaborone" name="Gaborone (UTC+02:00)" selected="false"/>
<option value="Africa/Harare" name="Harare (UTC+02:00)" selected="false"/>
<option value="Africa/Johannesburg" name="Johannesburg (UTC+02:00)" selected="false"/>
<option value="Africa/Juba" name="Juba (UTC+03:00)" selected="false"/>
<option value="Africa/Kampala" name="Kampala (UTC+03:00)" selected="false"/>
<option value="Africa/Khartoum" name="Khartoum (UTC+03:00)" selected="false"/>
<option value="Africa/Kigali" name="Kigali (UTC+02:00)" selected="false"/>
<option value="Africa/Kinshasa" name="Kinshasa (UTC+01:00)" selected="false"/>
<option value="Africa/Lagos" name="Lagos (UTC+01:00)" selected="false"/>
<option value="Africa/Libreville" name="Libreville (UTC+01:00)" selected="false"/>
<option value="Africa/Lome" name="Lome (UTC)" selected="false"/>
<option value="Africa/Luanda" name="Luanda (UTC+01:00)" selected="false"/>
<option value="Africa/Lubumbashi" name="Lubumbashi (UTC+02:00)" selected="false"/>
<option value="Africa/Lusaka" name="Lusaka (UTC+02:00)" selected="false"/>
<option value="Africa/Malabo" name="Malabo (UTC+01:00)" selected="false"/>
<option value="Africa/Maputo" name="Maputo (UTC+02:00)" selected="false"/>
<option value="Africa/Maseru" name="Maseru (UTC+02:00)" selected="false"/>
<option value="Africa/Mbabane" name="Mbabane (UTC+02:00)" selected="false"/>
<option value="Africa/Mogadishu" name="Mogadishu (UTC+03:00)" selected="false"/>
<option value="Africa/Monrovia" name="Monrovia (UTC)" selected="false"/>
<option value="Africa/Nairobi" name="Nairobi (UTC+03:00)" selected="false"/>
<option value="Africa/Ndjamena" name="Ndjamena (UTC+01:00)" selected="false"/>
<option value="Africa/Niamey" name="Niamey (UTC+01:00)" selected="false"/>
<option value="Africa/Nouakchott" name="Nouakchott (UTC)" selected="false"/>
<option value="Africa/Ouagadougou" name="Ouagadougou (UTC)" selected="false"/>
<option value="Africa/Porto-Novo" name="Porto-Novo (UTC+01:00)" selected="false"/>
<option value="Africa/Sao_Tome" name="São Tomé (UTC)" selected="false"/>
<option value="Africa/Timbuktu" name="Timbuktu (UTC)" selected="false"/>
<option value="Africa/Tripoli" name="Tripoli (UTC+02:00)" selected="false"/>
<option value="Africa/Tunis" name="Tunis (UTC+01:00)" selected="false"/>
<option value="Africa/Windhoek" name="Windhoek (UTC+01:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="America">America</label>
<option value="America/Adak" name="Adak (UTC-09:00)" selected="false"/>
<option value="America/Anchorage" name="Anchorage (UTC-08:00)" selected="false"/>
<option value="America/Anguilla" name="Anguilla (UTC-04:00)" selected="false"/>
<option value="America/Antigua" name="Antigua (UTC-04:00)" selected="false"/>
<option value="America/Araguaina" name="Araguaina (UTC-03:00)" selected="false"/>
<option value="America/Aruba" name="Aruba (UTC-04:00)" selected="false"/>
<option value="America/Asuncion" name="Asunción (UTC-04:00)" selected="false"/>
<option value="America/Atikokan" name="Atikokan (UTC-05:00)" selected="false"/>
<option value="America/Coral_Harbour" name="Atikokan (UTC-05:00)" selected="false"/>
<option value="America/Atka" name="Atka (UTC-09:00)" selected="false"/>
<option value="America/Bahia" name="Bahia (UTC-03:00)" selected="false"/>
<option value="America/Bahia_Banderas" name="Bahia Banderas (UTC-05:00)" selected="false"/>
<option value="America/Barbados" name="Barbados (UTC-04:00)" selected="false"/>
<option value="America/Belem" name="Belem (UTC-03:00)" selected="false"/>
<option value="America/Belize" name="Belize (UTC-06:00)" selected="false"/>
<option value="America/North_Dakota/Beulah" name="Beulah, North Dakota (UTC-05:00)" selected="false"/>
<option value="America/Blanc-Sablon" name="Blanc-Sablon (UTC-04:00)" selected="false"/>
<option value="America/Boa_Vista" name="Boa Vista (UTC-04:00)" selected="false"/>
<option value="America/Bogota" name="Bogota (UTC-05:00)" selected="false"/>
<option value="America/Boise" name="Boise (UTC-06:00)" selected="false"/>
<option value="America/Argentina/Buenos_Aires" name="Buenos Aires (UTC-03:00)" selected="false"/>
<option value="America/Buenos_Aires" name="Buenos Aires (UTC-03:00)" selected="false"/>
<option value="America/Cambridge_Bay" name="Cambridge Bay (UTC-06:00)" selected="false"/>
<option value="America/Campo_Grande" name="Campo Grande (UTC-04:00)" selected="false"/>
<option value="America/Cancun" name="Cancun (UTC-05:00)" selected="false"/>
<option value="America/Caracas" name="Caracas (UTC-04:00)" selected="false"/>
<option value="America/Argentina/Catamarca" name="Catamarca (UTC-03:00)" selected="false"/>
<option value="America/Catamarca" name="Catamarca (UTC-03:00)" selected="false"/>
<option value="America/Cayenne" name="Cayenne (UTC-03:00)" selected="false"/>
<option value="America/Cayman" name="Cayman (UTC-05:00)" selected="false"/>
<option value="America/North_Dakota/Center" name="Center, North Dakota (UTC-05:00)" selected="false"/>
<option value="America/Chicago" name="Chicago (UTC-05:00)" selected="false"/>
<option value="America/Chihuahua" name="Chihuahua (UTC-06:00)" selected="false"/>
<option value="America/Argentina/ComodRivadavia" name="ComodRivadavia (UTC-03:00)" selected="false"/>
<option value="America/Argentina/Cordoba" name="Cordoba (UTC-03:00)" selected="false"/>
<option value="America/Cordoba" name="Cordoba (UTC-03:00)" selected="false"/>
<option value="America/Costa_Rica" name="Costa Rica (UTC-06:00)" selected="false"/>
<option value="America/Creston" name="Creston (UTC-07:00)" selected="false"/>
<option value="America/Cuiaba" name="Cuiaba (UTC-04:00)" selected="false"/>
<option value="America/Curacao" name="Curaçao (UTC-04:00)" selected="false"/>
<option value="America/Danmarkshavn" name="Danmarkshavn (UTC)" selected="false"/>
<option value="America/Dawson" name="Dawson (UTC-07:00)" selected="false"/>
<option value="America/Dawson_Creek" name="Dawson Creek (UTC-07:00)" selected="false"/>
<option value="America/Denver" name="Denver (UTC-06:00)" selected="false"/>
<option value="America/Detroit" name="Detroit (UTC-04:00)" selected="false"/>
<option value="America/Dominica" name="Dominica (UTC-04:00)" selected="false"/>
<option value="America/Edmonton" name="Edmonton (UTC-06:00)" selected="false"/>
<option value="America/Eirunepe" name="Eirunepe (UTC-05:00)" selected="false"/>
<option value="America/El_Salvador" name="El Salvador (UTC-06:00)" selected="false"/>
<option value="America/Ensenada" name="Ensenada (UTC-07:00)" selected="false"/>
<option value="America/Fort_Wayne" name="Fort Wayne (UTC-04:00)" selected="false"/>
<option value="America/Fortaleza" name="Fortaleza (UTC-03:00)" selected="false"/>
<option value="America/Glace_Bay" name="Glace Bay (UTC-03:00)" selected="false"/>
<option value="America/Goose_Bay" name="Goose Bay (UTC-03:00)" selected="false"/>
<option value="America/Grand_Turk" name="Grand Turk (UTC-04:00)" selected="false"/>
<option value="America/Grenada" name="Grenada (UTC-04:00)" selected="false"/>
<option value="America/Guadeloupe" name="Guadeloupe (UTC-04:00)" selected="false"/>
<option value="America/Guatemala" name="Guatemala (UTC-06:00)" selected="false"/>
<option value="America/Guayaquil" name="Guayaquil (UTC-05:00)" selected="false"/>
<option value="America/Guyana" name="Guyana (UTC-04:00)" selected="false"/>
<option value="America/Halifax" name="Halifax (UTC-03:00)" selected="false"/>
<option value="America/Havana" name="Havana (UTC-04:00)" selected="false"/>
<option value="America/Hermosillo" name="Hermosillo (UTC-07:00)" selected="false"/>
<option value="America/Indiana/Indianapolis" name="Indianapolis (UTC-04:00)" selected="false"/>
<option value="America/Indianapolis" name="Indianapolis (UTC-04:00)" selected="false"/>
<option value="America/Inuvik" name="Inuvik (UTC-06:00)" selected="false"/>
<option value="America/Iqaluit" name="Iqaluit (UTC-04:00)" selected="false"/>
<option value="America/Scoresbysund" name="Ittoqqortoormiit (UTC)" selected="false"/>
<option value="America/Jamaica" name="Jamaica (UTC-05:00)" selected="false"/>
<option value="America/Argentina/Jujuy" name="Jujuy (UTC-03:00)" selected="false"/>
<option value="America/Jujuy" name="Jujuy (UTC-03:00)" selected="false"/>
<option value="America/Juneau" name="Juneau (UTC-08:00)" selected="false"/>
<option value="America/Knox_IN" name="Knox IN (UTC-05:00)" selected="false"/>
<option value="America/Indiana/Knox" name="Knox, Indiana (UTC-05:00)" selected="false"/>
<option value="America/Kralendijk" name="Kralendijk (UTC-04:00)" selected="false"/>
<option value="America/La_Paz" name="La Paz (UTC-04:00)" selected="false"/>
<option value="America/Argentina/La_Rioja" name="La Rioja (UTC-03:00)" selected="false"/>
<option value="America/Lima" name="Lima (UTC-05:00)" selected="false"/>
<option value="America/Los_Angeles" name="Los Angeles (UTC-07:00)" selected="false"/>
<option value="America/Kentucky/Louisville" name="Louisville (UTC-04:00)" selected="false"/>
<option value="America/Louisville" name="Louisville (UTC-04:00)" selected="false"/>
<option value="America/Lower_Princes" name="Lower Princes Quarter (UTC-04:00)" selected="false"/>
<option value="America/Maceio" name="Maceio (UTC-03:00)" selected="false"/>
<option value="America/Managua" name="Managua (UTC-06:00)" selected="false"/>
<option value="America/Manaus" name="Manaus (UTC-04:00)" selected="false"/>
<option value="America/Indiana/Marengo" name="Marengo, Indiana (UTC-04:00)" selected="false"/>
<option value="America/Marigot" name="Marigot (UTC-04:00)" selected="false"/>
<option value="America/Martinique" name="Martinique (UTC-04:00)" selected="false"/>
<option value="America/Matamoros" name="Matamoros (UTC-05:00)" selected="false"/>
<option value="America/Mazatlan" name="Mazatlan (UTC-06:00)" selected="false"/>
<option value="America/Argentina/Mendoza" name="Mendoza (UTC-03:00)" selected="false"/>
<option value="America/Mendoza" name="Mendoza (UTC-03:00)" selected="false"/>
<option value="America/Menominee" name="Menominee (UTC-05:00)" selected="false"/>
<option value="America/Merida" name="Merida (UTC-05:00)" selected="false"/>
<option value="America/Metlakatla" name="Metlakatla (UTC-08:00)" selected="false"/>
<option value="America/Mexico_City" name="Mexico City (UTC-05:00)" selected="false"/>
<option value="America/Miquelon" name="Miquelon (UTC-02:00)" selected="false"/>
<option value="America/Moncton" name="Moncton (UTC-03:00)" selected="false"/>
<option value="America/Monterrey" name="Monterrey (UTC-05:00)" selected="false"/>
<option value="America/Montevideo" name="Montevideo (UTC-03:00)" selected="false"/>
<option value="America/Kentucky/Monticello" name="Monticello, Kentucky (UTC-04:00)" selected="false"/>
<option value="America/Montreal" name="Montreal (UTC-04:00)" selected="false"/>
<option value="America/Montserrat" name="Montserrat (UTC-04:00)" selected="false"/>
<option value="America/Nassau" name="Nassau (UTC-04:00)" selected="false"/>
<option value="America/North_Dakota/New_Salem" name="New Salem, North Dakota (UTC-05:00)" selected="false"/>
<option value="America/New_York" name="New York (UTC-04:00)" selected="false"/>
<option value="America/Nipigon" name="Nipigon (UTC-04:00)" selected="false"/>
<option value="America/Nome" name="Nome (UTC-08:00)" selected="false"/>
<option value="America/Noronha" name="Noronha (UTC-02:00)" selected="false"/>
<option value="America/Godthab" name="Nuuk (UTC-02:00)" selected="false"/>
<option value="America/Ojinaga" name="Ojinaga (UTC-06:00)" selected="false"/>
<option value="America/Panama" name="Panama (UTC-05:00)" selected="false"/>
<option value="America/Pangnirtung" name="Pangnirtung (UTC-04:00)" selected="false"/>
<option value="America/Paramaribo" name="Paramaribo (UTC-03:00)" selected="false"/>
<option value="America/Indiana/Petersburg" name="Petersburg, Indiana (UTC-04:00)" selected="false"/>
<option value="America/Phoenix" name="Phoenix (UTC-07:00)" selected="false"/>
<option value="America/Port_of_Spain" name="Port of Spain (UTC-04:00)" selected="false"/>
<option value="America/Port-au-Prince" name="Port-au-Prince (UTC-05:00)" selected="false"/>
<option value="America/Porto_Acre" name="Porto Acre (UTC-05:00)" selected="false"/>
<option value="America/Porto_Velho" name="Porto Velho (UTC-04:00)" selected="false"/>
<option value="America/Puerto_Rico" name="Puerto Rico (UTC-04:00)" selected="false"/>
<option value="America/Rainy_River" name="Rainy River (UTC-05:00)" selected="false"/>
<option value="America/Rankin_Inlet" name="Rankin Inlet (UTC-05:00)" selected="false"/>
<option value="America/Recife" name="Recife (UTC-03:00)" selected="false"/>
<option value="America/Regina" name="Regina (UTC-06:00)" selected="false"/>
<option value="America/Resolute" name="Resolute (UTC-05:00)" selected="false"/>
<option value="America/Rio_Branco" name="Rio Branco (UTC-05:00)" selected="false"/>
<option value="America/Argentina/Rio_Gallegos" name="Rio Gallegos (UTC-03:00)" selected="false"/>
<option value="America/Rosario" name="Rosario (UTC-03:00)" selected="false"/>
<option value="America/St_Barthelemy" name="Saint Barthélemy (UTC-04:00)" selected="false"/>
<option value="America/Argentina/Salta" name="Salta (UTC-03:00)" selected="false"/>
<option value="America/Argentina/San_Juan" name="San Juan (UTC-03:00)" selected="false"/>
<option value="America/Argentina/San_Luis" name="San Luis (UTC-03:00)" selected="false"/>
<option value="America/Santa_Isabel" name="Santa Isabel (UTC-07:00)" selected="false"/>
<option value="America/Santarem" name="Santarem (UTC-03:00)" selected="false"/>
<option value="America/Santiago" name="Santiago (UTC-04:00)" selected="false"/>
<option value="America/Santo_Domingo" name="Santo Domingo (UTC-04:00)" selected="false"/>
<option value="America/Sao_Paulo" name="Sao Paulo (UTC-03:00)" selected="false"/>
<option value="America/Shiprock" name="Shiprock (UTC-06:00)" selected="false"/>
<option value="America/Sitka" name="Sitka (UTC-08:00)" selected="false"/>
<option value="America/St_Johns" name="St. John’s (UTC-02:30)" selected="false"/>
<option value="America/St_Kitts" name="St. Kitts (UTC-04:00)" selected="false"/>
<option value="America/St_Lucia" name="St. Lucia (UTC-04:00)" selected="false"/>
<option value="America/St_Thomas" name="St. Thomas (UTC-04:00)" selected="false"/>
<option value="America/St_Vincent" name="St. Vincent (UTC-04:00)" selected="false"/>
<option value="America/Swift_Current" name="Swift Current (UTC-06:00)" selected="false"/>
<option value="America/Tegucigalpa" name="Tegucigalpa (UTC-06:00)" selected="false"/>
<option value="America/Indiana/Tell_City" name="Tell City, Indiana (UTC-05:00)" selected="false"/>
<option value="America/Thule" name="Thule (UTC-03:00)" selected="false"/>
<option value="America/Thunder_Bay" name="Thunder Bay (UTC-04:00)" selected="false"/>
<option value="America/Tijuana" name="Tijuana (UTC-07:00)" selected="false"/>
<option value="America/Toronto" name="Toronto (UTC-04:00)" selected="false"/>
<option value="America/Tortola" name="Tortola (UTC-04:00)" selected="false"/>
<option value="America/Argentina/Tucuman" name="Tucuman (UTC-03:00)" selected="false"/>
<option value="America/Argentina/Ushuaia" name="Ushuaia (UTC-03:00)" selected="false"/>
<option value="America/Vancouver" name="Vancouver (UTC-07:00)" selected="false"/>
<option value="America/Indiana/Vevay" name="Vevay, Indiana (UTC-04:00)" selected="false"/>
<option value="America/Indiana/Vincennes" name="Vincennes, Indiana (UTC-04:00)" selected="false"/>
<option value="America/Virgin" name="Virgin (UTC-04:00)" selected="false"/>
<option value="America/Whitehorse" name="Whitehorse (UTC-07:00)" selected="false"/>
<option value="America/Indiana/Winamac" name="Winamac, Indiana (UTC-04:00)" selected="false"/>
<option value="America/Winnipeg" name="Winnipeg (UTC-05:00)" selected="false"/>
<option value="America/Yakutat" name="Yakutat (UTC-08:00)" selected="false"/>
<option value="America/Yellowknife" name="Yellowknife (UTC-06:00)" selected="false"/>
<option value="America/Fort_Nelson" name="timezone.America.Fort_Nelson (UTC-07:00)" selected="false"/>
<option value="America/Punta_Arenas" name="timezone.America.Punta_Arenas (UTC-03:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Antarctica">Antarctica</label>
<option value="Antarctica/Casey" name="Casey (UTC+11:00)" selected="false"/>
<option value="Antarctica/Davis" name="Davis (UTC+07:00)" selected="false"/>
<option value="Antarctica/DumontDUrville" name="Dumont d’Urville (UTC+10:00)" selected="false"/>
<option value="Antarctica/Macquarie" name="Macquarie (UTC+11:00)" selected="false"/>
<option value="Antarctica/Mawson" name="Mawson (UTC+05:00)" selected="false"/>
<option value="Antarctica/McMurdo" name="McMurdo (UTC+12:00)" selected="false"/>
<option value="Antarctica/Palmer" name="Palmer (UTC-03:00)" selected="false"/>
<option value="Antarctica/Rothera" name="Rothera (UTC-03:00)" selected="false"/>
<option value="Antarctica/South_Pole" name="South Pole (UTC+12:00)" selected="false"/>
<option value="Antarctica/Syowa" name="Syowa (UTC+03:00)" selected="false"/>
<option value="Antarctica/Troll" name="Troll (UTC+02:00)" selected="false"/>
<option value="Antarctica/Vostok" name="Vostok (UTC+06:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Asia">Asia</label>
<option value="Asia/Aden" name="Aden (UTC+03:00)" selected="false"/>
<option value="Asia/Almaty" name="Almaty (UTC+06:00)" selected="false"/>
<option value="Asia/Amman" name="Amman (UTC+03:00)" selected="false"/>
<option value="Asia/Anadyr" name="Anadyr (UTC+12:00)" selected="false"/>
<option value="Asia/Aqtau" name="Aqtau (UTC+05:00)" selected="false"/>
<option value="Asia/Aqtobe" name="Aqtobe (UTC+05:00)" selected="false"/>
<option value="Asia/Ashgabat" name="Ashgabat (UTC+05:00)" selected="false"/>
<option value="Asia/Ashkhabad" name="Ashkhabad (UTC+05:00)" selected="false"/>
<option value="Asia/Baghdad" name="Baghdad (UTC+03:00)" selected="false"/>
<option value="Asia/Bahrain" name="Bahrain (UTC+03:00)" selected="false"/>
<option value="Asia/Baku" name="Baku (UTC+04:00)" selected="false"/>
<option value="Asia/Bangkok" name="Bangkok (UTC+07:00)" selected="false"/>
<option value="Asia/Beirut" name="Beirut (UTC+03:00)" selected="false"/>
<option value="Asia/Bishkek" name="Bishkek (UTC+06:00)" selected="false"/>
<option value="Asia/Brunei" name="Brunei (UTC+08:00)" selected="false"/>
<option value="Asia/Chita" name="Chita (UTC+09:00)" selected="false"/>
<option value="Asia/Choibalsan" name="Choibalsan (UTC+08:00)" selected="false"/>
<option value="Asia/Chongqing" name="Chongqing (UTC+08:00)" selected="false"/>
<option value="Asia/Chungking" name="Chungking (UTC+08:00)" selected="false"/>
<option value="Asia/Colombo" name="Colombo (UTC+05:30)" selected="false"/>
<option value="Asia/Dacca" name="Dacca (UTC+06:00)" selected="false"/>
<option value="Asia/Damascus" name="Damascus (UTC+03:00)" selected="false"/>
<option value="Asia/Dhaka" name="Dhaka (UTC+06:00)" selected="false"/>
<option value="Asia/Dili" name="Dili (UTC+09:00)" selected="false"/>
<option value="Asia/Dubai" name="Dubai (UTC+04:00)" selected="false"/>
<option value="Asia/Dushanbe" name="Dushanbe (UTC+05:00)" selected="false"/>
<option value="Asia/Gaza" name="Gaza (UTC+03:00)" selected="false"/>
<option value="Asia/Harbin" name="Harbin (UTC+08:00)" selected="false"/>
<option value="Asia/Hebron" name="Hebron (UTC+03:00)" selected="false"/>
<option value="Asia/Ho_Chi_Minh" name="Ho Chi Minh (UTC+07:00)" selected="false"/>
<option value="Asia/Saigon" name="Ho Chi Minh City (UTC+07:00)" selected="false"/>
<option value="Asia/Hong_Kong" name="Hong Kong (UTC+08:00)" selected="false"/>
<option value="Asia/Hovd" name="Hovd (UTC+07:00)" selected="false"/>
<option value="Asia/Irkutsk" name="Irkutsk (UTC+08:00)" selected="false"/>
<option value="Asia/Istanbul" name="Istanbul (UTC+03:00)" selected="false"/>
<option value="Asia/Jakarta" name="Jakarta (UTC+07:00)" selected="false"/>
<option value="Asia/Jayapura" name="Jayapura (UTC+09:00)" selected="false"/>
<option value="Asia/Jerusalem" name="Jerusalem (UTC+03:00)" selected="false"/>
<option value="Asia/Kabul" name="Kabul (UTC+04:30)" selected="false"/>
<option value="Asia/Kamchatka" name="Kamchatka (UTC+12:00)" selected="false"/>
<option value="Asia/Karachi" name="Karachi (UTC+05:00)" selected="false"/>
<option value="Asia/Kashgar" name="Kashgar (UTC+06:00)" selected="false"/>
<option value="Asia/Kathmandu" name="Kathmandu (UTC+05:45)" selected="false"/>
<option value="Asia/Katmandu" name="Kathmandu (UTC+05:45)" selected="false"/>
<option value="Asia/Khandyga" name="Khandyga (UTC+09:00)" selected="false"/>
<option value="Asia/Calcutta" name="Kolkata (UTC+05:30)" selected="false"/>
<option value="Asia/Kolkata" name="Kolkata (UTC+05:30)" selected="false"/>
<option value="Asia/Krasnoyarsk" name="Krasnoyarsk (UTC+07:00)" selected="false"/>
<option value="Asia/Kuala_Lumpur" name="Kuala Lumpur (UTC+08:00)" selected="false"/>
<option value="Asia/Kuching" name="Kuching (UTC+08:00)" selected="false"/>
<option value="Asia/Kuwait" name="Kuwait (UTC+03:00)" selected="false"/>
<option value="Asia/Macao" name="Macao (UTC+08:00)" selected="false"/>
<option value="Asia/Macau" name="Macau (UTC+08:00)" selected="false"/>
<option value="Asia/Magadan" name="Magadan (UTC+11:00)" selected="false"/>
<option value="Asia/Makassar" name="Makassar (UTC+08:00)" selected="false"/>
<option value="Asia/Manila" name="Manila (UTC+08:00)" selected="false"/>
<option value="Asia/Muscat" name="Muscat (UTC+04:00)" selected="false"/>
<option value="Asia/Nicosia" name="Nicosia (UTC+03:00)" selected="false"/>
<option value="Asia/Novokuznetsk" name="Novokuznetsk (UTC+07:00)" selected="false"/>
<option value="Asia/Novosibirsk" name="Novosibirsk (UTC+07:00)" selected="false"/>
<option value="Asia/Omsk" name="Omsk (UTC+06:00)" selected="false"/>
<option value="Asia/Oral" name="Oral (UTC+05:00)" selected="false"/>
<option value="Asia/Phnom_Penh" name="Phnom Penh (UTC+07:00)" selected="false"/>
<option value="Asia/Pontianak" name="Pontianak (UTC+07:00)" selected="false"/>
<option value="Asia/Pyongyang" name="Pyongyang (UTC+08:30)" selected="false"/>
<option value="Asia/Qatar" name="Qatar (UTC+03:00)" selected="false"/>
<option value="Asia/Qyzylorda" name="Qyzylorda (UTC+06:00)" selected="false"/>
<option value="Asia/Rangoon" name="Rangoon (UTC+06:30)" selected="false"/>
<option value="Asia/Riyadh" name="Riyadh (UTC+03:00)" selected="false"/>
<option value="Asia/Sakhalin" name="Sakhalin (UTC+11:00)" selected="false"/>
<option value="Asia/Samarkand" name="Samarkand (UTC+05:00)" selected="false"/>
<option value="Asia/Seoul" name="Seoul (UTC+09:00)" selected="false"/>
<option value="Asia/Shanghai" name="Shanghai (UTC+08:00)" selected="false"/>
<option value="Asia/Singapore" name="Singapore (UTC+08:00)" selected="false"/>
<option value="Asia/Srednekolymsk" name="Srednekolymsk (UTC+11:00)" selected="false"/>
<option value="Asia/Taipei" name="Taipei (UTC+08:00)" selected="false"/>
<option value="Asia/Tashkent" name="Tashkent (UTC+05:00)" selected="false"/>
<option value="Asia/Tbilisi" name="Tbilisi (UTC+04:00)" selected="false"/>
<option value="Asia/Tehran" name="Tehran (UTC+04:30)" selected="false"/>
<option value="Asia/Tel_Aviv" name="Tel Aviv (UTC+03:00)" selected="false"/>
<option value="Asia/Thimbu" name="Thimbu (UTC+06:00)" selected="false"/>
<option value="Asia/Thimphu" name="Thimphu (UTC+06:00)" selected="false"/>
<option value="Asia/Tokyo" name="Tokyo (UTC+09:00)" selected="false"/>
<option value="Asia/Ujung_Pandang" name="Ujung Pandang (UTC+08:00)" selected="false"/>
<option value="Asia/Ulaanbaatar" name="Ulaanbaatar (UTC+08:00)" selected="false"/>
<option value="Asia/Ulan_Bator" name="Ulan Bator (UTC+08:00)" selected="false"/>
<option value="Asia/Urumqi" name="Urumqi (UTC+06:00)" selected="false"/>
<option value="Asia/Ust-Nera" name="Ust-Nera (UTC+10:00)" selected="false"/>
<option value="Asia/Vientiane" name="Vientiane (UTC+07:00)" selected="false"/>
<option value="Asia/Vladivostok" name="Vladivostok (UTC+10:00)" selected="false"/>
<option value="Asia/Yakutsk" name="Yakutsk (UTC+09:00)" selected="false"/>
<option value="Asia/Yekaterinburg" name="Yekaterinburg (UTC+05:00)" selected="false"/>
<option value="Asia/Yerevan" name="Yerevan (UTC+04:00)" selected="false"/>
<option value="Asia/Atyrau" name="timezone.Asia.Atyrau (UTC+05:00)" selected="false"/>
<option value="Asia/Barnaul" name="timezone.Asia.Barnaul (UTC+07:00)" selected="false"/>
<option value="Asia/Famagusta" name="timezone.Asia.Famagusta (UTC+03:00)" selected="false"/>
<option value="Asia/Tomsk" name="timezone.Asia.Tomsk (UTC+07:00)" selected="false"/>
<option value="Asia/Yangon" name="timezone.Asia.Yangon (UTC+06:30)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Atlantic">Atlantic</label>
<option value="Atlantic/Azores" name="Azores (UTC)" selected="false"/>
<option value="Atlantic/Bermuda" name="Bermuda (UTC-03:00)" selected="false"/>
<option value="Atlantic/Canary" name="Canary (UTC+01:00)" selected="false"/>
<option value="Atlantic/Cape_Verde" name="Cape Verde (UTC-01:00)" selected="false"/>
<option value="Atlantic/Faeroe" name="Faroe (UTC+01:00)" selected="false"/>
<option value="Atlantic/Faroe" name="Faroe (UTC+01:00)" selected="false"/>
<option value="Atlantic/Jan_Mayen" name="Jan Mayen (UTC+02:00)" selected="false"/>
<option value="Atlantic/Madeira" name="Madeira (UTC+01:00)" selected="false"/>
<option value="Atlantic/Reykjavik" name="Reykjavik (UTC)" selected="false"/>
<option value="Atlantic/South_Georgia" name="South Georgia (UTC-02:00)" selected="false"/>
<option value="Atlantic/St_Helena" name="St. Helena (UTC)" selected="false"/>
<option value="Atlantic/Stanley" name="Stanley (UTC-03:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Australia">Australia</label>
<option value="Australia/ACT" name="ACT (UTC+10:00)" selected="false"/>
<option value="Australia/Adelaide" name="Adelaide (UTC+09:30)" selected="false"/>
<option value="Australia/Brisbane" name="Brisbane (UTC+10:00)" selected="false"/>
<option value="Australia/Broken_Hill" name="Broken Hill (UTC+09:30)" selected="false"/>
<option value="Australia/Canberra" name="Canberra (UTC+10:00)" selected="false"/>
<option value="Australia/Currie" name="Currie (UTC+10:00)" selected="false"/>
<option value="Australia/Darwin" name="Darwin (UTC+09:30)" selected="false"/>
<option value="Australia/Eucla" name="Eucla (UTC+08:45)" selected="false"/>
<option value="Australia/Hobart" name="Hobart (UTC+10:00)" selected="false"/>
<option value="Australia/LHI" name="LHI (UTC+10:30)" selected="false"/>
<option value="Australia/Lindeman" name="Lindeman (UTC+10:00)" selected="false"/>
<option value="Australia/Lord_Howe" name="Lord Howe (UTC+10:30)" selected="false"/>
<option value="Australia/Melbourne" name="Melbourne (UTC+10:00)" selected="false"/>
<option value="Australia/NSW" name="NSW (UTC+10:00)" selected="false"/>
<option value="Australia/North" name="North (UTC+09:30)" selected="false"/>
<option value="Australia/Perth" name="Perth (UTC+08:00)" selected="false"/>
<option value="Australia/Queensland" name="Queensland (UTC+10:00)" selected="false"/>
<option value="Australia/South" name="South (UTC+09:30)" selected="false"/>
<option value="Australia/Sydney" name="Sydney (UTC+10:00)" selected="false"/>
<option value="Australia/Tasmania" name="Tasmania (UTC+10:00)" selected="false"/>
<option value="Australia/Victoria" name="Victoria (UTC+10:00)" selected="false"/>
<option value="Australia/West" name="West (UTC+08:00)" selected="false"/>
<option value="Australia/Yancowinna" name="Yancowinna (UTC+09:30)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Europe">Europe</label>
<option value="Europe/Amsterdam" name="Amsterdam (UTC+02:00)" selected="false"/>
<option value="Europe/Andorra" name="Andorra (UTC+02:00)" selected="false"/>
<option value="Europe/Athens" name="Athens (UTC+03:00)" selected="false"/>
<option value="Europe/Belfast" name="Belfast (UTC+01:00)" selected="false"/>
<option value="Europe/Belgrade" name="Belgrade (UTC+02:00)" selected="false"/>
<option value="Europe/Berlin" name="Berlin (UTC+02:00)" selected="false"/>
<option value="Europe/Bratislava" name="Bratislava (UTC+02:00)" selected="false"/>
<option value="Europe/Brussels" name="Brussels (UTC+02:00)" selected="false"/>
<option value="Europe/Bucharest" name="Bucharest (UTC+03:00)" selected="false"/>
<option value="Europe/Budapest" name="Budapest (UTC+02:00)" selected="false"/>
<option value="Europe/Busingen" name="Busingen (UTC+02:00)" selected="false"/>
<option value="Europe/Chisinau" name="Chisinau (UTC+03:00)" selected="false"/>
<option value="Europe/Copenhagen" name="Copenhagen (UTC+02:00)" selected="false"/>
<option value="Europe/Dublin" name="Dublin (UTC+01:00)" selected="false"/>
<option value="Europe/Gibraltar" name="Gibraltar (UTC+02:00)" selected="false"/>
<option value="Europe/Guernsey" name="Guernsey (UTC+01:00)" selected="false"/>
<option value="Europe/Helsinki" name="Helsinki (UTC+03:00)" selected="false"/>
<option value="Europe/Isle_of_Man" name="Isle of Man (UTC+01:00)" selected="false"/>
<option value="Europe/Istanbul" name="Istanbul (UTC+03:00)" selected="false"/>
<option value="Europe/Jersey" name="Jersey (UTC+01:00)" selected="false"/>
<option value="Europe/Kaliningrad" name="Kaliningrad (UTC+02:00)" selected="false"/>
<option value="Europe/Kiev" name="Kiev (UTC+03:00)" selected="false"/>
<option value="Europe/Lisbon" name="Lisbon (UTC+01:00)" selected="false"/>
<option value="Europe/Ljubljana" name="Ljubljana (UTC+02:00)" selected="false"/>
<option value="Europe/London" name="London (UTC+01:00)" selected="false"/>
<option value="Europe/Luxembourg" name="Luxembourg (UTC+02:00)" selected="false"/>
<option value="Europe/Madrid" name="Madrid (UTC+02:00)" selected="false"/>
<option value="Europe/Malta" name="Malta (UTC+02:00)" selected="false"/>
<option value="Europe/Mariehamn" name="Mariehamn (UTC+03:00)" selected="false"/>
<option value="Europe/Minsk" name="Minsk (UTC+03:00)" selected="false"/>
<option value="Europe/Monaco" name="Monaco (UTC+02:00)" selected="false"/>
<option value="Europe/Moscow" name="Moscow (UTC+03:00)" selected="false"/>
<option value="Europe/Nicosia" name="Nicosia (UTC+03:00)" selected="false"/>
<option value="Europe/Oslo" name="Oslo (UTC+02:00)" selected="false"/>
<option value="Europe/Paris" name="Paris (UTC+02:00)" selected="false"/>
<option value="Europe/Podgorica" name="Podgorica (UTC+02:00)" selected="false"/>
<option value="Europe/Prague" name="Prague (UTC+02:00)" selected="false"/>
<option value="Europe/Riga" name="Riga (UTC+03:00)" selected="false"/>
<option value="Europe/Rome" name="Rome (UTC+02:00)" selected="false"/>
<option value="Europe/Samara" name="Samara (UTC+04:00)" selected="false"/>
<option value="Europe/San_Marino" name="San Marino (UTC+02:00)" selected="false"/>
<option value="Europe/Sarajevo" name="Sarajevo (UTC+02:00)" selected="false"/>
<option value="Europe/Simferopol" name="Simferopol (UTC+03:00)" selected="false"/>
<option value="Europe/Skopje" name="Skopje (UTC+02:00)" selected="false"/>
<option value="Europe/Sofia" name="Sofia (UTC+03:00)" selected="false"/>
<option value="Europe/Stockholm" name="Stockholm (UTC+02:00)" selected="false"/>
<option value="Europe/Tallinn" name="Tallinn (UTC+03:00)" selected="false"/>
<option value="Europe/Tirane" name="Tirane (UTC+02:00)" selected="false"/>
<option value="Europe/Tiraspol" name="Tiraspol (UTC+03:00)" selected="false"/>
<option value="Europe/Uzhgorod" name="Uzhgorod (UTC+03:00)" selected="false"/>
<option value="Europe/Vaduz" name="Vaduz (UTC+02:00)" selected="false"/>
<option value="Europe/Vatican" name="Vatican (UTC+02:00)" selected="false"/>
<option value="Europe/Vienna" name="Vienna (UTC+02:00)" selected="false"/>
<option value="Europe/Vilnius" name="Vilnius (UTC+03:00)" selected="false"/>
<option value="Europe/Volgograd" name="Volgograd (UTC+03:00)" selected="false"/>
<option value="Europe/Warsaw" name="Warsaw (UTC+02:00)" selected="false"/>
<option value="Europe/Zagreb" name="Zagreb (UTC+02:00)" selected="false"/>
<option value="Europe/Zaporozhye" name="Zaporozhye (UTC+03:00)" selected="false"/>
<option value="Europe/Zurich" name="Zurich (UTC+02:00)" selected="false"/>
<option value="Europe/Astrakhan" name="timezone.Europe.Astrakhan (UTC+04:00)" selected="false"/>
<option value="Europe/Kirov" name="timezone.Europe.Kirov (UTC+03:00)" selected="false"/>
<option value="Europe/Saratov" name="timezone.Europe.Saratov (UTC+04:00)" selected="false"/>
<option value="Europe/Ulyanovsk" name="timezone.Europe.Ulyanovsk (UTC+04:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Indian">Indian</label>
<option value="Indian/Antananarivo" name="Antananarivo (UTC+03:00)" selected="false"/>
<option value="Indian/Chagos" name="Chagos (UTC+06:00)" selected="false"/>
<option value="Indian/Christmas" name="Christmas (UTC+07:00)" selected="false"/>
<option value="Indian/Cocos" name="Cocos (UTC+06:30)" selected="false"/>
<option value="Indian/Comoro" name="Comoro (UTC+03:00)" selected="false"/>
<option value="Indian/Kerguelen" name="Kerguelen (UTC+05:00)" selected="false"/>
<option value="Indian/Mahe" name="Mahe (UTC+04:00)" selected="false"/>
<option value="Indian/Maldives" name="Maldives (UTC+05:00)" selected="false"/>
<option value="Indian/Mauritius" name="Mauritius (UTC+04:00)" selected="false"/>
<option value="Indian/Mayotte" name="Mayotte (UTC+03:00)" selected="false"/>
<option value="Indian/Reunion" name="Réunion (UTC+04:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Pacific">Pacific</label>
<option value="Pacific/Apia" name="Apia (UTC+13:00)" selected="false"/>
<option value="Pacific/Auckland" name="Auckland (UTC+12:00)" selected="false"/>
<option value="Pacific/Bougainville" name="Bougainville (UTC+11:00)" selected="false"/>
<option value="Pacific/Chatham" name="Chatham (UTC+12:45)" selected="false"/>
<option value="Pacific/Chuuk" name="Chuuk (UTC+10:00)" selected="false"/>
<option value="Pacific/Truk" name="Chuuk (UTC+10:00)" selected="false"/>
<option value="Pacific/Easter" name="Easter (UTC-06:00)" selected="false"/>
<option value="Pacific/Efate" name="Efate (UTC+11:00)" selected="false"/>
<option value="Pacific/Enderbury" name="Enderbury (UTC+13:00)" selected="false"/>
<option value="Pacific/Fakaofo" name="Fakaofo (UTC+13:00)" selected="false"/>
<option value="Pacific/Fiji" name="Fiji (UTC+12:00)" selected="false"/>
<option value="Pacific/Funafuti" name="Funafuti (UTC+12:00)" selected="false"/>
<option value="Pacific/Galapagos" name="Galapagos (UTC-06:00)" selected="false"/>
<option value="Pacific/Gambier" name="Gambier (UTC-09:00)" selected="false"/>
<option value="Pacific/Guadalcanal" name="Guadalcanal (UTC+11:00)" selected="false"/>
<option value="Pacific/Guam" name="Guam (UTC+10:00)" selected="false"/>
<option value="Pacific/Honolulu" name="Honolulu (UTC-10:00)" selected="false"/>
<option value="Pacific/Johnston" name="Johnston (UTC-10:00)" selected="false"/>
<option value="Pacific/Kiritimati" name="Kiritimati (UTC+14:00)" selected="false"/>
<option value="Pacific/Kosrae" name="Kosrae (UTC+11:00)" selected="false"/>
<option value="Pacific/Kwajalein" name="Kwajalein (UTC+12:00)" selected="false"/>
<option value="Pacific/Majuro" name="Majuro (UTC+12:00)" selected="false"/>
<option value="Pacific/Marquesas" name="Marquesas (UTC-09:30)" selected="false"/>
<option value="Pacific/Midway" name="Midway (UTC-11:00)" selected="false"/>
<option value="Pacific/Nauru" name="Nauru (UTC+12:00)" selected="false"/>
<option value="Pacific/Niue" name="Niue (UTC-11:00)" selected="false"/>
<option value="Pacific/Norfolk" name="Norfolk (UTC+11:00)" selected="false"/>
<option value="Pacific/Noumea" name="Noumea (UTC+11:00)" selected="false"/>
<option value="Pacific/Pago_Pago" name="Pago Pago (UTC-11:00)" selected="false"/>
<option value="Pacific/Palau" name="Palau (UTC+09:00)" selected="false"/>
<option value="Pacific/Pitcairn" name="Pitcairn (UTC-08:00)" selected="false"/>
<option value="Pacific/Pohnpei" name="Pohnpei (UTC+11:00)" selected="false"/>
<option value="Pacific/Ponape" name="Pohnpei (UTC+11:00)" selected="false"/>
<option value="Pacific/Port_Moresby" name="Port Moresby (UTC+10:00)" selected="false"/>
<option value="Pacific/Rarotonga" name="Rarotonga (UTC-10:00)" selected="false"/>
<option value="Pacific/Saipan" name="Saipan (UTC+10:00)" selected="false"/>
<option value="Pacific/Samoa" name="Samoa (UTC-11:00)" selected="false"/>
<option value="Pacific/Tahiti" name="Tahiti (UTC-10:00)" selected="false"/>
<option value="Pacific/Tarawa" name="Tarawa (UTC+12:00)" selected="false"/>
<option value="Pacific/Tongatapu" name="Tongatapu (UTC+13:00)" selected="false"/>
<option value="Pacific/Wake" name="Wake (UTC+12:00)" selected="false"/>
<option value="Pacific/Wallis" name="Wallis (UTC+12:00)" selected="false"/>
<option value="Pacific/Yap" name="Yap (UTC+10:00)" selected="false"/>
</optionGroup>
</selection>
<result>
<field name="name" type="text">
<value></value>
</field>
<field name="realname" type="text">
<value></value>
</field>
<field name="email" type="text">
<value></value>
</field>
<field name="description" type="longtext">
<value></value>
</field>
<field name="userType" type="list:select">
<value>LOCAL_USER</value>
</field>
<field name="language" type="list:select">
<value></value>
</field>
<field name="timeZone" type="list:select">
<value></value>
</field>
<field name="password" type="password">
<value></value>
</field>
<field name="passwordConfirmation" type="password">
<value></value>
</field>
<field name="groups" type="list:checkbox">
<value></value>
</field>
</result>
</data>
<bean id="subjects">
<option name="action" id="create"/>
</bean>
</action>
, org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '3' but was '2' - comparing <field...> at /action[1]/config[1]/meta-data[1]/field[1] to <field...> 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.335 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 <selection...> at /action[1]/data[1]/selection[1] to <selection...> at /action[1]/data[1]/selection[1]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<action xmlns="http://www.appng.org/schema/platform" id="create" eventId="subjectEvent">
<config>
<title id="subject.create">Create user</title>
<permissions>
<permission ref="subject.create" mode="set"></permission>
</permissions>
<params>
<param name="form_action">create</param>
</params>
<meta-data binding="subject" bindClass="org.appng.application.manager.form.SubjectForm">
<field name="name" type="text" binding="subject.name">
<label id="name">Name</label>
<validation>
<notNull>
<message ref="subject.name" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</notNull>
<size min="0" max="255">
<message ref="subject.name" class="ERROR" code="{validation.string.max}">Enter at most 255 characters</message>
</size>
<pattern regexp="^((((CN|cn)=[^,]+),?)*(((OU|ou)=[^,]+),?)*(((DC|dc)=[^,]+),?)*)|(([a-zA-Z0-9_\.-])+(@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]){2,})?)$">
<message ref="subject.name" class="ERROR" code="{validation.usernameGroup}">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 </message>
</pattern>
</validation>
<messages ref="subject.name">
<message ref="subject.name" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</messages>
</field>
<field name="realname" type="text" binding="subject.realname">
<label id="realname">Real name</label>
<validation>
<notNull>
<message ref="subject.realname" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</notNull>
<size min="0" max="64">
<message ref="subject.realname" class="ERROR" code="{validation.string.max}">Enter at most 64 characters</message>
</size>
</validation>
<messages ref="subject.realname">
<message ref="subject.realname" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</messages>
</field>
<field name="email" type="text" binding="subject.email">
<label id="email">E-mail</label>
<validation>
<pattern regexp="^([a-zA-Z0-9_\.-])+@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]){2,}$">
<message ref="subject.email" class="ERROR" code="{validation.email}">Please enter a valid e-mail address</message>
</pattern>
</validation>
<messages ref="email">
<message ref="email" class="ERROR">Please enter an e-mail address.</message>
</messages>
</field>
<field name="description" type="longtext" binding="subject.description">
<label id="description">Description</label>
<validation>
<size min="0" max="8192">
<message ref="subject.description" class="ERROR" code="{validation.string.max}">Enter at most 8192 characters</message>
</size>
</validation>
</field>
<field name="userType" type="list:select" binding="subject.userType">
<label id="type">Type</label>
</field>
<field name="language" type="list:select" binding="subject.language">
<label id="language">Language</label>
<validation>
<notNull>
<message ref="subject.language" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</notNull>
<size min="2" max="3">
<message ref="subject.language" class="ERROR" code="{validation.string.min.max}">Enter between 2 and 3 characters</message>
</size>
</validation>
<messages ref="subject.language">
<message ref="subject.language" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</messages>
</field>
<field name="timeZone" type="list:select" binding="subject.timeZone">
<label id="timezone">Timezone</label>
</field>
<field name="password" type="password" binding="password">
<label id="password">Password</label>
<validation/>
<messages ref="password">
<message ref="password" class="ERROR">Password must contain 1 or more lowercase letters.</message>
<message ref="password" class="ERROR">Password must contain 1 or more uppercase letters.</message>
<message ref="password" class="ERROR">Password must contain 1 or more numbers.</message>
<message ref="password" class="ERROR">Password must contain 1 or more special characters. Allowed are !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~</message>
<message ref="password" class="ERROR">Password must be at least 8 characters long.</message>
<message ref="password" class="ERROR">Password contains illegal character: '§'</message>
</messages>
</field>
<field name="passwordConfirmation" type="password" binding="passwordConfirmation">
<label id="password.confirmation">Password confirmation</label>
</field>
<field name="groups" type="list:checkbox" binding="groupIds">
<label id="groups">Groups</label>
</field>
</meta-data>
</config>
<condition expression="${form_action eq 'create'}"/>
<datasource id="new-user"/>
<userdata/>
<data>
<selection id="groups">
<title id="groups">Groups</title>
</selection>
<selection id="userType">
<title id="type">Type</title>
<option value="LOCAL_USER" name="Local User" selected="true"/>
<option value="GLOBAL_USER" name="LDAP User" selected="false"/>
<option value="GLOBAL_GROUP" name="LDAP Group" selected="false"/>
</selection>
<selection id="language">
<title id="language">Language</title>
</selection>
<selection id="passwordChangePolicy" type="radio">
<title id="passwordChangePolicy">Password restrictions</title>
<option value="MAY" name="May change" selected="true"/>
<option value="MUST" name="Must change" selected="false"/>
<option value="MUST_NOT" name="Must not change" selected="false"/>
<option value="MUST_RECOVER" name="Must use recovery" selected="false"/>
</selection>
<selection id="timeZone" type="select">
<title id="timezone">Timezone</title>
<optionGroup>
<label id="Africa">Africa</label>
<option value="Africa/Abidjan" name="Abidjan (UTC)" selected="false"/>
<option value="Africa/Accra" name="Accra (UTC)" selected="false"/>
<option value="Africa/Addis_Ababa" name="Addis Ababa (UTC+03:00)" selected="false"/>
<option value="Africa/Algiers" name="Algiers (UTC+01:00)" selected="false"/>
<option value="Africa/Asmara" name="Asmara (UTC+03:00)" selected="false"/>
<option value="Africa/Asmera" name="Asmara (UTC+03:00)" selected="false"/>
<option value="Africa/Bamako" name="Bamako (UTC)" selected="false"/>
<option value="Africa/Bangui" name="Bangui (UTC+01:00)" selected="false"/>
<option value="Africa/Banjul" name="Banjul (UTC)" selected="false"/>
<option value="Africa/Bissau" name="Bissau (UTC)" selected="false"/>
<option value="Africa/Blantyre" name="Blantyre (UTC+02:00)" selected="false"/>
<option value="Africa/Brazzaville" name="Brazzaville (UTC+01:00)" selected="false"/>
<option value="Africa/Bujumbura" name="Bujumbura (UTC+02:00)" selected="false"/>
<option value="Africa/Cairo" name="Cairo (UTC+02:00)" selected="false"/>
<option value="Africa/Casablanca" name="Casablanca (UTC+01:00)" selected="false"/>
<option value="Africa/Ceuta" name="Ceuta (UTC+02:00)" selected="false"/>
<option value="Africa/Conakry" name="Conakry (UTC)" selected="false"/>
<option value="Africa/Dakar" name="Dakar (UTC)" selected="false"/>
<option value="Africa/Dar_es_Salaam" name="Dar es Salaam (UTC+03:00)" selected="false"/>
<option value="Africa/Djibouti" name="Djibouti (UTC+03:00)" selected="false"/>
<option value="Africa/Douala" name="Douala (UTC+01:00)" selected="false"/>
<option value="Africa/El_Aaiun" name="El Aaiun (UTC+01:00)" selected="false"/>
<option value="Africa/Freetown" name="Freetown (UTC)" selected="false"/>
<option value="Africa/Gaborone" name="Gaborone (UTC+02:00)" selected="false"/>
<option value="Africa/Harare" name="Harare (UTC+02:00)" selected="false"/>
<option value="Africa/Johannesburg" name="Johannesburg (UTC+02:00)" selected="false"/>
<option value="Africa/Juba" name="Juba (UTC+03:00)" selected="false"/>
<option value="Africa/Kampala" name="Kampala (UTC+03:00)" selected="false"/>
<option value="Africa/Khartoum" name="Khartoum (UTC+03:00)" selected="false"/>
<option value="Africa/Kigali" name="Kigali (UTC+02:00)" selected="false"/>
<option value="Africa/Kinshasa" name="Kinshasa (UTC+01:00)" selected="false"/>
<option value="Africa/Lagos" name="Lagos (UTC+01:00)" selected="false"/>
<option value="Africa/Libreville" name="Libreville (UTC+01:00)" selected="false"/>
<option value="Africa/Lome" name="Lome (UTC)" selected="false"/>
<option value="Africa/Luanda" name="Luanda (UTC+01:00)" selected="false"/>
<option value="Africa/Lubumbashi" name="Lubumbashi (UTC+02:00)" selected="false"/>
<option value="Africa/Lusaka" name="Lusaka (UTC+02:00)" selected="false"/>
<option value="Africa/Malabo" name="Malabo (UTC+01:00)" selected="false"/>
<option value="Africa/Maputo" name="Maputo (UTC+02:00)" selected="false"/>
<option value="Africa/Maseru" name="Maseru (UTC+02:00)" selected="false"/>
<option value="Africa/Mbabane" name="Mbabane (UTC+02:00)" selected="false"/>
<option value="Africa/Mogadishu" name="Mogadishu (UTC+03:00)" selected="false"/>
<option value="Africa/Monrovia" name="Monrovia (UTC)" selected="false"/>
<option value="Africa/Nairobi" name="Nairobi (UTC+03:00)" selected="false"/>
<option value="Africa/Ndjamena" name="Ndjamena (UTC+01:00)" selected="false"/>
<option value="Africa/Niamey" name="Niamey (UTC+01:00)" selected="false"/>
<option value="Africa/Nouakchott" name="Nouakchott (UTC)" selected="false"/>
<option value="Africa/Ouagadougou" name="Ouagadougou (UTC)" selected="false"/>
<option value="Africa/Porto-Novo" name="Porto-Novo (UTC+01:00)" selected="false"/>
<option value="Africa/Sao_Tome" name="São Tomé (UTC)" selected="false"/>
<option value="Africa/Timbuktu" name="Timbuktu (UTC)" selected="false"/>
<option value="Africa/Tripoli" name="Tripoli (UTC+02:00)" selected="false"/>
<option value="Africa/Tunis" name="Tunis (UTC+01:00)" selected="false"/>
<option value="Africa/Windhoek" name="Windhoek (UTC+01:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="America">America</label>
<option value="America/Adak" name="Adak (UTC-09:00)" selected="false"/>
<option value="America/Anchorage" name="Anchorage (UTC-08:00)" selected="false"/>
<option value="America/Anguilla" name="Anguilla (UTC-04:00)" selected="false"/>
<option value="America/Antigua" name="Antigua (UTC-04:00)" selected="false"/>
<option value="America/Araguaina" name="Araguaina (UTC-03:00)" selected="false"/>
<option value="America/Aruba" name="Aruba (UTC-04:00)" selected="false"/>
<option value="America/Asuncion" name="Asunción (UTC-04:00)" selected="false"/>
<option value="America/Atikokan" name="Atikokan (UTC-05:00)" selected="false"/>
<option value="America/Coral_Harbour" name="Atikokan (UTC-05:00)" selected="false"/>
<option value="America/Atka" name="Atka (UTC-09:00)" selected="false"/>
<option value="America/Bahia" name="Bahia (UTC-03:00)" selected="false"/>
<option value="America/Bahia_Banderas" name="Bahia Banderas (UTC-05:00)" selected="false"/>
<option value="America/Barbados" name="Barbados (UTC-04:00)" selected="false"/>
<option value="America/Belem" name="Belem (UTC-03:00)" selected="false"/>
<option value="America/Belize" name="Belize (UTC-06:00)" selected="false"/>
<option value="America/North_Dakota/Beulah" name="Beulah, North Dakota (UTC-05:00)" selected="false"/>
<option value="America/Blanc-Sablon" name="Blanc-Sablon (UTC-04:00)" selected="false"/>
<option value="America/Boa_Vista" name="Boa Vista (UTC-04:00)" selected="false"/>
<option value="America/Bogota" name="Bogota (UTC-05:00)" selected="false"/>
<option value="America/Boise" name="Boise (UTC-06:00)" selected="false"/>
<option value="America/Argentina/Buenos_Aires" name="Buenos Aires (UTC-03:00)" selected="false"/>
<option value="America/Buenos_Aires" name="Buenos Aires (UTC-03:00)" selected="false"/>
<option value="America/Cambridge_Bay" name="Cambridge Bay (UTC-06:00)" selected="false"/>
<option value="America/Campo_Grande" name="Campo Grande (UTC-04:00)" selected="false"/>
<option value="America/Cancun" name="Cancun (UTC-05:00)" selected="false"/>
<option value="America/Caracas" name="Caracas (UTC-04:00)" selected="false"/>
<option value="America/Argentina/Catamarca" name="Catamarca (UTC-03:00)" selected="false"/>
<option value="America/Catamarca" name="Catamarca (UTC-03:00)" selected="false"/>
<option value="America/Cayenne" name="Cayenne (UTC-03:00)" selected="false"/>
<option value="America/Cayman" name="Cayman (UTC-05:00)" selected="false"/>
<option value="America/North_Dakota/Center" name="Center, North Dakota (UTC-05:00)" selected="false"/>
<option value="America/Chicago" name="Chicago (UTC-05:00)" selected="false"/>
<option value="America/Chihuahua" name="Chihuahua (UTC-06:00)" selected="false"/>
<option value="America/Argentina/ComodRivadavia" name="ComodRivadavia (UTC-03:00)" selected="false"/>
<option value="America/Argentina/Cordoba" name="Cordoba (UTC-03:00)" selected="false"/>
<option value="America/Cordoba" name="Cordoba (UTC-03:00)" selected="false"/>
<option value="America/Costa_Rica" name="Costa Rica (UTC-06:00)" selected="false"/>
<option value="America/Creston" name="Creston (UTC-07:00)" selected="false"/>
<option value="America/Cuiaba" name="Cuiaba (UTC-04:00)" selected="false"/>
<option value="America/Curacao" name="Curaçao (UTC-04:00)" selected="false"/>
<option value="America/Danmarkshavn" name="Danmarkshavn (UTC)" selected="false"/>
<option value="America/Dawson" name="Dawson (UTC-07:00)" selected="false"/>
<option value="America/Dawson_Creek" name="Dawson Creek (UTC-07:00)" selected="false"/>
<option value="America/Denver" name="Denver (UTC-06:00)" selected="false"/>
<option value="America/Detroit" name="Detroit (UTC-04:00)" selected="false"/>
<option value="America/Dominica" name="Dominica (UTC-04:00)" selected="false"/>
<option value="America/Edmonton" name="Edmonton (UTC-06:00)" selected="false"/>
<option value="America/Eirunepe" name="Eirunepe (UTC-05:00)" selected="false"/>
<option value="America/El_Salvador" name="El Salvador (UTC-06:00)" selected="false"/>
<option value="America/Ensenada" name="Ensenada (UTC-07:00)" selected="false"/>
<option value="America/Fort_Wayne" name="Fort Wayne (UTC-04:00)" selected="false"/>
<option value="America/Fortaleza" name="Fortaleza (UTC-03:00)" selected="false"/>
<option value="America/Glace_Bay" name="Glace Bay (UTC-03:00)" selected="false"/>
<option value="America/Goose_Bay" name="Goose Bay (UTC-03:00)" selected="false"/>
<option value="America/Grand_Turk" name="Grand Turk (UTC-04:00)" selected="false"/>
<option value="America/Grenada" name="Grenada (UTC-04:00)" selected="false"/>
<option value="America/Guadeloupe" name="Guadeloupe (UTC-04:00)" selected="false"/>
<option value="America/Guatemala" name="Guatemala (UTC-06:00)" selected="false"/>
<option value="America/Guayaquil" name="Guayaquil (UTC-05:00)" selected="false"/>
<option value="America/Guyana" name="Guyana (UTC-04:00)" selected="false"/>
<option value="America/Halifax" name="Halifax (UTC-03:00)" selected="false"/>
<option value="America/Havana" name="Havana (UTC-04:00)" selected="false"/>
<option value="America/Hermosillo" name="Hermosillo (UTC-07:00)" selected="false"/>
<option value="America/Indiana/Indianapolis" name="Indianapolis (UTC-04:00)" selected="false"/>
<option value="America/Indianapolis" name="Indianapolis (UTC-04:00)" selected="false"/>
<option value="America/Inuvik" name="Inuvik (UTC-06:00)" selected="false"/>
<option value="America/Iqaluit" name="Iqaluit (UTC-04:00)" selected="false"/>
<option value="America/Scoresbysund" name="Ittoqqortoormiit (UTC)" selected="false"/>
<option value="America/Jamaica" name="Jamaica (UTC-05:00)" selected="false"/>
<option value="America/Argentina/Jujuy" name="Jujuy (UTC-03:00)" selected="false"/>
<option value="America/Jujuy" name="Jujuy (UTC-03:00)" selected="false"/>
<option value="America/Juneau" name="Juneau (UTC-08:00)" selected="false"/>
<option value="America/Knox_IN" name="Knox IN (UTC-05:00)" selected="false"/>
<option value="America/Indiana/Knox" name="Knox, Indiana (UTC-05:00)" selected="false"/>
<option value="America/Kralendijk" name="Kralendijk (UTC-04:00)" selected="false"/>
<option value="America/La_Paz" name="La Paz (UTC-04:00)" selected="false"/>
<option value="America/Argentina/La_Rioja" name="La Rioja (UTC-03:00)" selected="false"/>
<option value="America/Lima" name="Lima (UTC-05:00)" selected="false"/>
<option value="America/Los_Angeles" name="Los Angeles (UTC-07:00)" selected="false"/>
<option value="America/Kentucky/Louisville" name="Louisville (UTC-04:00)" selected="false"/>
<option value="America/Louisville" name="Louisville (UTC-04:00)" selected="false"/>
<option value="America/Lower_Princes" name="Lower Princes Quarter (UTC-04:00)" selected="false"/>
<option value="America/Maceio" name="Maceio (UTC-03:00)" selected="false"/>
<option value="America/Managua" name="Managua (UTC-06:00)" selected="false"/>
<option value="America/Manaus" name="Manaus (UTC-04:00)" selected="false"/>
<option value="America/Indiana/Marengo" name="Marengo, Indiana (UTC-04:00)" selected="false"/>
<option value="America/Marigot" name="Marigot (UTC-04:00)" selected="false"/>
<option value="America/Martinique" name="Martinique (UTC-04:00)" selected="false"/>
<option value="America/Matamoros" name="Matamoros (UTC-05:00)" selected="false"/>
<option value="America/Mazatlan" name="Mazatlan (UTC-06:00)" selected="false"/>
<option value="America/Argentina/Mendoza" name="Mendoza (UTC-03:00)" selected="false"/>
<option value="America/Mendoza" name="Mendoza (UTC-03:00)" selected="false"/>
<option value="America/Menominee" name="Menominee (UTC-05:00)" selected="false"/>
<option value="America/Merida" name="Merida (UTC-05:00)" selected="false"/>
<option value="America/Metlakatla" name="Metlakatla (UTC-08:00)" selected="false"/>
<option value="America/Mexico_City" name="Mexico City (UTC-05:00)" selected="false"/>
<option value="America/Miquelon" name="Miquelon (UTC-02:00)" selected="false"/>
<option value="America/Moncton" name="Moncton (UTC-03:00)" selected="false"/>
<option value="America/Monterrey" name="Monterrey (UTC-05:00)" selected="false"/>
<option value="America/Montevideo" name="Montevideo (UTC-03:00)" selected="false"/>
<option value="America/Kentucky/Monticello" name="Monticello, Kentucky (UTC-04:00)" selected="false"/>
<option value="America/Montreal" name="Montreal (UTC-04:00)" selected="false"/>
<option value="America/Montserrat" name="Montserrat (UTC-04:00)" selected="false"/>
<option value="America/Nassau" name="Nassau (UTC-04:00)" selected="false"/>
<option value="America/North_Dakota/New_Salem" name="New Salem, North Dakota (UTC-05:00)" selected="false"/>
<option value="America/New_York" name="New York (UTC-04:00)" selected="false"/>
<option value="America/Nipigon" name="Nipigon (UTC-04:00)" selected="false"/>
<option value="America/Nome" name="Nome (UTC-08:00)" selected="false"/>
<option value="America/Noronha" name="Noronha (UTC-02:00)" selected="false"/>
<option value="America/Godthab" name="Nuuk (UTC-02:00)" selected="false"/>
<option value="America/Ojinaga" name="Ojinaga (UTC-06:00)" selected="false"/>
<option value="America/Panama" name="Panama (UTC-05:00)" selected="false"/>
<option value="America/Pangnirtung" name="Pangnirtung (UTC-04:00)" selected="false"/>
<option value="America/Paramaribo" name="Paramaribo (UTC-03:00)" selected="false"/>
<option value="America/Indiana/Petersburg" name="Petersburg, Indiana (UTC-04:00)" selected="false"/>
<option value="America/Phoenix" name="Phoenix (UTC-07:00)" selected="false"/>
<option value="America/Port_of_Spain" name="Port of Spain (UTC-04:00)" selected="false"/>
<option value="America/Port-au-Prince" name="Port-au-Prince (UTC-05:00)" selected="false"/>
<option value="America/Porto_Acre" name="Porto Acre (UTC-05:00)" selected="false"/>
<option value="America/Porto_Velho" name="Porto Velho (UTC-04:00)" selected="false"/>
<option value="America/Puerto_Rico" name="Puerto Rico (UTC-04:00)" selected="false"/>
<option value="America/Rainy_River" name="Rainy River (UTC-05:00)" selected="false"/>
<option value="America/Rankin_Inlet" name="Rankin Inlet (UTC-05:00)" selected="false"/>
<option value="America/Recife" name="Recife (UTC-03:00)" selected="false"/>
<option value="America/Regina" name="Regina (UTC-06:00)" selected="false"/>
<option value="America/Resolute" name="Resolute (UTC-05:00)" selected="false"/>
<option value="America/Rio_Branco" name="Rio Branco (UTC-05:00)" selected="false"/>
<option value="America/Argentina/Rio_Gallegos" name="Rio Gallegos (UTC-03:00)" selected="false"/>
<option value="America/Rosario" name="Rosario (UTC-03:00)" selected="false"/>
<option value="America/St_Barthelemy" name="Saint Barthélemy (UTC-04:00)" selected="false"/>
<option value="America/Argentina/Salta" name="Salta (UTC-03:00)" selected="false"/>
<option value="America/Argentina/San_Juan" name="San Juan (UTC-03:00)" selected="false"/>
<option value="America/Argentina/San_Luis" name="San Luis (UTC-03:00)" selected="false"/>
<option value="America/Santa_Isabel" name="Santa Isabel (UTC-07:00)" selected="false"/>
<option value="America/Santarem" name="Santarem (UTC-03:00)" selected="false"/>
<option value="America/Santiago" name="Santiago (UTC-04:00)" selected="false"/>
<option value="America/Santo_Domingo" name="Santo Domingo (UTC-04:00)" selected="false"/>
<option value="America/Sao_Paulo" name="Sao Paulo (UTC-03:00)" selected="false"/>
<option value="America/Shiprock" name="Shiprock (UTC-06:00)" selected="false"/>
<option value="America/Sitka" name="Sitka (UTC-08:00)" selected="false"/>
<option value="America/St_Johns" name="St. John’s (UTC-02:30)" selected="false"/>
<option value="America/St_Kitts" name="St. Kitts (UTC-04:00)" selected="false"/>
<option value="America/St_Lucia" name="St. Lucia (UTC-04:00)" selected="false"/>
<option value="America/St_Thomas" name="St. Thomas (UTC-04:00)" selected="false"/>
<option value="America/St_Vincent" name="St. Vincent (UTC-04:00)" selected="false"/>
<option value="America/Swift_Current" name="Swift Current (UTC-06:00)" selected="false"/>
<option value="America/Tegucigalpa" name="Tegucigalpa (UTC-06:00)" selected="false"/>
<option value="America/Indiana/Tell_City" name="Tell City, Indiana (UTC-05:00)" selected="false"/>
<option value="America/Thule" name="Thule (UTC-03:00)" selected="false"/>
<option value="America/Thunder_Bay" name="Thunder Bay (UTC-04:00)" selected="false"/>
<option value="America/Tijuana" name="Tijuana (UTC-07:00)" selected="false"/>
<option value="America/Toronto" name="Toronto (UTC-04:00)" selected="false"/>
<option value="America/Tortola" name="Tortola (UTC-04:00)" selected="false"/>
<option value="America/Argentina/Tucuman" name="Tucuman (UTC-03:00)" selected="false"/>
<option value="America/Argentina/Ushuaia" name="Ushuaia (UTC-03:00)" selected="false"/>
<option value="America/Vancouver" name="Vancouver (UTC-07:00)" selected="false"/>
<option value="America/Indiana/Vevay" name="Vevay, Indiana (UTC-04:00)" selected="false"/>
<option value="America/Indiana/Vincennes" name="Vincennes, Indiana (UTC-04:00)" selected="false"/>
<option value="America/Virgin" name="Virgin (UTC-04:00)" selected="false"/>
<option value="America/Whitehorse" name="Whitehorse (UTC-07:00)" selected="false"/>
<option value="America/Indiana/Winamac" name="Winamac, Indiana (UTC-04:00)" selected="false"/>
<option value="America/Winnipeg" name="Winnipeg (UTC-05:00)" selected="false"/>
<option value="America/Yakutat" name="Yakutat (UTC-08:00)" selected="false"/>
<option value="America/Yellowknife" name="Yellowknife (UTC-06:00)" selected="false"/>
<option value="America/Fort_Nelson" name="timezone.America.Fort_Nelson (UTC-07:00)" selected="false"/>
<option value="America/Punta_Arenas" name="timezone.America.Punta_Arenas (UTC-03:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Antarctica">Antarctica</label>
<option value="Antarctica/Casey" name="Casey (UTC+11:00)" selected="false"/>
<option value="Antarctica/Davis" name="Davis (UTC+07:00)" selected="false"/>
<option value="Antarctica/DumontDUrville" name="Dumont d’Urville (UTC+10:00)" selected="false"/>
<option value="Antarctica/Macquarie" name="Macquarie (UTC+11:00)" selected="false"/>
<option value="Antarctica/Mawson" name="Mawson (UTC+05:00)" selected="false"/>
<option value="Antarctica/McMurdo" name="McMurdo (UTC+12:00)" selected="false"/>
<option value="Antarctica/Palmer" name="Palmer (UTC-03:00)" selected="false"/>
<option value="Antarctica/Rothera" name="Rothera (UTC-03:00)" selected="false"/>
<option value="Antarctica/South_Pole" name="South Pole (UTC+12:00)" selected="false"/>
<option value="Antarctica/Syowa" name="Syowa (UTC+03:00)" selected="false"/>
<option value="Antarctica/Troll" name="Troll (UTC+02:00)" selected="false"/>
<option value="Antarctica/Vostok" name="Vostok (UTC+06:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Asia">Asia</label>
<option value="Asia/Aden" name="Aden (UTC+03:00)" selected="false"/>
<option value="Asia/Almaty" name="Almaty (UTC+06:00)" selected="false"/>
<option value="Asia/Amman" name="Amman (UTC+03:00)" selected="false"/>
<option value="Asia/Anadyr" name="Anadyr (UTC+12:00)" selected="false"/>
<option value="Asia/Aqtau" name="Aqtau (UTC+05:00)" selected="false"/>
<option value="Asia/Aqtobe" name="Aqtobe (UTC+05:00)" selected="false"/>
<option value="Asia/Ashgabat" name="Ashgabat (UTC+05:00)" selected="false"/>
<option value="Asia/Ashkhabad" name="Ashkhabad (UTC+05:00)" selected="false"/>
<option value="Asia/Baghdad" name="Baghdad (UTC+03:00)" selected="false"/>
<option value="Asia/Bahrain" name="Bahrain (UTC+03:00)" selected="false"/>
<option value="Asia/Baku" name="Baku (UTC+04:00)" selected="false"/>
<option value="Asia/Bangkok" name="Bangkok (UTC+07:00)" selected="false"/>
<option value="Asia/Beirut" name="Beirut (UTC+03:00)" selected="false"/>
<option value="Asia/Bishkek" name="Bishkek (UTC+06:00)" selected="false"/>
<option value="Asia/Brunei" name="Brunei (UTC+08:00)" selected="false"/>
<option value="Asia/Chita" name="Chita (UTC+09:00)" selected="false"/>
<option value="Asia/Choibalsan" name="Choibalsan (UTC+08:00)" selected="false"/>
<option value="Asia/Chongqing" name="Chongqing (UTC+08:00)" selected="false"/>
<option value="Asia/Chungking" name="Chungking (UTC+08:00)" selected="false"/>
<option value="Asia/Colombo" name="Colombo (UTC+05:30)" selected="false"/>
<option value="Asia/Dacca" name="Dacca (UTC+06:00)" selected="false"/>
<option value="Asia/Damascus" name="Damascus (UTC+03:00)" selected="false"/>
<option value="Asia/Dhaka" name="Dhaka (UTC+06:00)" selected="false"/>
<option value="Asia/Dili" name="Dili (UTC+09:00)" selected="false"/>
<option value="Asia/Dubai" name="Dubai (UTC+04:00)" selected="false"/>
<option value="Asia/Dushanbe" name="Dushanbe (UTC+05:00)" selected="false"/>
<option value="Asia/Gaza" name="Gaza (UTC+03:00)" selected="false"/>
<option value="Asia/Harbin" name="Harbin (UTC+08:00)" selected="false"/>
<option value="Asia/Hebron" name="Hebron (UTC+03:00)" selected="false"/>
<option value="Asia/Ho_Chi_Minh" name="Ho Chi Minh (UTC+07:00)" selected="false"/>
<option value="Asia/Saigon" name="Ho Chi Minh City (UTC+07:00)" selected="false"/>
<option value="Asia/Hong_Kong" name="Hong Kong (UTC+08:00)" selected="false"/>
<option value="Asia/Hovd" name="Hovd (UTC+07:00)" selected="false"/>
<option value="Asia/Irkutsk" name="Irkutsk (UTC+08:00)" selected="false"/>
<option value="Asia/Istanbul" name="Istanbul (UTC+03:00)" selected="false"/>
<option value="Asia/Jakarta" name="Jakarta (UTC+07:00)" selected="false"/>
<option value="Asia/Jayapura" name="Jayapura (UTC+09:00)" selected="false"/>
<option value="Asia/Jerusalem" name="Jerusalem (UTC+03:00)" selected="false"/>
<option value="Asia/Kabul" name="Kabul (UTC+04:30)" selected="false"/>
<option value="Asia/Kamchatka" name="Kamchatka (UTC+12:00)" selected="false"/>
<option value="Asia/Karachi" name="Karachi (UTC+05:00)" selected="false"/>
<option value="Asia/Kashgar" name="Kashgar (UTC+06:00)" selected="false"/>
<option value="Asia/Kathmandu" name="Kathmandu (UTC+05:45)" selected="false"/>
<option value="Asia/Katmandu" name="Kathmandu (UTC+05:45)" selected="false"/>
<option value="Asia/Khandyga" name="Khandyga (UTC+09:00)" selected="false"/>
<option value="Asia/Calcutta" name="Kolkata (UTC+05:30)" selected="false"/>
<option value="Asia/Kolkata" name="Kolkata (UTC+05:30)" selected="false"/>
<option value="Asia/Krasnoyarsk" name="Krasnoyarsk (UTC+07:00)" selected="false"/>
<option value="Asia/Kuala_Lumpur" name="Kuala Lumpur (UTC+08:00)" selected="false"/>
<option value="Asia/Kuching" name="Kuching (UTC+08:00)" selected="false"/>
<option value="Asia/Kuwait" name="Kuwait (UTC+03:00)" selected="false"/>
<option value="Asia/Macao" name="Macao (UTC+08:00)" selected="false"/>
<option value="Asia/Macau" name="Macau (UTC+08:00)" selected="false"/>
<option value="Asia/Magadan" name="Magadan (UTC+11:00)" selected="false"/>
<option value="Asia/Makassar" name="Makassar (UTC+08:00)" selected="false"/>
<option value="Asia/Manila" name="Manila (UTC+08:00)" selected="false"/>
<option value="Asia/Muscat" name="Muscat (UTC+04:00)" selected="false"/>
<option value="Asia/Nicosia" name="Nicosia (UTC+03:00)" selected="false"/>
<option value="Asia/Novokuznetsk" name="Novokuznetsk (UTC+07:00)" selected="false"/>
<option value="Asia/Novosibirsk" name="Novosibirsk (UTC+07:00)" selected="false"/>
<option value="Asia/Omsk" name="Omsk (UTC+06:00)" selected="false"/>
<option value="Asia/Oral" name="Oral (UTC+05:00)" selected="false"/>
<option value="Asia/Phnom_Penh" name="Phnom Penh (UTC+07:00)" selected="false"/>
<option value="Asia/Pontianak" name="Pontianak (UTC+07:00)" selected="false"/>
<option value="Asia/Pyongyang" name="Pyongyang (UTC+08:30)" selected="false"/>
<option value="Asia/Qatar" name="Qatar (UTC+03:00)" selected="false"/>
<option value="Asia/Qyzylorda" name="Qyzylorda (UTC+06:00)" selected="false"/>
<option value="Asia/Rangoon" name="Rangoon (UTC+06:30)" selected="false"/>
<option value="Asia/Riyadh" name="Riyadh (UTC+03:00)" selected="false"/>
<option value="Asia/Sakhalin" name="Sakhalin (UTC+11:00)" selected="false"/>
<option value="Asia/Samarkand" name="Samarkand (UTC+05:00)" selected="false"/>
<option value="Asia/Seoul" name="Seoul (UTC+09:00)" selected="false"/>
<option value="Asia/Shanghai" name="Shanghai (UTC+08:00)" selected="false"/>
<option value="Asia/Singapore" name="Singapore (UTC+08:00)" selected="false"/>
<option value="Asia/Srednekolymsk" name="Srednekolymsk (UTC+11:00)" selected="false"/>
<option value="Asia/Taipei" name="Taipei (UTC+08:00)" selected="false"/>
<option value="Asia/Tashkent" name="Tashkent (UTC+05:00)" selected="false"/>
<option value="Asia/Tbilisi" name="Tbilisi (UTC+04:00)" selected="false"/>
<option value="Asia/Tehran" name="Tehran (UTC+04:30)" selected="false"/>
<option value="Asia/Tel_Aviv" name="Tel Aviv (UTC+03:00)" selected="false"/>
<option value="Asia/Thimbu" name="Thimbu (UTC+06:00)" selected="false"/>
<option value="Asia/Thimphu" name="Thimphu (UTC+06:00)" selected="false"/>
<option value="Asia/Tokyo" name="Tokyo (UTC+09:00)" selected="false"/>
<option value="Asia/Ujung_Pandang" name="Ujung Pandang (UTC+08:00)" selected="false"/>
<option value="Asia/Ulaanbaatar" name="Ulaanbaatar (UTC+08:00)" selected="false"/>
<option value="Asia/Ulan_Bator" name="Ulan Bator (UTC+08:00)" selected="false"/>
<option value="Asia/Urumqi" name="Urumqi (UTC+06:00)" selected="false"/>
<option value="Asia/Ust-Nera" name="Ust-Nera (UTC+10:00)" selected="false"/>
<option value="Asia/Vientiane" name="Vientiane (UTC+07:00)" selected="false"/>
<option value="Asia/Vladivostok" name="Vladivostok (UTC+10:00)" selected="false"/>
<option value="Asia/Yakutsk" name="Yakutsk (UTC+09:00)" selected="false"/>
<option value="Asia/Yekaterinburg" name="Yekaterinburg (UTC+05:00)" selected="false"/>
<option value="Asia/Yerevan" name="Yerevan (UTC+04:00)" selected="false"/>
<option value="Asia/Atyrau" name="timezone.Asia.Atyrau (UTC+05:00)" selected="false"/>
<option value="Asia/Barnaul" name="timezone.Asia.Barnaul (UTC+07:00)" selected="false"/>
<option value="Asia/Famagusta" name="timezone.Asia.Famagusta (UTC+03:00)" selected="false"/>
<option value="Asia/Tomsk" name="timezone.Asia.Tomsk (UTC+07:00)" selected="false"/>
<option value="Asia/Yangon" name="timezone.Asia.Yangon (UTC+06:30)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Atlantic">Atlantic</label>
<option value="Atlantic/Azores" name="Azores (UTC)" selected="false"/>
<option value="Atlantic/Bermuda" name="Bermuda (UTC-03:00)" selected="false"/>
<option value="Atlantic/Canary" name="Canary (UTC+01:00)" selected="false"/>
<option value="Atlantic/Cape_Verde" name="Cape Verde (UTC-01:00)" selected="false"/>
<option value="Atlantic/Faeroe" name="Faroe (UTC+01:00)" selected="false"/>
<option value="Atlantic/Faroe" name="Faroe (UTC+01:00)" selected="false"/>
<option value="Atlantic/Jan_Mayen" name="Jan Mayen (UTC+02:00)" selected="false"/>
<option value="Atlantic/Madeira" name="Madeira (UTC+01:00)" selected="false"/>
<option value="Atlantic/Reykjavik" name="Reykjavik (UTC)" selected="false"/>
<option value="Atlantic/South_Georgia" name="South Georgia (UTC-02:00)" selected="false"/>
<option value="Atlantic/St_Helena" name="St. Helena (UTC)" selected="false"/>
<option value="Atlantic/Stanley" name="Stanley (UTC-03:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Australia">Australia</label>
<option value="Australia/ACT" name="ACT (UTC+10:00)" selected="false"/>
<option value="Australia/Adelaide" name="Adelaide (UTC+09:30)" selected="false"/>
<option value="Australia/Brisbane" name="Brisbane (UTC+10:00)" selected="false"/>
<option value="Australia/Broken_Hill" name="Broken Hill (UTC+09:30)" selected="false"/>
<option value="Australia/Canberra" name="Canberra (UTC+10:00)" selected="false"/>
<option value="Australia/Currie" name="Currie (UTC+10:00)" selected="false"/>
<option value="Australia/Darwin" name="Darwin (UTC+09:30)" selected="false"/>
<option value="Australia/Eucla" name="Eucla (UTC+08:45)" selected="false"/>
<option value="Australia/Hobart" name="Hobart (UTC+10:00)" selected="false"/>
<option value="Australia/LHI" name="LHI (UTC+10:30)" selected="false"/>
<option value="Australia/Lindeman" name="Lindeman (UTC+10:00)" selected="false"/>
<option value="Australia/Lord_Howe" name="Lord Howe (UTC+10:30)" selected="false"/>
<option value="Australia/Melbourne" name="Melbourne (UTC+10:00)" selected="false"/>
<option value="Australia/NSW" name="NSW (UTC+10:00)" selected="false"/>
<option value="Australia/North" name="North (UTC+09:30)" selected="false"/>
<option value="Australia/Perth" name="Perth (UTC+08:00)" selected="false"/>
<option value="Australia/Queensland" name="Queensland (UTC+10:00)" selected="false"/>
<option value="Australia/South" name="South (UTC+09:30)" selected="false"/>
<option value="Australia/Sydney" name="Sydney (UTC+10:00)" selected="false"/>
<option value="Australia/Tasmania" name="Tasmania (UTC+10:00)" selected="false"/>
<option value="Australia/Victoria" name="Victoria (UTC+10:00)" selected="false"/>
<option value="Australia/West" name="West (UTC+08:00)" selected="false"/>
<option value="Australia/Yancowinna" name="Yancowinna (UTC+09:30)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Europe">Europe</label>
<option value="Europe/Amsterdam" name="Amsterdam (UTC+02:00)" selected="false"/>
<option value="Europe/Andorra" name="Andorra (UTC+02:00)" selected="false"/>
<option value="Europe/Athens" name="Athens (UTC+03:00)" selected="false"/>
<option value="Europe/Belfast" name="Belfast (UTC+01:00)" selected="false"/>
<option value="Europe/Belgrade" name="Belgrade (UTC+02:00)" selected="false"/>
<option value="Europe/Berlin" name="Berlin (UTC+02:00)" selected="false"/>
<option value="Europe/Bratislava" name="Bratislava (UTC+02:00)" selected="false"/>
<option value="Europe/Brussels" name="Brussels (UTC+02:00)" selected="false"/>
<option value="Europe/Bucharest" name="Bucharest (UTC+03:00)" selected="false"/>
<option value="Europe/Budapest" name="Budapest (UTC+02:00)" selected="false"/>
<option value="Europe/Busingen" name="Busingen (UTC+02:00)" selected="false"/>
<option value="Europe/Chisinau" name="Chisinau (UTC+03:00)" selected="false"/>
<option value="Europe/Copenhagen" name="Copenhagen (UTC+02:00)" selected="false"/>
<option value="Europe/Dublin" name="Dublin (UTC+01:00)" selected="false"/>
<option value="Europe/Gibraltar" name="Gibraltar (UTC+02:00)" selected="false"/>
<option value="Europe/Guernsey" name="Guernsey (UTC+01:00)" selected="false"/>
<option value="Europe/Helsinki" name="Helsinki (UTC+03:00)" selected="false"/>
<option value="Europe/Isle_of_Man" name="Isle of Man (UTC+01:00)" selected="false"/>
<option value="Europe/Istanbul" name="Istanbul (UTC+03:00)" selected="false"/>
<option value="Europe/Jersey" name="Jersey (UTC+01:00)" selected="false"/>
<option value="Europe/Kaliningrad" name="Kaliningrad (UTC+02:00)" selected="false"/>
<option value="Europe/Kiev" name="Kiev (UTC+03:00)" selected="false"/>
<option value="Europe/Lisbon" name="Lisbon (UTC+01:00)" selected="false"/>
<option value="Europe/Ljubljana" name="Ljubljana (UTC+02:00)" selected="false"/>
<option value="Europe/London" name="London (UTC+01:00)" selected="false"/>
<option value="Europe/Luxembourg" name="Luxembourg (UTC+02:00)" selected="false"/>
<option value="Europe/Madrid" name="Madrid (UTC+02:00)" selected="false"/>
<option value="Europe/Malta" name="Malta (UTC+02:00)" selected="false"/>
<option value="Europe/Mariehamn" name="Mariehamn (UTC+03:00)" selected="false"/>
<option value="Europe/Minsk" name="Minsk (UTC+03:00)" selected="false"/>
<option value="Europe/Monaco" name="Monaco (UTC+02:00)" selected="false"/>
<option value="Europe/Moscow" name="Moscow (UTC+03:00)" selected="false"/>
<option value="Europe/Nicosia" name="Nicosia (UTC+03:00)" selected="false"/>
<option value="Europe/Oslo" name="Oslo (UTC+02:00)" selected="false"/>
<option value="Europe/Paris" name="Paris (UTC+02:00)" selected="false"/>
<option value="Europe/Podgorica" name="Podgorica (UTC+02:00)" selected="false"/>
<option value="Europe/Prague" name="Prague (UTC+02:00)" selected="false"/>
<option value="Europe/Riga" name="Riga (UTC+03:00)" selected="false"/>
<option value="Europe/Rome" name="Rome (UTC+02:00)" selected="false"/>
<option value="Europe/Samara" name="Samara (UTC+04:00)" selected="false"/>
<option value="Europe/San_Marino" name="San Marino (UTC+02:00)" selected="false"/>
<option value="Europe/Sarajevo" name="Sarajevo (UTC+02:00)" selected="false"/>
<option value="Europe/Simferopol" name="Simferopol (UTC+03:00)" selected="false"/>
<option value="Europe/Skopje" name="Skopje (UTC+02:00)" selected="false"/>
<option value="Europe/Sofia" name="Sofia (UTC+03:00)" selected="false"/>
<option value="Europe/Stockholm" name="Stockholm (UTC+02:00)" selected="false"/>
<option value="Europe/Tallinn" name="Tallinn (UTC+03:00)" selected="false"/>
<option value="Europe/Tirane" name="Tirane (UTC+02:00)" selected="false"/>
<option value="Europe/Tiraspol" name="Tiraspol (UTC+03:00)" selected="false"/>
<option value="Europe/Uzhgorod" name="Uzhgorod (UTC+03:00)" selected="false"/>
<option value="Europe/Vaduz" name="Vaduz (UTC+02:00)" selected="false"/>
<option value="Europe/Vatican" name="Vatican (UTC+02:00)" selected="false"/>
<option value="Europe/Vienna" name="Vienna (UTC+02:00)" selected="false"/>
<option value="Europe/Vilnius" name="Vilnius (UTC+03:00)" selected="false"/>
<option value="Europe/Volgograd" name="Volgograd (UTC+03:00)" selected="false"/>
<option value="Europe/Warsaw" name="Warsaw (UTC+02:00)" selected="false"/>
<option value="Europe/Zagreb" name="Zagreb (UTC+02:00)" selected="false"/>
<option value="Europe/Zaporozhye" name="Zaporozhye (UTC+03:00)" selected="false"/>
<option value="Europe/Zurich" name="Zurich (UTC+02:00)" selected="false"/>
<option value="Europe/Astrakhan" name="timezone.Europe.Astrakhan (UTC+04:00)" selected="false"/>
<option value="Europe/Kirov" name="timezone.Europe.Kirov (UTC+03:00)" selected="false"/>
<option value="Europe/Saratov" name="timezone.Europe.Saratov (UTC+04:00)" selected="false"/>
<option value="Europe/Ulyanovsk" name="timezone.Europe.Ulyanovsk (UTC+04:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Indian">Indian</label>
<option value="Indian/Antananarivo" name="Antananarivo (UTC+03:00)" selected="false"/>
<option value="Indian/Chagos" name="Chagos (UTC+06:00)" selected="false"/>
<option value="Indian/Christmas" name="Christmas (UTC+07:00)" selected="false"/>
<option value="Indian/Cocos" name="Cocos (UTC+06:30)" selected="false"/>
<option value="Indian/Comoro" name="Comoro (UTC+03:00)" selected="false"/>
<option value="Indian/Kerguelen" name="Kerguelen (UTC+05:00)" selected="false"/>
<option value="Indian/Mahe" name="Mahe (UTC+04:00)" selected="false"/>
<option value="Indian/Maldives" name="Maldives (UTC+05:00)" selected="false"/>
<option value="Indian/Mauritius" name="Mauritius (UTC+04:00)" selected="false"/>
<option value="Indian/Mayotte" name="Mayotte (UTC+03:00)" selected="false"/>
<option value="Indian/Reunion" name="Réunion (UTC+04:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Pacific">Pacific</label>
<option value="Pacific/Apia" name="Apia (UTC+13:00)" selected="false"/>
<option value="Pacific/Auckland" name="Auckland (UTC+12:00)" selected="false"/>
<option value="Pacific/Bougainville" name="Bougainville (UTC+11:00)" selected="false"/>
<option value="Pacific/Chatham" name="Chatham (UTC+12:45)" selected="false"/>
<option value="Pacific/Chuuk" name="Chuuk (UTC+10:00)" selected="false"/>
<option value="Pacific/Truk" name="Chuuk (UTC+10:00)" selected="false"/>
<option value="Pacific/Easter" name="Easter (UTC-06:00)" selected="false"/>
<option value="Pacific/Efate" name="Efate (UTC+11:00)" selected="false"/>
<option value="Pacific/Enderbury" name="Enderbury (UTC+13:00)" selected="false"/>
<option value="Pacific/Fakaofo" name="Fakaofo (UTC+13:00)" selected="false"/>
<option value="Pacific/Fiji" name="Fiji (UTC+12:00)" selected="false"/>
<option value="Pacific/Funafuti" name="Funafuti (UTC+12:00)" selected="false"/>
<option value="Pacific/Galapagos" name="Galapagos (UTC-06:00)" selected="false"/>
<option value="Pacific/Gambier" name="Gambier (UTC-09:00)" selected="false"/>
<option value="Pacific/Guadalcanal" name="Guadalcanal (UTC+11:00)" selected="false"/>
<option value="Pacific/Guam" name="Guam (UTC+10:00)" selected="false"/>
<option value="Pacific/Honolulu" name="Honolulu (UTC-10:00)" selected="false"/>
<option value="Pacific/Johnston" name="Johnston (UTC-10:00)" selected="false"/>
<option value="Pacific/Kiritimati" name="Kiritimati (UTC+14:00)" selected="false"/>
<option value="Pacific/Kosrae" name="Kosrae (UTC+11:00)" selected="false"/>
<option value="Pacific/Kwajalein" name="Kwajalein (UTC+12:00)" selected="false"/>
<option value="Pacific/Majuro" name="Majuro (UTC+12:00)" selected="false"/>
<option value="Pacific/Marquesas" name="Marquesas (UTC-09:30)" selected="false"/>
<option value="Pacific/Midway" name="Midway (UTC-11:00)" selected="false"/>
<option value="Pacific/Nauru" name="Nauru (UTC+12:00)" selected="false"/>
<option value="Pacific/Niue" name="Niue (UTC-11:00)" selected="false"/>
<option value="Pacific/Norfolk" name="Norfolk (UTC+11:00)" selected="false"/>
<option value="Pacific/Noumea" name="Noumea (UTC+11:00)" selected="false"/>
<option value="Pacific/Pago_Pago" name="Pago Pago (UTC-11:00)" selected="false"/>
<option value="Pacific/Palau" name="Palau (UTC+09:00)" selected="false"/>
<option value="Pacific/Pitcairn" name="Pitcairn (UTC-08:00)" selected="false"/>
<option value="Pacific/Pohnpei" name="Pohnpei (UTC+11:00)" selected="false"/>
<option value="Pacific/Ponape" name="Pohnpei (UTC+11:00)" selected="false"/>
<option value="Pacific/Port_Moresby" name="Port Moresby (UTC+10:00)" selected="false"/>
<option value="Pacific/Rarotonga" name="Rarotonga (UTC-10:00)" selected="false"/>
<option value="Pacific/Saipan" name="Saipan (UTC+10:00)" selected="false"/>
<option value="Pacific/Samoa" name="Samoa (UTC-11:00)" selected="false"/>
<option value="Pacific/Tahiti" name="Tahiti (UTC-10:00)" selected="false"/>
<option value="Pacific/Tarawa" name="Tarawa (UTC+12:00)" selected="false"/>
<option value="Pacific/Tongatapu" name="Tongatapu (UTC+13:00)" selected="false"/>
<option value="Pacific/Wake" name="Wake (UTC+12:00)" selected="false"/>
<option value="Pacific/Wallis" name="Wallis (UTC+12:00)" selected="false"/>
<option value="Pacific/Yap" name="Yap (UTC+10:00)" selected="false"/>
</optionGroup>
</selection>
<result>
<field name="name" type="text">
<value></value>
</field>
<field name="realname" type="text">
<value></value>
</field>
<field name="email" type="text">
<value></value>
</field>
<field name="description" type="longtext">
<value></value>
</field>
<field name="userType" type="list:select">
<value>LOCAL_USER</value>
</field>
<field name="language" type="list:select">
<value></value>
</field>
<field name="timeZone" type="list:select">
<value></value>
</field>
<field name="password" type="password">
<value></value>
</field>
<field name="passwordConfirmation" type="password">
<value></value>
</field>
<field name="groups" type="list:checkbox">
<value></value>
</field>
</result>
</data>
<bean id="subjects">
<option name="action" id="create"/>
</bean>
</action>
, org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '3' but was '1' - comparing <selection...> at /action[1]/data[1]/selection[1] to <selection...> 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.148 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 <messages...> at /messages[1] to <messages...> at /messages[1]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<messages xmlns="http://www.appng.org/schema/platform" ref="delete">
<message ref="delete" class="ERROR">User does not exist.</message>
<message ref="delete" class="ERROR">Failed to delete the user.</message>
</messages>
, org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '1' but was '2' - comparing <messages...> at /messages[1] to <messages...> 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.163 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 <selection...> at /datasource[1]/data[1]/selectionGroup[1]/selection[5] to <selection...> at /datasource[1]/data[1]/selectionGroup[1]/selection[5]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="users">
<config>
<title id="subjects">Users</title>
<permissions>
<permission ref="subject.list" mode="set"></permission>
</permissions>
<params>
<param name="userId"/>
<param name="groupId"/>
</params>
<meta-data bindClass="org.appng.api.model.Subject" result-selector="${current.id eq userId}">
<field name="name" type="text" binding="name">
<sort/>
<label id="name">Name</label>
</field>
<field name="realname" type="text" binding="realname">
<sort/>
<label id="realname">Real name</label>
</field>
<field name="description" type="text" binding="description">
<label id="description">Description</label>
</field>
<field name="typeName" type="text" binding="typeName">
<label id="userType">Type</label>
</field>
<field name="language" type="text" binding="language">
<label id="language">Language</label>
</field>
<field name="locked" type="image" binding="locked">
<label id="locked">Locked</label>
<icon condition="${current.locked}">led_red</icon>
<icon condition="${not current.locked}">led_green</icon>
</field>
<field name="actions" type="linkpanel" binding="actions">
<label id="actions">Actions</label>
</field>
</meta-data>
<linkpanel id="other" location="both">
<link id="other[1]" mode="intern" target="/users/user/create">
<permissions>
<permission ref="subject.create" mode="set"></permission>
</permissions>
<label id="subject.create">Create user</label>
<icon>new</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="actions[1]" mode="intern" target="/users/user/update/${current.id}" default="true">
<permissions>
<permission ref="subject.edit" mode="set"></permission>
</permissions>
<label id="edit">Edit</label>
<icon>edit</icon>
</link>
<link id="actions[2]" mode="intern" target="/users?form_action=delete&userid=${current.id}">
<permissions>
<permission ref="subject.delete" mode="set"></permission>
</permissions>
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="subject.delete.confirm" params="#{name}">Do you really want to delete the user "#{name}"?</confirmation>
</link>
</linkpanel>
</config>
<data>
<selectionGroup>
<selection id="f_name" type="text">
<title id="name">Name</title>
<option value="" name="" selected="true"/>
</selection>
<selection id="f_rlnme" type="text">
<title id="realname">Real name</title>
<option value="" name="" selected="true"/>
</selection>
<selection id="f_eml" type="text">
<title id="email">E-mail</title>
<option value="" name="" selected="true"/>
</selection>
<selection id="f_type" type="select">
<title id="type">Type</title>
<option/>
<option value="LOCAL_USER" name="Local User" selected="false"/>
<option value="GLOBAL_USER" name="LDAP User" selected="false"/>
<option value="GLOBAL_GROUP" name="LDAP Group" selected="false"/>
</selection>
<selection id="f_gid" type="select">
<title id="group">Group</title>
<option value="" name=""/>
</selection>
<selection id="f_lckd" type="radio">
<title id="locked">Locked</title>
<option value="all" name="All" selected="false"/>
<option value="true" name="Yes" selected="false"/>
<option value="false" name="No" selected="false"/>
</selection>
</selectionGroup>
<resultset chunk="0" chunkname="users" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '4' but was '2' - comparing <selection...> at /datasource[1]/data[1]/selectionGroup[1]/selection[5] to <selection...> 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.158 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 <selection...> at /datasource[1]/data[1]/selectionGroup[1]/selection[5] to <selection...> at /datasource[1]/data[1]/selectionGroup[1]/selection[5]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="users">
<config>
<title id="subjects">Users</title>
<permissions>
<permission ref="subject.list" mode="set"></permission>
</permissions>
<params>
<param name="userId"/>
<param name="groupId">1</param>
</params>
<meta-data bindClass="org.appng.api.model.Subject" result-selector="${current.id eq userId}">
<field name="name" type="text" binding="name">
<sort/>
<label id="name">Name</label>
</field>
<field name="realname" type="text" binding="realname">
<sort/>
<label id="realname">Real name</label>
</field>
<field name="description" type="text" binding="description">
<label id="description">Description</label>
</field>
<field name="typeName" type="text" binding="typeName">
<label id="userType">Type</label>
</field>
<field name="language" type="text" binding="language">
<label id="language">Language</label>
</field>
<field name="locked" type="image" binding="locked">
<label id="locked">Locked</label>
<icon condition="${current.locked}">led_red</icon>
<icon condition="${not current.locked}">led_green</icon>
</field>
<field name="actions" type="linkpanel" binding="actions">
<label id="actions">Actions</label>
</field>
</meta-data>
<linkpanel id="other" location="both">
<link id="other[1]" mode="intern" target="/users/user/create">
<permissions>
<permission ref="subject.create" mode="set"></permission>
</permissions>
<label id="subject.create">Create user</label>
<icon>new</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="actions[1]" mode="intern" target="/users/user/update/${current.id}" default="true">
<permissions>
<permission ref="subject.edit" mode="set"></permission>
</permissions>
<label id="edit">Edit</label>
<icon>edit</icon>
</link>
<link id="actions[2]" mode="intern" target="/users?form_action=delete&userid=${current.id}">
<permissions>
<permission ref="subject.delete" mode="set"></permission>
</permissions>
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="subject.delete.confirm" params="#{name}">Do you really want to delete the user "#{name}"?</confirmation>
</link>
</linkpanel>
</config>
<data>
<selectionGroup>
<selection id="f_name" type="text">
<title id="name">Name</title>
<option value="" name="" selected="true"/>
</selection>
<selection id="f_rlnme" type="text">
<title id="realname">Real name</title>
<option value="" name="" selected="true"/>
</selection>
<selection id="f_eml" type="text">
<title id="email">E-mail</title>
<option value="" name="" selected="true"/>
</selection>
<selection id="f_type" type="select">
<title id="type">Type</title>
<option/>
<option value="LOCAL_USER" name="Local User" selected="false"/>
<option value="GLOBAL_USER" name="LDAP User" selected="false"/>
<option value="GLOBAL_GROUP" name="LDAP Group" selected="false"/>
</selection>
<selection id="f_gid" type="select">
<title id="group">Group</title>
<option value="" name=""/>
</selection>
<selection id="f_lckd" type="radio">
<title id="locked">Locked</title>
<option value="all" name="All" selected="false"/>
<option value="true" name="Yes" selected="false"/>
<option value="false" name="No" selected="false"/>
</selection>
</selectionGroup>
<resultset chunk="0" chunkname="users" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '4' but was '2' - comparing <selection...> at /datasource[1]/data[1]/selectionGroup[1]/selection[5] to <selection...> 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: 1693926258
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.133 s <<< ERROR!
org.appng.api.ProcessingException: error retrieving datasource 'user', ID: 788830717
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@269cc578, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3be40656, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@68a2c4f2, org.springframework.test.context.support.DirtiesContextTestExecutionListener@284dac65, org.springframework.test.context.transaction.TransactionalTestExecutionListener@68ba0b11, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@737776e6]
[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@48e7126e: startup date [Tue Jun 08 15:47: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-08 15:47:11,133 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2021-06-08 15:47:11,298 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2021-06-08 15:47:11,305 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2021-06-08 15:47:11,728 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.appng.core.service.LdapService - LDAP Configuration of site 'localhost' neither uses LDAP over SSL ('ldaps://') nor STARTTLS. Credentials will be transmitted as cleartext.
[main] INFO org.appng.core.service.LdapService - LDAP operation failed on host 'ldap://localhost:389' with principal 'null=null,null' (javax.naming.CommunicationException: localhost:389)
[main] INFO org.springframework.context.support.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@48e7126e: startup date [Tue Jun 08 15:47:10 CEST 2021]; root of context hierarchy
[main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
2021-06-08 15:47:12,586 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2021-06-08 15:47:12,976 INFO [HSQLDB Connection @270a75f4] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: Database closed
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.295 s - in org.appng.application.manager.business.LdapUsersTest
[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@48c2f099, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4a3f541c, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@cd036cf, org.springframework.test.context.support.DirtiesContextTestExecutionListener@28bdec6a, org.springframework.test.context.transaction.TransactionalTestExecutionListener@772497dc, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@478ba290]
[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@df9e96a: startup date [Tue Jun 08 15:47:13 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-08 15:47:13,534 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2021-06-08 15:47:13,721 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2021-06-08 15:47:13,727 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2021-06-08 15:47:14,218 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@df9e96a: startup date [Tue Jun 08 15:47:13 CEST 2021]; root of context hierarchy
[main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
2021-06-08 15:47:15,149 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2021-06-08 15:47:15,467 INFO [HSQLDB Connection @49f8a397] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: Database closed
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.488 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@5632b58c, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@8d2c39a, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@44c1f6db, org.springframework.test.context.support.DirtiesContextTestExecutionListener@4a5fbf44, org.springframework.test.context.transaction.TransactionalTestExecutionListener@902ed56, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@17d231ff]
[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@6bfc4ba6: startup date [Tue Jun 08 15:47:15 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-08 15:47:15,943 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2021-06-08 15:47:16,105 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2021-06-08 15:47:16,115 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2021-06-08 15:47:16,537 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.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@3f8e6353
[main] INFO org.springframework.context.support.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@6bfc4ba6: startup date [Tue Jun 08 15:47:15 CEST 2021]; root of context hierarchy
[main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
2021-06-08 15:47:18,280 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2021-06-08 15:47:18,513 INFO [HSQLDB Connection @45dcb9b9] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: Database closed
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.043 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@6d9c8459, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6259a081, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@66487896, org.springframework.test.context.support.DirtiesContextTestExecutionListener@cfb78a4, org.springframework.test.context.transaction.TransactionalTestExecutionListener@54c9b2e, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@2abe7eae]
[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@58fe48a9: startup date [Tue Jun 08 15:47:18 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-08 15:47:18,981 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2021-06-08 15:47:19,147 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2021-06-08 15:47:19,153 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2021-06-08 15:47:19,585 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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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@58fe48a9: startup date [Tue Jun 08 15:47:18 CEST 2021]; root of context hierarchy
[main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
2021-06-08 15:47:22,185 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2021-06-08 15:47:22,422 INFO [HSQLDB Connection @2b4b5529] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: Database closed
[ERROR] Tests run: 8, Failures: 2, Errors: 5, Skipped: 0, Time elapsed: 3.899 s <<< FAILURE! - in org.appng.application.manager.business.PlatformPropertiesTest
[ERROR] testCreate(org.appng.application.manager.business.PlatformPropertiesTest) Time elapsed: 0.431 s <<< FAILURE!
junit.framework.AssertionFailedError:
XML does not match control XML
org.custommonkey.xmlunit.Diff
[different] Expected attribute value 'OK' but was 'ERROR' - comparing <message class="OK"...> at /messages[1]/message[1]/@class to <message class="ERROR"...> at /messages[1]/message[1]/@class
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<messages xmlns="http://www.appng.org/schema/platform" ref="create-platform-property">
<message ref="create-platform-property" class="ERROR">Failed to create the property.</message>
</messages>
, org.custommonkey.xmlunit.Diff
[different] Expected attribute value 'OK' but was 'ERROR' - comparing <message class="OK"...> at /messages[1]/message[1]/@class to <message class="ERROR"...> 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.456 s <<< ERROR!
org.appng.api.ProcessingException: error retrieving datasource 'property', ID: 1848859733
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.457 s <<< ERROR!
org.appng.api.ProcessingException: error retrieving datasource 'property', ID: 171612337
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.139 s <<< FAILURE!
junit.framework.AssertionFailedError:
XML does not match control XML
org.custommonkey.xmlunit.Diff
[different] Expected attribute value '4' but was '0' - comparing <resultset hits="4"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> at /datasource[1]/data[1]/resultset[1]/@hits
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="platformProperties">
<config>
<title id="platform.properties">Platform properties</title>
<permissions>
<permission ref="platform.properties" mode="set"></permission>
</permissions>
<params>
<param name="propId"/>
</params>
<meta-data bindClass="org.appng.api.model.Property" result-selector="${current.name eq propId}">
<field name="shortName" type="text" displayLength="50" binding="shortName">
<sort order="asc" name="name" prio="0"/>
<label id="name">Name</label>
</field>
<field name="displayValue" type="longtext" displayLength="120" binding="displayValue">
<label id="activeValue">Active Value</label>
</field>
<field name="description" type="text" displayLength="400" binding="description">
<label id="description">Description</label>
</field>
<field name="changedValue" type="image" binding="changedValue">
<label></label>
<icon condition="${!current.changedValue}">led_orange</icon>
<icon condition="${current.changedValue}">led_green</icon>
</field>
<field name="actions" type="linkpanel" binding="actions">
<label id="actions">Actions</label>
</field>
</meta-data>
<linkpanel id="other" location="both">
<link id="other[1]" mode="intern" target="/platform/property/create#tab_platformProperties">
<permissions>
<permission ref="platform.property.create" mode="set"></permission>
</permissions>
<label id="property.create">Create property</label>
<icon>new</icon>
</link>
<link id="other[2]" mode="intern" target="/platform?form_action=reloadPlatform">
<permissions>
<permission ref="platform.reload" mode="set"></permission>
</permissions>
<label id="platform.reload">Reload platform</label>
<icon>reload</icon>
<confirmation id="platform.reload.confirm">Do you really want to reload the platform?</confirmation>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="actions[1]" mode="intern" target="/platform/property/update/${current.name}#tab_platformProperties" default="true">
<permissions>
<permission ref="platform.property.edit" mode="set"></permission>
</permissions>
<label id="edit">Edit</label>
<icon>edit</icon>
</link>
<link id="actions[2]" mode="intern" target="/platform?form_action=delete-platform-property&propertyid=${current.name}#tab_platformProperties">
<permissions>
<permission ref="platform.property.delete" mode="set"></permission>
</permissions>
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="property.delete.confirm" params="#{shortName}">Do you really want to delete the property "#{shortName}"?</confirmation>
</link>
</linkpanel>
</config>
<data>
<resultset chunk="0" chunkname="platformProperties" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected attribute value '4' but was '0' - comparing <resultset hits="4"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> 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.132 s <<< ERROR!
org.appng.api.ProcessingException: error retrieving datasource 'property', ID: 1367630383
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.128 s <<< ERROR!
org.appng.api.ProcessingException: error retrieving datasource 'property', ID: 117146361
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: 1637440005
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@6d68c4d3, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@706d056a, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1dcc6e25, org.springframework.test.context.support.DirtiesContextTestExecutionListener@62c5089c, org.springframework.test.context.transaction.TransactionalTestExecutionListener@4920064b, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@51fe1c50]
[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@65f6918f: startup date [Tue Jun 08 15:47: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-08 15:47:22,921 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2021-06-08 15:47:23,088 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2021-06-08 15:47:23,096 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2021-06-08 15:47:23,529 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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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@65f6918f: startup date [Tue Jun 08 15:47:22 CEST 2021]; root of context hierarchy
[main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
2021-06-08 15:47:25,155 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2021-06-08 15:47:25,394 INFO [HSQLDB Connection @7c065fc5] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: Database closed
[ERROR] Tests run: 8, Failures: 1, Errors: 7, Skipped: 0, Time elapsed: 2.961 s <<< FAILURE! - in org.appng.application.manager.business.GroupsTest
[ERROR] testCreateGroup(org.appng.application.manager.business.GroupsTest) Time elapsed: 0.141 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.17 s <<< ERROR!
org.appng.api.ProcessingException: error retrieving datasource 'new-group', ID: 324358455
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.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.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.13 s <<< ERROR!
org.appng.api.ProcessingException: error retrieving datasource 'group', ID: 1592884201
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.157 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 <sort...> at /datasource[1]/config[1]/meta-data[1]/field[1]/sort[1] to <sort...> at /datasource[1]/config[1]/meta-data[1]/field[1]/sort[1]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="groups">
<config>
<title id="groups">Groups</title>
<permissions>
<permission ref="group.list" mode="set"></permission>
</permissions>
<params>
<param name="groupid"/>
<param name="groupName">admin</param>
</params>
<meta-data bindClass="org.appng.api.model.Group" result-selector="${current.id eq groupid}">
<field name="name" type="text" binding="name">
<sort/>
<label id="name">Name</label>
</field>
<field name="description" type="text" binding="description">
<label id="description">Description</label>
</field>
<field name="actions" type="linkpanel" binding="actions">
<label id="actions">Actions</label>
</field>
</meta-data>
<linkpanel id="other" location="both">
<link id="other[1]" mode="intern" target="/users/group/create#tab_groups">
<permissions>
<permission ref="group.create" mode="set"></permission>
</permissions>
<label id="group.create">Create group</label>
<icon>new</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="actions[1]" mode="intern" target="/users/group/update/${current.id}#tab_groups" default="true">
<permissions>
<permission ref="group.edit" mode="set"></permission>
</permissions>
<label id="edit">Edit</label>
<icon>edit</icon>
</link>
<link id="actions[2]" mode="intern" target="/users?form_action=deleteGroup&groupid=${current.id}">
<condition expression="${not current.defaultAdmin}"/>
<permissions>
<permission ref="group.delete" mode="set"></permission>
</permissions>
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="group.delete.confirm" params="${current.name}">Do you really want to delete the group "${current.name}"?</confirmation>
</link>
</linkpanel>
</config>
<data>
<selectionGroup>
<selection id="f_gn" type="text">
<title id="name">Name</title>
<option value="admin" name="f_gn"/>
</selection>
</selectionGroup>
<resultset chunk="0" chunkname="groups" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected number of element attributes '2' but was '0' - comparing <sort...> at /datasource[1]/config[1]/meta-data[1]/field[1]/sort[1] to <sort...> 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.139 s <<< ERROR!
org.appng.api.ProcessingException: error retrieving datasource 'group', ID: 112141395
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.139 s <<< ERROR!
org.appng.api.ProcessingException: error retrieving datasource 'group', ID: 865164101
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@3dc5b683, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@c34d2aa, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@12c5f035, org.springframework.test.context.support.DirtiesContextTestExecutionListener@161db0c1, org.springframework.test.context.transaction.TransactionalTestExecutionListener@67c6d2f, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@2c774ec8]
[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@6a6e7673: startup date [Tue Jun 08 15:47: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-08 15:47:25,971 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2021-06-08 15:47:26,132 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2021-06-08 15:47:26,139 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2021-06-08 15:47:26,608 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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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@6a6e7673: startup date [Tue Jun 08 15:47:25 CEST 2021]; root of context hierarchy
[main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
2021-06-08 15:47:27,684 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2021-06-08 15:47:27,944 INFO [HSQLDB Connection @44baf85d] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: Database closed
[ERROR] Tests run: 4, Failures: 1, Errors: 3, Skipped: 0, Time elapsed: 2.543 s <<< FAILURE! - in org.appng.application.manager.business.SitePropertiesTest
[ERROR] testCreate(org.appng.application.manager.business.SitePropertiesTest) Time elapsed: 0.142 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.174 s <<< FAILURE!
junit.framework.AssertionFailedError:
XML does not match control XML
org.custommonkey.xmlunit.Diff
[different] Expected attribute value '3' but was '0' - comparing <resultset hits="3"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> at /datasource[1]/data[1]/resultset[1]/@hits
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="site-properties">
<config>
<title id="site.properties">Site properties</title>
<permissions>
<permission ref="site.properties" mode="set"></permission>
</permissions>
<params>
<param name="siteid">1</param>
<param name="propId"/>
</params>
<meta-data bindClass="org.appng.api.model.Property" result-selector="${current.name eq propId}">
<field name="shortName" type="text" displayLength="50" binding="shortName">
<sort order="asc" name="name" prio="0"/>
<label id="name">Name</label>
</field>
<field name="displayValue" type="longtext" displayLength="120" binding="displayValue">
<label id="activeValue">Active Value</label>
</field>
<field name="description" type="text" displayLength="400" binding="description">
<label id="description">Description</label>
</field>
<field name="changedValue" type="image" binding="changedValue">
<label></label>
<icon condition="${!current.changedValue}">led_orange</icon>
<icon condition="${current.changedValue}">led_green</icon>
</field>
<field name="actions" type="linkpanel" binding="actions">
<label id="actions">Actions</label>
</field>
</meta-data>
<linkpanel id="other" location="both">
<link id="other[1]" mode="intern" target="/sites/update/1/site-property/create#tab_site-properties">
<permissions>
<permission ref="site.property.create" mode="set"></permission>
</permissions>
<label id="property.create">Create property</label>
<icon>new</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="actions[1]" mode="intern" target="/sites/update/1/site-property/update/${current.name}#tab_site-properties" default="true">
<permissions>
<permission ref="site.property.edit" mode="set"></permission>
</permissions>
<label id="edit">Edit</label>
<icon>edit</icon>
</link>
<link id="actions[2]" mode="intern" target="/sites/update/1?form_action=delete-site-property&propertyid=${current.name}#tab_site-properties">
<permissions>
<permission ref="site.property.delete" mode="set"></permission>
</permissions>
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="property.delete.confirm" params="#{shortName}">Do you really want to delete the property "#{shortName}"?</confirmation>
</link>
</linkpanel>
</config>
<data>
<resultset chunk="0" chunkname="site-properties" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected attribute value '3' but was '0' - comparing <resultset hits="3"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> 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.127 s <<< ERROR!
org.appng.api.ProcessingException: error retrieving datasource 'property', ID: 247757436
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.133 s <<< ERROR!
org.appng.api.ProcessingException: error retrieving datasource 'property', ID: 1317046813
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.001 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@2599cef1, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@625f2e45, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@478efdd5, org.springframework.test.context.support.DirtiesContextTestExecutionListener@11a7486a, org.springframework.test.context.transaction.TransactionalTestExecutionListener@7a22e2e9, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@6194c6ee]
[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@7a0b0916: startup date [Tue Jun 08 15:47: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-08 15:47:28,406 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2021-06-08 15:47:28,568 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2021-06-08 15:47:28,575 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2021-06-08 15:47:28,994 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@7a0b0916: startup date [Tue Jun 08 15:47:28 CEST 2021]; root of context hierarchy
[main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
2021-06-08 15:47:29,510 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2021-06-08 15:47:29,892 INFO [HSQLDB Connection @6bd5bd4f] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: Database closed
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.944 s - in org.appng.application.manager.business.ClusterStateTest
[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@3f9ed626, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6dc3dd0e, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@738ef4bb, org.springframework.test.context.support.DirtiesContextTestExecutionListener@77fe2572, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3e98f24d, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@4dc0633d]
[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@4f3c04e8: startup date [Tue Jun 08 15:47: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-08 15:47:30,343 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2021-06-08 15:47:30,507 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2021-06-08 15:47:30,513 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2021-06-08 15:47:30,963 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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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@4f3c04e8: startup date [Tue Jun 08 15:47:30 CEST 2021]; root of context hierarchy
[main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
2021-06-08 15:47:32,559 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2021-06-08 15:47:32,872 INFO [HSQLDB Connection @208fa22c] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: Database closed
[ERROR] Tests run: 6, Failures: 2, Errors: 4, Skipped: 0, Time elapsed: 2.973 s <<< FAILURE! - in org.appng.application.manager.business.PermissionsTest
[ERROR] testCreate(org.appng.application.manager.business.PermissionsTest) 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.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.296 s <<< ERROR!
org.appng.api.ProcessingException: error performing action 'create-permission' of event 'permissionEvent', ID: 1402498970
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.158 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 <messages...> at /messages[1] to <messages...> at /messages[1]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<messages xmlns="http://www.appng.org/schema/platform" ref="delete-permission">
<message ref="delete-permission" class="ERROR">Permission does not exist.</message>
<message ref="delete-permission" class="ERROR">Failed to delete the permission.</message>
</messages>
, org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '1' but was '2' - comparing <messages...> at /messages[1] to <messages...> 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.212 s <<< ERROR!
org.appng.api.ProcessingException: error retrieving datasource 'permission', ID: 567165653
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.137 s <<< FAILURE!
junit.framework.AssertionFailedError:
XML does not match control XML
org.custommonkey.xmlunit.Diff
[different] Expected attribute value '2' but was '0' - comparing <resultset hits="2"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> at /datasource[1]/data[1]/resultset[1]/@hits
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="permissions">
<config>
<title id="permissions">Permissions</title>
<permissions>
<permission ref="permission.list" mode="set"></permission>
</permissions>
<params>
<param name="appid">1</param>
</params>
<meta-data bindClass="org.appng.core.domain.PermissionImpl">
<field name="name" type="text" binding="name">
<sort/>
<label id="name">Name</label>
</field>
<field name="description" type="text" binding="description">
<label id="description">Description</label>
</field>
<field name="application.name" type="text" binding="application.name">
<label id="application">Application</label>
</field>
<field name="actions" type="linkpanel" binding="actions">
<label id="actions">Actions</label>
</field>
</meta-data>
<linkpanel id="other" location="both">
<link id="other[1]" mode="intern" target="/applications/update/1/permission/create#tab_permissions">
<permissions>
<permission ref="permission.create" mode="set"></permission>
</permissions>
<label id="permission.create">Create Permission</label>
<icon>new</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="actions[1]" mode="intern" target="/applications/update/1/permission/update/${current.id}#tab_permissions" default="true">
<permissions>
<permission ref="permission.edit" mode="set"></permission>
</permissions>
<label id="edit">Edit</label>
<icon>edit</icon>
</link>
<link id="actions[2]" mode="intern" target="/applications/update/1?form_action=delete-permission&permissionid=${current.id}#tab_permissions">
<permissions>
<permission ref="permission.delete" mode="set"></permission>
</permissions>
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="permission.delete.confirm" params="#{name}">Do you really want to delete the permission "#{name}"?</confirmation>
</link>
</linkpanel>
</config>
<data>
<resultset chunk="0" chunkname="permissions" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected attribute value '2' but was '0' - comparing <resultset hits="2"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> 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.137 s <<< ERROR!
org.appng.api.ProcessingException: error retrieving datasource 'permission', ID: 486478162
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@13321ea3, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3a4ba9f8, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@79eb1116, org.springframework.test.context.support.DirtiesContextTestExecutionListener@32e78542, org.springframework.test.context.transaction.TransactionalTestExecutionListener@31a342bb, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@56c0391e]
[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@79c1b746: startup date [Tue Jun 08 15:47: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-08 15:47:33,339 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2021-06-08 15:47:33,505 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2021-06-08 15:47:33,514 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2021-06-08 15:47:33,957 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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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(<generated>)
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@79c1b746: startup date [Tue Jun 08 15:47:33 CEST 2021]; root of context hierarchy
[main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
2021-06-08 15:47:35,407 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2021-06-08 15:47:35,679 INFO [HSQLDB Connection @5f39a717] hsqldb.db.HSQLDB79EBE00C0A.ENGINE: Database closed
[ERROR] Tests run: 6, Failures: 2, Errors: 4, Skipped: 0, Time elapsed: 2.8 s <<< FAILURE! - in org.appng.application.manager.business.RoleTest
[ERROR] testCreate(org.appng.application.manager.business.RoleTest) Time elapsed: 0.133 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.281 s <<< ERROR!
org.appng.api.ProcessingException: error performing action 'create-role' of event 'roleEvent', ID: 98870424
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.142 s <<< FAILURE!
junit.framework.AssertionFailedError:
XML does not match control XML
org.custommonkey.xmlunit.Diff
[different] Expected attribute value 'OK' but was 'ERROR' - comparing <message class="OK"...> at /messages[1]/message[1]/@class to <message class="ERROR"...> at /messages[1]/message[1]/@class
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<messages xmlns="http://www.appng.org/schema/platform" ref="delete-role">
<message ref="delete-role" class="ERROR">Role does not exist.</message>
</messages>
, org.custommonkey.xmlunit.Diff
[different] Expected attribute value 'OK' but was 'ERROR' - comparing <message class="OK"...> at /messages[1]/message[1]/@class to <message class="ERROR"...> 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.14 s <<< FAILURE!
junit.framework.AssertionFailedError:
XML does not match control XML
org.custommonkey.xmlunit.Diff
[different] Expected attribute value '1' but was '0' - comparing <resultset hits="1"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> at /datasource[1]/data[1]/resultset[1]/@hits
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="roles">
<config>
<title id="roles">Roles</title>
<permissions>
<permission ref="role.list" mode="set"></permission>
</permissions>
<params>
<param name="appid">1</param>
<param name="roleid"/>
</params>
<meta-data bindClass="org.appng.api.model.Role" result-selector="${current.id eq roleid}">
<field name="name" type="text" binding="name">
<sort order="asc" prio="0" ignore-case="true"/>
<label id="name">Name</label>
</field>
<field name="description" type="text" binding="description">
<label id="description">Description</label>
</field>
<field name="application.name" type="text" readonly="true" binding="application.name">
<label id="application">Application</label>
</field>
<field name="actions" type="linkpanel" binding="actions">
<label id="actions">Actions</label>
</field>
</meta-data>
<linkpanel id="other" location="both">
<link id="other[1]" mode="intern" target="/applications/update/1/role/create#tab_roles">
<permissions>
<permission ref="role.create" mode="set"></permission>
</permissions>
<label id="role.create">Create role</label>
<icon>new</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="actions[1]" mode="intern" target="/applications/update/1/role/update/${current.id}#tab_roles" default="true">
<permissions>
<permission ref="role.edit" mode="set"></permission>
</permissions>
<label id="edit">Edit</label>
<icon>edit</icon>
</link>
<link id="actions[2]" mode="intern" target="/applications/update/1?form_action=delete-role&roleid=${current.id}#tab_roles">
<permissions>
<permission ref="role.delete" mode="set"></permission>
</permissions>
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="role.delete.confirm" params="#{name}">Do you really want to delete the role "#{name}"?</confirmation>
</link>
</linkpanel>
</config>
<data>
<resultset chunk="0" chunkname="roles" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected attribute value '1' but was '0' - comparing <resultset hits="1"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> 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.139 s <<< ERROR!
org.appng.api.ProcessingException: error retrieving datasource 'role', ID: 716745106
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.13 s <<< ERROR!
org.appng.api.ProcessingException: error retrieving datasource 'role', ID: 279894425
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 <resultset hits="2"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> at /datasource[1]/data[1]/resultset[1]/@hits
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="application-properties">
<config>
<title id="application.properties">Application properties</title>
<permissions>
<permission ref="application.properties" mode="set"></permission>
</permissions>
<params>
<param name="appid">1</param>
<param name="propId"/>
</params>
<meta-data bindClass="org.appng.api.model.Property" result-selector="${current.name eq propId}">
<field name="shortName" type="text" displayLength="50" binding="shortName">
<sort order="asc" name="name" prio="0"/>
<label id="name">Name</label>
</field>
<field name="displayValue" type="longtext" displayLength="120" binding="displayValue">
<label id="activeValue">Active Value</label>
</field>
<field name="description" type="text" displayLength="400" binding="description">
<label id="description">Description</label>
</field>
<field name="changedValue" type="image" binding="changedValue">
<label></label>
<icon condition="${!current.changedValue}">led_orange</icon>
<icon condition="${current.changedValue}">led_green</icon>
</field>
<field name="actions" type="linkpanel" binding="actions">
<label id="actions">Actions</label>
</field>
</meta-data>
<linkpanel id="other" location="both">
<link id="other[1]" mode="intern" target="/applications/update/1/property/create#tab_application-properties">
<permissions>
<permission ref="application.property.create" mode="set"></permission>
</permissions>
<label id="property.create">Create property</label>
<icon>new</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="actions[1]" mode="intern" target="/applications/update/1/property/update/${current.name}#tab_application-properties" default="true">
<permissions>
<permission ref="application.property.edit" mode="set"></permission>
</permissions>
<label id="edit">Edit</label>
<icon>edit</icon>
</link>
<link id="actions[2]" mode="intern" target="/applications/update/1?form_action=delete-application-property&propertyid=${current.name}#tab_application-properties">
<permissions>
<permission ref="application.property.delete" mode="set"></permission>
</permissions>
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="property.delete.confirm" params="#{shortName}">Do you really want to delete the property "#{shortName}"?</confirmation>
</link>
</linkpanel>
</config>
<data>
<resultset chunk="0" chunkname="application-properties" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected attribute value '2' but was '0' - comparing <resultset hits="2"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> 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 <sort...> at /datasource[1]/config[1]/meta-data[1]/field[1]/sort[1] to <sort...> at /datasource[1]/config[1]/meta-data[1]/field[1]/sort[1]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="groups">
<config>
<title id="groups">Groups</title>
<permissions>
<permission ref="group.list" mode="set"></permission>
</permissions>
<params>
<param name="groupid"/>
<param name="groupName">admin</param>
</params>
<meta-data bindClass="org.appng.api.model.Group" result-selector="${current.id eq groupid}">
<field name="name" type="text" binding="name">
<sort/>
<label id="name">Name</label>
</field>
<field name="description" type="text" binding="description">
<label id="description">Description</label>
</field>
<field name="actions" type="linkpanel" binding="actions">
<label id="actions">Actions</label>
</field>
</meta-data>
<linkpanel id="other" location="both">
<link id="other[1]" mode="intern" target="/users/group/create#tab_groups">
<permissions>
<permission ref="group.create" mode="set"></permission>
</permissions>
<label id="group.create">Create group</label>
<icon>new</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="actions[1]" mode="intern" target="/users/group/update/${current.id}#tab_groups" default="true">
<permissions>
<permission ref="group.edit" mode="set"></permission>
</permissions>
<label id="edit">Edit</label>
<icon>edit</icon>
</link>
<link id="actions[2]" mode="intern" target="/users?form_action=deleteGroup&groupid=${current.id}">
<condition expression="${not current.defaultAdmin}"/>
<permissions>
<permission ref="group.delete" mode="set"></permission>
</permissions>
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="group.delete.confirm" params="${current.name}">Do you really want to delete the group "${current.name}"?</confirmation>
</link>
</linkpanel>
</config>
<data>
<selectionGroup>
<selection id="f_gn" type="text">
<title id="name">Name</title>
<option value="admin" name="f_gn"/>
</selection>
</selectionGroup>
<resultset chunk="0" chunkname="groups" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected number of element attributes '2' but was '0' - comparing <sort...> at /datasource[1]/config[1]/meta-data[1]/field[1]/sort[1] to <sort...> 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 <messages...> at /messages[1] to <messages...> at /messages[1]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<messages xmlns="http://www.appng.org/schema/platform" ref="delete-permission">
<message ref="delete-permission" class="ERROR">Permission does not exist.</message>
<message ref="delete-permission" class="ERROR">Failed to delete the permission.</message>
</messages>
, org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '1' but was '2' - comparing <messages...> at /messages[1] to <messages...> 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 <resultset hits="2"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> at /datasource[1]/data[1]/resultset[1]/@hits
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="permissions">
<config>
<title id="permissions">Permissions</title>
<permissions>
<permission ref="permission.list" mode="set"></permission>
</permissions>
<params>
<param name="appid">1</param>
</params>
<meta-data bindClass="org.appng.core.domain.PermissionImpl">
<field name="name" type="text" binding="name">
<sort/>
<label id="name">Name</label>
</field>
<field name="description" type="text" binding="description">
<label id="description">Description</label>
</field>
<field name="application.name" type="text" binding="application.name">
<label id="application">Application</label>
</field>
<field name="actions" type="linkpanel" binding="actions">
<label id="actions">Actions</label>
</field>
</meta-data>
<linkpanel id="other" location="both">
<link id="other[1]" mode="intern" target="/applications/update/1/permission/create#tab_permissions">
<permissions>
<permission ref="permission.create" mode="set"></permission>
</permissions>
<label id="permission.create">Create Permission</label>
<icon>new</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="actions[1]" mode="intern" target="/applications/update/1/permission/update/${current.id}#tab_permissions" default="true">
<permissions>
<permission ref="permission.edit" mode="set"></permission>
</permissions>
<label id="edit">Edit</label>
<icon>edit</icon>
</link>
<link id="actions[2]" mode="intern" target="/applications/update/1?form_action=delete-permission&permissionid=${current.id}#tab_permissions">
<permissions>
<permission ref="permission.delete" mode="set"></permission>
</permissions>
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="permission.delete.confirm" params="#{name}">Do you really want to delete the permission "#{name}"?</confirmation>
</link>
</linkpanel>
</config>
<data>
<resultset chunk="0" chunkname="permissions" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected attribute value '2' but was '0' - comparing <resultset hits="2"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> 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 <message class="OK"...> at /messages[1]/message[1]/@class to <message class="ERROR"...> at /messages[1]/message[1]/@class
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<messages xmlns="http://www.appng.org/schema/platform" ref="create-platform-property">
<message ref="create-platform-property" class="ERROR">Failed to create the property.</message>
</messages>
, org.custommonkey.xmlunit.Diff
[different] Expected attribute value 'OK' but was 'ERROR' - comparing <message class="OK"...> at /messages[1]/message[1]/@class to <message class="ERROR"...> 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 <resultset hits="4"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> at /datasource[1]/data[1]/resultset[1]/@hits
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="platformProperties">
<config>
<title id="platform.properties">Platform properties</title>
<permissions>
<permission ref="platform.properties" mode="set"></permission>
</permissions>
<params>
<param name="propId"/>
</params>
<meta-data bindClass="org.appng.api.model.Property" result-selector="${current.name eq propId}">
<field name="shortName" type="text" displayLength="50" binding="shortName">
<sort order="asc" name="name" prio="0"/>
<label id="name">Name</label>
</field>
<field name="displayValue" type="longtext" displayLength="120" binding="displayValue">
<label id="activeValue">Active Value</label>
</field>
<field name="description" type="text" displayLength="400" binding="description">
<label id="description">Description</label>
</field>
<field name="changedValue" type="image" binding="changedValue">
<label></label>
<icon condition="${!current.changedValue}">led_orange</icon>
<icon condition="${current.changedValue}">led_green</icon>
</field>
<field name="actions" type="linkpanel" binding="actions">
<label id="actions">Actions</label>
</field>
</meta-data>
<linkpanel id="other" location="both">
<link id="other[1]" mode="intern" target="/platform/property/create#tab_platformProperties">
<permissions>
<permission ref="platform.property.create" mode="set"></permission>
</permissions>
<label id="property.create">Create property</label>
<icon>new</icon>
</link>
<link id="other[2]" mode="intern" target="/platform?form_action=reloadPlatform">
<permissions>
<permission ref="platform.reload" mode="set"></permission>
</permissions>
<label id="platform.reload">Reload platform</label>
<icon>reload</icon>
<confirmation id="platform.reload.confirm">Do you really want to reload the platform?</confirmation>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="actions[1]" mode="intern" target="/platform/property/update/${current.name}#tab_platformProperties" default="true">
<permissions>
<permission ref="platform.property.edit" mode="set"></permission>
</permissions>
<label id="edit">Edit</label>
<icon>edit</icon>
</link>
<link id="actions[2]" mode="intern" target="/platform?form_action=delete-platform-property&propertyid=${current.name}#tab_platformProperties">
<permissions>
<permission ref="platform.property.delete" mode="set"></permission>
</permissions>
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="property.delete.confirm" params="#{shortName}">Do you really want to delete the property "#{shortName}"?</confirmation>
</link>
</linkpanel>
</config>
<data>
<resultset chunk="0" chunkname="platformProperties" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected attribute value '4' but was '0' - comparing <resultset hits="4"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> 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 <action...> at /action[1] to <action...> at /action[1]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<action xmlns="http://www.appng.org/schema/platform" id="create" eventId="repositoryEvent" async="false">
<config>
<title id="repository.create">Create repository</title>
<permissions>
<permission ref="repository.create" mode="set"></permission>
</permissions>
<params>
<param name="form_action">create</param>
</params>
<meta-data binding="repository" bindClass="org.appng.application.manager.form.RepositoryForm">
<field name="name" type="text" binding="repository.name">
<label id="name">Name</label>
<validation>
<notNull>
<message ref="repository.name" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</notNull>
<size min="0" max="64">
<message ref="repository.name" class="ERROR" code="{validation.string.max}">Enter at most 64 characters</message>
</size>
</validation>
</field>
<field name="description" type="text" binding="repository.description">
<label id="description">Description</label>
<validation>
<size min="0" max="8192">
<message ref="repository.description" class="ERROR" code="{validation.string.max}">Enter at most 8192 characters</message>
</size>
</validation>
</field>
<field name="repositoryType" type="list:select" binding="repository.repositoryType">
<label id="type">Type</label>
</field>
<field name="uri" type="text" binding="repository.uri">
<label id="uri">URI</label>
</field>
<field name="active" type="checkbox" binding="repository.active">
<label id="active">Active</label>
</field>
</meta-data>
</config>
<condition expression="${form_action eq 'create'}"/>
<messages>
<message ref="create" class="ERROR">Failed to create the repository.</message>
</messages>
<datasource id="new-repository"/>
<userdata/>
<data>
<selection id="repositoryType">
<title id="repositoryType">repositoryType</title>
<option value="LOCAL" name="Local Repository" selected="false"/>
<option value="REMOTE" name="Published Repository" selected="false"/>
</selection>
<selection id="repositoryMode">
<title id="repositoryMode">repositoryMode</title>
<option value="ALL" name="All Applications" selected="false"/>
<option value="STABLE" name="Only Stable-Applications" selected="false"/>
<option value="SNAPSHOT" name="Only Snapshot-Applications" selected="false"/>
</selection>
<result>
<field name="name" type="text">
<value></value>
</field>
<field name="description" type="text">
<value></value>
</field>
<field name="repositoryType" type="list:select">
<value>LOCAL</value>
</field>
<field name="uri" type="text">
<value></value>
</field>
<field name="active" type="checkbox">
<value>false</value>
</field>
</result>
</data>
<bean id="repositories">
<option name="action" id="create"/>
</bean>
</action>
, org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '6' but was '7' - comparing <action...> at /action[1] to <action...> 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 <field...> at /action[1]/config[1]/meta-data[1]/field[1] to <field...> at /action[1]/config[1]/meta-data[1]/field[1]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<action xmlns="http://www.appng.org/schema/platform" id="create" eventId="repositoryEvent" async="false">
<config>
<title id="repository.create">Create repository</title>
<permissions>
<permission ref="repository.create" mode="set"></permission>
</permissions>
<params>
<param name="form_action">create</param>
</params>
<meta-data binding="repository" bindClass="org.appng.application.manager.form.RepositoryForm">
<field name="name" type="text" binding="repository.name">
<label id="name">Name</label>
<validation>
<notNull>
<message ref="repository.name" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</notNull>
<size min="0" max="64">
<message ref="repository.name" class="ERROR" code="{validation.string.max}">Enter at most 64 characters</message>
</size>
</validation>
</field>
<field name="description" type="text" binding="repository.description">
<label id="description">Description</label>
<validation>
<size min="0" max="8192">
<message ref="repository.description" class="ERROR" code="{validation.string.max}">Enter at most 8192 characters</message>
</size>
</validation>
</field>
<field name="repositoryType" type="list:select" binding="repository.repositoryType">
<label id="type">Type</label>
</field>
<field name="uri" type="text" binding="repository.uri">
<label id="uri">URI</label>
</field>
<field name="active" type="checkbox" binding="repository.active">
<label id="active">Active</label>
</field>
</meta-data>
</config>
<condition expression="${form_action eq 'create'}"/>
<messages>
<message ref="create" class="ERROR">Failed to create the repository.</message>
</messages>
<datasource id="new-repository"/>
<userdata/>
<data>
<selection id="repositoryType">
<title id="repositoryType">repositoryType</title>
<option value="LOCAL" name="Local Repository" selected="false"/>
<option value="REMOTE" name="Published Repository" selected="false"/>
</selection>
<selection id="repositoryMode">
<title id="repositoryMode">repositoryMode</title>
<option value="ALL" name="All Applications" selected="false"/>
<option value="STABLE" name="Only Stable-Applications" selected="false"/>
<option value="SNAPSHOT" name="Only Snapshot-Applications" selected="false"/>
</selection>
<result>
<field name="name" type="text">
<value></value>
</field>
<field name="description" type="text">
<value></value>
</field>
<field name="repositoryType" type="list:select">
<value>LOCAL</value>
</field>
<field name="uri" type="text">
<value></value>
</field>
<field name="active" type="checkbox">
<value>false</value>
</field>
</result>
</data>
<bean id="repositories">
<option name="action" id="create"/>
</bean>
</action>
, org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '3' but was '2' - comparing <field...> at /action[1]/config[1]/meta-data[1]/field[1] to <field...> 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 <message class="OK"...> at /messages[1]/message[1]/@class to <message class="ERROR"...> at /messages[1]/message[1]/@class
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<messages xmlns="http://www.appng.org/schema/platform" ref="delete-role">
<message ref="delete-role" class="ERROR">Role does not exist.</message>
</messages>
, org.custommonkey.xmlunit.Diff
[different] Expected attribute value 'OK' but was 'ERROR' - comparing <message class="OK"...> at /messages[1]/message[1]/@class to <message class="ERROR"...> 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 <resultset hits="1"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> at /datasource[1]/data[1]/resultset[1]/@hits
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="roles">
<config>
<title id="roles">Roles</title>
<permissions>
<permission ref="role.list" mode="set"></permission>
</permissions>
<params>
<param name="appid">1</param>
<param name="roleid"/>
</params>
<meta-data bindClass="org.appng.api.model.Role" result-selector="${current.id eq roleid}">
<field name="name" type="text" binding="name">
<sort order="asc" prio="0" ignore-case="true"/>
<label id="name">Name</label>
</field>
<field name="description" type="text" binding="description">
<label id="description">Description</label>
</field>
<field name="application.name" type="text" readonly="true" binding="application.name">
<label id="application">Application</label>
</field>
<field name="actions" type="linkpanel" binding="actions">
<label id="actions">Actions</label>
</field>
</meta-data>
<linkpanel id="other" location="both">
<link id="other[1]" mode="intern" target="/applications/update/1/role/create#tab_roles">
<permissions>
<permission ref="role.create" mode="set"></permission>
</permissions>
<label id="role.create">Create role</label>
<icon>new</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="actions[1]" mode="intern" target="/applications/update/1/role/update/${current.id}#tab_roles" default="true">
<permissions>
<permission ref="role.edit" mode="set"></permission>
</permissions>
<label id="edit">Edit</label>
<icon>edit</icon>
</link>
<link id="actions[2]" mode="intern" target="/applications/update/1?form_action=delete-role&roleid=${current.id}#tab_roles">
<permissions>
<permission ref="role.delete" mode="set"></permission>
</permissions>
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="role.delete.confirm" params="#{name}">Do you really want to delete the role "#{name}"?</confirmation>
</link>
</linkpanel>
</config>
<data>
<resultset chunk="0" chunkname="roles" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected attribute value '1' but was '0' - comparing <resultset hits="1"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> 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 <resultset hits="3"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> at /datasource[1]/data[1]/resultset[1]/@hits
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="site-properties">
<config>
<title id="site.properties">Site properties</title>
<permissions>
<permission ref="site.properties" mode="set"></permission>
</permissions>
<params>
<param name="siteid">1</param>
<param name="propId"/>
</params>
<meta-data bindClass="org.appng.api.model.Property" result-selector="${current.name eq propId}">
<field name="shortName" type="text" displayLength="50" binding="shortName">
<sort order="asc" name="name" prio="0"/>
<label id="name">Name</label>
</field>
<field name="displayValue" type="longtext" displayLength="120" binding="displayValue">
<label id="activeValue">Active Value</label>
</field>
<field name="description" type="text" displayLength="400" binding="description">
<label id="description">Description</label>
</field>
<field name="changedValue" type="image" binding="changedValue">
<label></label>
<icon condition="${!current.changedValue}">led_orange</icon>
<icon condition="${current.changedValue}">led_green</icon>
</field>
<field name="actions" type="linkpanel" binding="actions">
<label id="actions">Actions</label>
</field>
</meta-data>
<linkpanel id="other" location="both">
<link id="other[1]" mode="intern" target="/sites/update/1/site-property/create#tab_site-properties">
<permissions>
<permission ref="site.property.create" mode="set"></permission>
</permissions>
<label id="property.create">Create property</label>
<icon>new</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="actions[1]" mode="intern" target="/sites/update/1/site-property/update/${current.name}#tab_site-properties" default="true">
<permissions>
<permission ref="site.property.edit" mode="set"></permission>
</permissions>
<label id="edit">Edit</label>
<icon>edit</icon>
</link>
<link id="actions[2]" mode="intern" target="/sites/update/1?form_action=delete-site-property&propertyid=${current.name}#tab_site-properties">
<permissions>
<permission ref="site.property.delete" mode="set"></permission>
</permissions>
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="property.delete.confirm" params="#{shortName}">Do you really want to delete the property "#{shortName}"?</confirmation>
</link>
</linkpanel>
</config>
<data>
<resultset chunk="0" chunkname="site-properties" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected attribute value '3' but was '0' - comparing <resultset hits="3"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> 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 <message class="ERROR"...> at /messages[1]/message[1]/@class to <message class="OK"...> at /messages[1]/message[1]/@class
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<messages xmlns="http://www.appng.org/schema/platform" ref="reload">
<message ref="reload" class="OK">Site has been reloaded.</message>
</messages>
, org.custommonkey.xmlunit.Diff
[different] Expected attribute value 'ERROR' but was 'OK' - comparing <message class="ERROR"...> at /messages[1]/message[1]/@class to <message class="OK"...> 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 <field...> at /datasource[1]/config[1]/meta-data[1]/field[7] to <field...> at /datasource[1]/config[1]/meta-data[1]/field[7]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="sites">
<config>
<title id="sites">Sites</title>
<permissions>
<permission ref="site.list" mode="set"></permission>
</permissions>
<params>
<param name="name">site</param>
<param name="domain">example</param>
</params>
<meta-data bindClass="org.appng.api.model.Site">
<field name="name" type="text" binding="name">
<sort/>
<label id="name">Name</label>
</field>
<field name="host" type="text" binding="host">
<sort/>
<label id="host">Host</label>
</field>
<field name="domain" type="text" binding="domain">
<sort/>
<label id="domain">Domain</label>
</field>
<field name="description" type="text" binding="description">
<label id="description">Description</label>
</field>
<field name="active" type="image" binding="active">
<sort/>
<label id="active">Active</label>
<icon condition="${current.active}">led_green</icon>
<icon condition="${!current.active}">led_red</icon>
</field>
<field name="running" type="image" binding="running">
<label id="running">Running</label>
<icon condition="${current.running}">led_green</icon>
<icon condition="${!current.running}">led_red</icon>
</field>
<field name="startupTime" type="date" binding="startupTime">
<label id="startupTime">Startup time</label>
</field>
<field name="actions" type="linkpanel" binding="actions">
<label id="actions">Actions</label>
</field>
</meta-data>
<linkpanel id="other" location="both">
<link id="other[1]" mode="intern" target="/sites/create">
<permissions>
<permission ref="site.create" mode="set"></permission>
</permissions>
<label id="site.create">Create site</label>
<icon>new</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="actions[1]" mode="intern" target="/sites/update/${current.id}" default="true">
<permissions>
<permission ref="site.edit" mode="set"></permission>
</permissions>
<label id="edit">Edit</label>
<icon>edit</icon>
</link>
<link id="actions[2]" mode="intern" target="/sites?form_action=delete&siteid=${current.id}">
<permissions>
<permission ref="site.delete" mode="set"></permission>
</permissions>
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="site.delete.confirm" params="#{name}">Do you really want to delete the site "#{name}"?</confirmation>
</link>
<link id="actions[3]" mode="intern" target="/sites?form_action=reload&siteid=${current.id}">
<permissions>
<permission ref="site.reload" mode="set"></permission>
</permissions>
<label id="reload">Reload</label>
<icon>reload</icon>
</link>
</linkpanel>
</config>
<data>
<selectionGroup>
<selection id="f_sn" type="text">
<title id="name">Name</title>
<option value="site" name="f_sn"/>
</selection>
<selection id="f_sd" type="text">
<title id="domain">Domain</title>
<option value="example" name="f_sd"/>
</selection>
</selectionGroup>
<resultset chunk="0" chunkname="sites" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected number of element attributes '4' but was '3' - comparing <field...> at /datasource[1]/config[1]/meta-data[1]/field[7] to <field...> 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 <field...> at /action[1]/config[1]/meta-data[1]/field[1] to <field...> at /action[1]/config[1]/meta-data[1]/field[1]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<action xmlns="http://www.appng.org/schema/platform" id="create" eventId="subjectEvent" async="false">
<config>
<title id="subject.create">Create user</title>
<permissions>
<permission ref="subject.create" mode="set"></permission>
</permissions>
<params>
<param name="form_action">create</param>
</params>
<meta-data binding="subject" bindClass="org.appng.application.manager.form.SubjectForm">
<field name="name" type="text" binding="subject.name">
<label id="name">Name</label>
<validation>
<notNull>
<message ref="subject.name" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</notNull>
<size min="0" max="255">
<message ref="subject.name" class="ERROR" code="{validation.string.max}">Enter at most 255 characters</message>
</size>
<pattern regexp="^((((CN|cn)=[^,]+),?)*(((OU|ou)=[^,]+),?)*(((DC|dc)=[^,]+),?)*)|(([a-zA-Z0-9_\.-])+(@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]){2,})?)$">
<message ref="subject.name" class="ERROR" code="{validation.usernameGroup}">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 </message>
</pattern>
</validation>
</field>
<field name="realname" type="text" binding="subject.realname">
<label id="realname">Real name</label>
<validation>
<notNull>
<message ref="subject.realname" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</notNull>
<size min="0" max="64">
<message ref="subject.realname" class="ERROR" code="{validation.string.max}">Enter at most 64 characters</message>
</size>
</validation>
</field>
<field name="email" type="text" binding="subject.email">
<label id="email">E-mail</label>
<validation>
<pattern regexp="^([a-zA-Z0-9_\.-])+@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]){2,}$">
<message ref="subject.email" class="ERROR" code="{validation.email}">Please enter a valid e-mail address</message>
</pattern>
</validation>
</field>
<field name="description" type="longtext" binding="subject.description">
<label id="description">Description</label>
<validation>
<size min="0" max="8192">
<message ref="subject.description" class="ERROR" code="{validation.string.max}">Enter at most 8192 characters</message>
</size>
</validation>
</field>
<field name="userType" type="list:select" binding="subject.userType">
<label id="type">Type</label>
</field>
<field name="language" type="list:select" binding="subject.language">
<label id="language">Language</label>
<validation>
<notNull>
<message ref="subject.language" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</notNull>
<size min="2" max="3">
<message ref="subject.language" class="ERROR" code="{validation.string.min.max}">Enter between 2 and 3 characters</message>
</size>
</validation>
</field>
<field name="timeZone" type="list:select" binding="subject.timeZone">
<label id="timezone">Timezone</label>
</field>
<field name="password" type="password" binding="password">
<label id="password">Password</label>
</field>
<field name="passwordConfirmation" type="password" binding="passwordConfirmation">
<label id="password.confirmation">Password confirmation</label>
</field>
<field name="groups" type="list:checkbox" binding="groupIds">
<label id="groups">Groups</label>
</field>
</meta-data>
</config>
<condition expression="${form_action eq 'create'}"/>
<messages>
<message ref="create" class="ERROR">Failed to create the user.</message>
</messages>
<datasource id="new-user"/>
<userdata/>
<data>
<selection id="groups">
<title id="groups">Groups</title>
</selection>
<selection id="userType">
<title id="type">Type</title>
<option value="LOCAL_USER" name="Local User" selected="true"/>
<option value="GLOBAL_USER" name="LDAP User" selected="false"/>
<option value="GLOBAL_GROUP" name="LDAP Group" selected="false"/>
</selection>
<selection id="language">
<title id="language">Language</title>
</selection>
<selection id="passwordChangePolicy" type="radio">
<title id="passwordChangePolicy">Password restrictions</title>
<option value="MAY" name="May change" selected="true"/>
<option value="MUST" name="Must change" selected="false"/>
<option value="MUST_NOT" name="Must not change" selected="false"/>
<option value="MUST_RECOVER" name="Must use recovery" selected="false"/>
</selection>
<selection id="timeZone" type="select">
<title id="timezone">Timezone</title>
<optionGroup>
<label id="Africa">Africa</label>
<option value="Africa/Abidjan" name="Abidjan (UTC)" selected="false"/>
<option value="Africa/Accra" name="Accra (UTC)" selected="false"/>
<option value="Africa/Addis_Ababa" name="Addis Ababa (UTC+03:00)" selected="false"/>
<option value="Africa/Algiers" name="Algiers (UTC+01:00)" selected="false"/>
<option value="Africa/Asmara" name="Asmara (UTC+03:00)" selected="false"/>
<option value="Africa/Asmera" name="Asmara (UTC+03:00)" selected="false"/>
<option value="Africa/Bamako" name="Bamako (UTC)" selected="false"/>
<option value="Africa/Bangui" name="Bangui (UTC+01:00)" selected="false"/>
<option value="Africa/Banjul" name="Banjul (UTC)" selected="false"/>
<option value="Africa/Bissau" name="Bissau (UTC)" selected="false"/>
<option value="Africa/Blantyre" name="Blantyre (UTC+02:00)" selected="false"/>
<option value="Africa/Brazzaville" name="Brazzaville (UTC+01:00)" selected="false"/>
<option value="Africa/Bujumbura" name="Bujumbura (UTC+02:00)" selected="false"/>
<option value="Africa/Cairo" name="Cairo (UTC+02:00)" selected="false"/>
<option value="Africa/Casablanca" name="Casablanca (UTC+01:00)" selected="false"/>
<option value="Africa/Ceuta" name="Ceuta (UTC+02:00)" selected="false"/>
<option value="Africa/Conakry" name="Conakry (UTC)" selected="false"/>
<option value="Africa/Dakar" name="Dakar (UTC)" selected="false"/>
<option value="Africa/Dar_es_Salaam" name="Dar es Salaam (UTC+03:00)" selected="false"/>
<option value="Africa/Djibouti" name="Djibouti (UTC+03:00)" selected="false"/>
<option value="Africa/Douala" name="Douala (UTC+01:00)" selected="false"/>
<option value="Africa/El_Aaiun" name="El Aaiun (UTC+01:00)" selected="false"/>
<option value="Africa/Freetown" name="Freetown (UTC)" selected="false"/>
<option value="Africa/Gaborone" name="Gaborone (UTC+02:00)" selected="false"/>
<option value="Africa/Harare" name="Harare (UTC+02:00)" selected="false"/>
<option value="Africa/Johannesburg" name="Johannesburg (UTC+02:00)" selected="false"/>
<option value="Africa/Juba" name="Juba (UTC+03:00)" selected="false"/>
<option value="Africa/Kampala" name="Kampala (UTC+03:00)" selected="false"/>
<option value="Africa/Khartoum" name="Khartoum (UTC+03:00)" selected="false"/>
<option value="Africa/Kigali" name="Kigali (UTC+02:00)" selected="false"/>
<option value="Africa/Kinshasa" name="Kinshasa (UTC+01:00)" selected="false"/>
<option value="Africa/Lagos" name="Lagos (UTC+01:00)" selected="false"/>
<option value="Africa/Libreville" name="Libreville (UTC+01:00)" selected="false"/>
<option value="Africa/Lome" name="Lome (UTC)" selected="false"/>
<option value="Africa/Luanda" name="Luanda (UTC+01:00)" selected="false"/>
<option value="Africa/Lubumbashi" name="Lubumbashi (UTC+02:00)" selected="false"/>
<option value="Africa/Lusaka" name="Lusaka (UTC+02:00)" selected="false"/>
<option value="Africa/Malabo" name="Malabo (UTC+01:00)" selected="false"/>
<option value="Africa/Maputo" name="Maputo (UTC+02:00)" selected="false"/>
<option value="Africa/Maseru" name="Maseru (UTC+02:00)" selected="false"/>
<option value="Africa/Mbabane" name="Mbabane (UTC+02:00)" selected="false"/>
<option value="Africa/Mogadishu" name="Mogadishu (UTC+03:00)" selected="false"/>
<option value="Africa/Monrovia" name="Monrovia (UTC)" selected="false"/>
<option value="Africa/Nairobi" name="Nairobi (UTC+03:00)" selected="false"/>
<option value="Africa/Ndjamena" name="Ndjamena (UTC+01:00)" selected="false"/>
<option value="Africa/Niamey" name="Niamey (UTC+01:00)" selected="false"/>
<option value="Africa/Nouakchott" name="Nouakchott (UTC)" selected="false"/>
<option value="Africa/Ouagadougou" name="Ouagadougou (UTC)" selected="false"/>
<option value="Africa/Porto-Novo" name="Porto-Novo (UTC+01:00)" selected="false"/>
<option value="Africa/Sao_Tome" name="São Tomé (UTC)" selected="false"/>
<option value="Africa/Timbuktu" name="Timbuktu (UTC)" selected="false"/>
<option value="Africa/Tripoli" name="Tripoli (UTC+02:00)" selected="false"/>
<option value="Africa/Tunis" name="Tunis (UTC+01:00)" selected="false"/>
<option value="Africa/Windhoek" name="Windhoek (UTC+01:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="America">America</label>
<option value="America/Adak" name="Adak (UTC-09:00)" selected="false"/>
<option value="America/Anchorage" name="Anchorage (UTC-08:00)" selected="false"/>
<option value="America/Anguilla" name="Anguilla (UTC-04:00)" selected="false"/>
<option value="America/Antigua" name="Antigua (UTC-04:00)" selected="false"/>
<option value="America/Araguaina" name="Araguaina (UTC-03:00)" selected="false"/>
<option value="America/Aruba" name="Aruba (UTC-04:00)" selected="false"/>
<option value="America/Asuncion" name="Asunción (UTC-04:00)" selected="false"/>
<option value="America/Atikokan" name="Atikokan (UTC-05:00)" selected="false"/>
<option value="America/Coral_Harbour" name="Atikokan (UTC-05:00)" selected="false"/>
<option value="America/Atka" name="Atka (UTC-09:00)" selected="false"/>
<option value="America/Bahia" name="Bahia (UTC-03:00)" selected="false"/>
<option value="America/Bahia_Banderas" name="Bahia Banderas (UTC-05:00)" selected="false"/>
<option value="America/Barbados" name="Barbados (UTC-04:00)" selected="false"/>
<option value="America/Belem" name="Belem (UTC-03:00)" selected="false"/>
<option value="America/Belize" name="Belize (UTC-06:00)" selected="false"/>
<option value="America/North_Dakota/Beulah" name="Beulah, North Dakota (UTC-05:00)" selected="false"/>
<option value="America/Blanc-Sablon" name="Blanc-Sablon (UTC-04:00)" selected="false"/>
<option value="America/Boa_Vista" name="Boa Vista (UTC-04:00)" selected="false"/>
<option value="America/Bogota" name="Bogota (UTC-05:00)" selected="false"/>
<option value="America/Boise" name="Boise (UTC-06:00)" selected="false"/>
<option value="America/Argentina/Buenos_Aires" name="Buenos Aires (UTC-03:00)" selected="false"/>
<option value="America/Buenos_Aires" name="Buenos Aires (UTC-03:00)" selected="false"/>
<option value="America/Cambridge_Bay" name="Cambridge Bay (UTC-06:00)" selected="false"/>
<option value="America/Campo_Grande" name="Campo Grande (UTC-04:00)" selected="false"/>
<option value="America/Cancun" name="Cancun (UTC-05:00)" selected="false"/>
<option value="America/Caracas" name="Caracas (UTC-04:00)" selected="false"/>
<option value="America/Argentina/Catamarca" name="Catamarca (UTC-03:00)" selected="false"/>
<option value="America/Catamarca" name="Catamarca (UTC-03:00)" selected="false"/>
<option value="America/Cayenne" name="Cayenne (UTC-03:00)" selected="false"/>
<option value="America/Cayman" name="Cayman (UTC-05:00)" selected="false"/>
<option value="America/North_Dakota/Center" name="Center, North Dakota (UTC-05:00)" selected="false"/>
<option value="America/Chicago" name="Chicago (UTC-05:00)" selected="false"/>
<option value="America/Chihuahua" name="Chihuahua (UTC-06:00)" selected="false"/>
<option value="America/Argentina/ComodRivadavia" name="ComodRivadavia (UTC-03:00)" selected="false"/>
<option value="America/Argentina/Cordoba" name="Cordoba (UTC-03:00)" selected="false"/>
<option value="America/Cordoba" name="Cordoba (UTC-03:00)" selected="false"/>
<option value="America/Costa_Rica" name="Costa Rica (UTC-06:00)" selected="false"/>
<option value="America/Creston" name="Creston (UTC-07:00)" selected="false"/>
<option value="America/Cuiaba" name="Cuiaba (UTC-04:00)" selected="false"/>
<option value="America/Curacao" name="Curaçao (UTC-04:00)" selected="false"/>
<option value="America/Danmarkshavn" name="Danmarkshavn (UTC)" selected="false"/>
<option value="America/Dawson" name="Dawson (UTC-07:00)" selected="false"/>
<option value="America/Dawson_Creek" name="Dawson Creek (UTC-07:00)" selected="false"/>
<option value="America/Denver" name="Denver (UTC-06:00)" selected="false"/>
<option value="America/Detroit" name="Detroit (UTC-04:00)" selected="false"/>
<option value="America/Dominica" name="Dominica (UTC-04:00)" selected="false"/>
<option value="America/Edmonton" name="Edmonton (UTC-06:00)" selected="false"/>
<option value="America/Eirunepe" name="Eirunepe (UTC-05:00)" selected="false"/>
<option value="America/El_Salvador" name="El Salvador (UTC-06:00)" selected="false"/>
<option value="America/Ensenada" name="Ensenada (UTC-07:00)" selected="false"/>
<option value="America/Fort_Wayne" name="Fort Wayne (UTC-04:00)" selected="false"/>
<option value="America/Fortaleza" name="Fortaleza (UTC-03:00)" selected="false"/>
<option value="America/Glace_Bay" name="Glace Bay (UTC-03:00)" selected="false"/>
<option value="America/Goose_Bay" name="Goose Bay (UTC-03:00)" selected="false"/>
<option value="America/Grand_Turk" name="Grand Turk (UTC-04:00)" selected="false"/>
<option value="America/Grenada" name="Grenada (UTC-04:00)" selected="false"/>
<option value="America/Guadeloupe" name="Guadeloupe (UTC-04:00)" selected="false"/>
<option value="America/Guatemala" name="Guatemala (UTC-06:00)" selected="false"/>
<option value="America/Guayaquil" name="Guayaquil (UTC-05:00)" selected="false"/>
<option value="America/Guyana" name="Guyana (UTC-04:00)" selected="false"/>
<option value="America/Halifax" name="Halifax (UTC-03:00)" selected="false"/>
<option value="America/Havana" name="Havana (UTC-04:00)" selected="false"/>
<option value="America/Hermosillo" name="Hermosillo (UTC-07:00)" selected="false"/>
<option value="America/Indiana/Indianapolis" name="Indianapolis (UTC-04:00)" selected="false"/>
<option value="America/Indianapolis" name="Indianapolis (UTC-04:00)" selected="false"/>
<option value="America/Inuvik" name="Inuvik (UTC-06:00)" selected="false"/>
<option value="America/Iqaluit" name="Iqaluit (UTC-04:00)" selected="false"/>
<option value="America/Scoresbysund" name="Ittoqqortoormiit (UTC)" selected="false"/>
<option value="America/Jamaica" name="Jamaica (UTC-05:00)" selected="false"/>
<option value="America/Argentina/Jujuy" name="Jujuy (UTC-03:00)" selected="false"/>
<option value="America/Jujuy" name="Jujuy (UTC-03:00)" selected="false"/>
<option value="America/Juneau" name="Juneau (UTC-08:00)" selected="false"/>
<option value="America/Knox_IN" name="Knox IN (UTC-05:00)" selected="false"/>
<option value="America/Indiana/Knox" name="Knox, Indiana (UTC-05:00)" selected="false"/>
<option value="America/Kralendijk" name="Kralendijk (UTC-04:00)" selected="false"/>
<option value="America/La_Paz" name="La Paz (UTC-04:00)" selected="false"/>
<option value="America/Argentina/La_Rioja" name="La Rioja (UTC-03:00)" selected="false"/>
<option value="America/Lima" name="Lima (UTC-05:00)" selected="false"/>
<option value="America/Los_Angeles" name="Los Angeles (UTC-07:00)" selected="false"/>
<option value="America/Kentucky/Louisville" name="Louisville (UTC-04:00)" selected="false"/>
<option value="America/Louisville" name="Louisville (UTC-04:00)" selected="false"/>
<option value="America/Lower_Princes" name="Lower Princes Quarter (UTC-04:00)" selected="false"/>
<option value="America/Maceio" name="Maceio (UTC-03:00)" selected="false"/>
<option value="America/Managua" name="Managua (UTC-06:00)" selected="false"/>
<option value="America/Manaus" name="Manaus (UTC-04:00)" selected="false"/>
<option value="America/Indiana/Marengo" name="Marengo, Indiana (UTC-04:00)" selected="false"/>
<option value="America/Marigot" name="Marigot (UTC-04:00)" selected="false"/>
<option value="America/Martinique" name="Martinique (UTC-04:00)" selected="false"/>
<option value="America/Matamoros" name="Matamoros (UTC-05:00)" selected="false"/>
<option value="America/Mazatlan" name="Mazatlan (UTC-06:00)" selected="false"/>
<option value="America/Argentina/Mendoza" name="Mendoza (UTC-03:00)" selected="false"/>
<option value="America/Mendoza" name="Mendoza (UTC-03:00)" selected="false"/>
<option value="America/Menominee" name="Menominee (UTC-05:00)" selected="false"/>
<option value="America/Merida" name="Merida (UTC-05:00)" selected="false"/>
<option value="America/Metlakatla" name="Metlakatla (UTC-08:00)" selected="false"/>
<option value="America/Mexico_City" name="Mexico City (UTC-05:00)" selected="false"/>
<option value="America/Miquelon" name="Miquelon (UTC-02:00)" selected="false"/>
<option value="America/Moncton" name="Moncton (UTC-03:00)" selected="false"/>
<option value="America/Monterrey" name="Monterrey (UTC-05:00)" selected="false"/>
<option value="America/Montevideo" name="Montevideo (UTC-03:00)" selected="false"/>
<option value="America/Kentucky/Monticello" name="Monticello, Kentucky (UTC-04:00)" selected="false"/>
<option value="America/Montreal" name="Montreal (UTC-04:00)" selected="false"/>
<option value="America/Montserrat" name="Montserrat (UTC-04:00)" selected="false"/>
<option value="America/Nassau" name="Nassau (UTC-04:00)" selected="false"/>
<option value="America/North_Dakota/New_Salem" name="New Salem, North Dakota (UTC-05:00)" selected="false"/>
<option value="America/New_York" name="New York (UTC-04:00)" selected="false"/>
<option value="America/Nipigon" name="Nipigon (UTC-04:00)" selected="false"/>
<option value="America/Nome" name="Nome (UTC-08:00)" selected="false"/>
<option value="America/Noronha" name="Noronha (UTC-02:00)" selected="false"/>
<option value="America/Godthab" name="Nuuk (UTC-02:00)" selected="false"/>
<option value="America/Ojinaga" name="Ojinaga (UTC-06:00)" selected="false"/>
<option value="America/Panama" name="Panama (UTC-05:00)" selected="false"/>
<option value="America/Pangnirtung" name="Pangnirtung (UTC-04:00)" selected="false"/>
<option value="America/Paramaribo" name="Paramaribo (UTC-03:00)" selected="false"/>
<option value="America/Indiana/Petersburg" name="Petersburg, Indiana (UTC-04:00)" selected="false"/>
<option value="America/Phoenix" name="Phoenix (UTC-07:00)" selected="false"/>
<option value="America/Port_of_Spain" name="Port of Spain (UTC-04:00)" selected="false"/>
<option value="America/Port-au-Prince" name="Port-au-Prince (UTC-05:00)" selected="false"/>
<option value="America/Porto_Acre" name="Porto Acre (UTC-05:00)" selected="false"/>
<option value="America/Porto_Velho" name="Porto Velho (UTC-04:00)" selected="false"/>
<option value="America/Puerto_Rico" name="Puerto Rico (UTC-04:00)" selected="false"/>
<option value="America/Rainy_River" name="Rainy River (UTC-05:00)" selected="false"/>
<option value="America/Rankin_Inlet" name="Rankin Inlet (UTC-05:00)" selected="false"/>
<option value="America/Recife" name="Recife (UTC-03:00)" selected="false"/>
<option value="America/Regina" name="Regina (UTC-06:00)" selected="false"/>
<option value="America/Resolute" name="Resolute (UTC-05:00)" selected="false"/>
<option value="America/Rio_Branco" name="Rio Branco (UTC-05:00)" selected="false"/>
<option value="America/Argentina/Rio_Gallegos" name="Rio Gallegos (UTC-03:00)" selected="false"/>
<option value="America/Rosario" name="Rosario (UTC-03:00)" selected="false"/>
<option value="America/St_Barthelemy" name="Saint Barthélemy (UTC-04:00)" selected="false"/>
<option value="America/Argentina/Salta" name="Salta (UTC-03:00)" selected="false"/>
<option value="America/Argentina/San_Juan" name="San Juan (UTC-03:00)" selected="false"/>
<option value="America/Argentina/San_Luis" name="San Luis (UTC-03:00)" selected="false"/>
<option value="America/Santa_Isabel" name="Santa Isabel (UTC-07:00)" selected="false"/>
<option value="America/Santarem" name="Santarem (UTC-03:00)" selected="false"/>
<option value="America/Santiago" name="Santiago (UTC-04:00)" selected="false"/>
<option value="America/Santo_Domingo" name="Santo Domingo (UTC-04:00)" selected="false"/>
<option value="America/Sao_Paulo" name="Sao Paulo (UTC-03:00)" selected="false"/>
<option value="America/Shiprock" name="Shiprock (UTC-06:00)" selected="false"/>
<option value="America/Sitka" name="Sitka (UTC-08:00)" selected="false"/>
<option value="America/St_Johns" name="St. John’s (UTC-02:30)" selected="false"/>
<option value="America/St_Kitts" name="St. Kitts (UTC-04:00)" selected="false"/>
<option value="America/St_Lucia" name="St. Lucia (UTC-04:00)" selected="false"/>
<option value="America/St_Thomas" name="St. Thomas (UTC-04:00)" selected="false"/>
<option value="America/St_Vincent" name="St. Vincent (UTC-04:00)" selected="false"/>
<option value="America/Swift_Current" name="Swift Current (UTC-06:00)" selected="false"/>
<option value="America/Tegucigalpa" name="Tegucigalpa (UTC-06:00)" selected="false"/>
<option value="America/Indiana/Tell_City" name="Tell City, Indiana (UTC-05:00)" selected="false"/>
<option value="America/Thule" name="Thule (UTC-03:00)" selected="false"/>
<option value="America/Thunder_Bay" name="Thunder Bay (UTC-04:00)" selected="false"/>
<option value="America/Tijuana" name="Tijuana (UTC-07:00)" selected="false"/>
<option value="America/Toronto" name="Toronto (UTC-04:00)" selected="false"/>
<option value="America/Tortola" name="Tortola (UTC-04:00)" selected="false"/>
<option value="America/Argentina/Tucuman" name="Tucuman (UTC-03:00)" selected="false"/>
<option value="America/Argentina/Ushuaia" name="Ushuaia (UTC-03:00)" selected="false"/>
<option value="America/Vancouver" name="Vancouver (UTC-07:00)" selected="false"/>
<option value="America/Indiana/Vevay" name="Vevay, Indiana (UTC-04:00)" selected="false"/>
<option value="America/Indiana/Vincennes" name="Vincennes, Indiana (UTC-04:00)" selected="false"/>
<option value="America/Virgin" name="Virgin (UTC-04:00)" selected="false"/>
<option value="America/Whitehorse" name="Whitehorse (UTC-07:00)" selected="false"/>
<option value="America/Indiana/Winamac" name="Winamac, Indiana (UTC-04:00)" selected="false"/>
<option value="America/Winnipeg" name="Winnipeg (UTC-05:00)" selected="false"/>
<option value="America/Yakutat" name="Yakutat (UTC-08:00)" selected="false"/>
<option value="America/Yellowknife" name="Yellowknife (UTC-06:00)" selected="false"/>
<option value="America/Fort_Nelson" name="timezone.America.Fort_Nelson (UTC-07:00)" selected="false"/>
<option value="America/Punta_Arenas" name="timezone.America.Punta_Arenas (UTC-03:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Antarctica">Antarctica</label>
<option value="Antarctica/Casey" name="Casey (UTC+11:00)" selected="false"/>
<option value="Antarctica/Davis" name="Davis (UTC+07:00)" selected="false"/>
<option value="Antarctica/DumontDUrville" name="Dumont d’Urville (UTC+10:00)" selected="false"/>
<option value="Antarctica/Macquarie" name="Macquarie (UTC+11:00)" selected="false"/>
<option value="Antarctica/Mawson" name="Mawson (UTC+05:00)" selected="false"/>
<option value="Antarctica/McMurdo" name="McMurdo (UTC+12:00)" selected="false"/>
<option value="Antarctica/Palmer" name="Palmer (UTC-03:00)" selected="false"/>
<option value="Antarctica/Rothera" name="Rothera (UTC-03:00)" selected="false"/>
<option value="Antarctica/South_Pole" name="South Pole (UTC+12:00)" selected="false"/>
<option value="Antarctica/Syowa" name="Syowa (UTC+03:00)" selected="false"/>
<option value="Antarctica/Troll" name="Troll (UTC+02:00)" selected="false"/>
<option value="Antarctica/Vostok" name="Vostok (UTC+06:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Asia">Asia</label>
<option value="Asia/Aden" name="Aden (UTC+03:00)" selected="false"/>
<option value="Asia/Almaty" name="Almaty (UTC+06:00)" selected="false"/>
<option value="Asia/Amman" name="Amman (UTC+03:00)" selected="false"/>
<option value="Asia/Anadyr" name="Anadyr (UTC+12:00)" selected="false"/>
<option value="Asia/Aqtau" name="Aqtau (UTC+05:00)" selected="false"/>
<option value="Asia/Aqtobe" name="Aqtobe (UTC+05:00)" selected="false"/>
<option value="Asia/Ashgabat" name="Ashgabat (UTC+05:00)" selected="false"/>
<option value="Asia/Ashkhabad" name="Ashkhabad (UTC+05:00)" selected="false"/>
<option value="Asia/Baghdad" name="Baghdad (UTC+03:00)" selected="false"/>
<option value="Asia/Bahrain" name="Bahrain (UTC+03:00)" selected="false"/>
<option value="Asia/Baku" name="Baku (UTC+04:00)" selected="false"/>
<option value="Asia/Bangkok" name="Bangkok (UTC+07:00)" selected="false"/>
<option value="Asia/Beirut" name="Beirut (UTC+03:00)" selected="false"/>
<option value="Asia/Bishkek" name="Bishkek (UTC+06:00)" selected="false"/>
<option value="Asia/Brunei" name="Brunei (UTC+08:00)" selected="false"/>
<option value="Asia/Chita" name="Chita (UTC+09:00)" selected="false"/>
<option value="Asia/Choibalsan" name="Choibalsan (UTC+08:00)" selected="false"/>
<option value="Asia/Chongqing" name="Chongqing (UTC+08:00)" selected="false"/>
<option value="Asia/Chungking" name="Chungking (UTC+08:00)" selected="false"/>
<option value="Asia/Colombo" name="Colombo (UTC+05:30)" selected="false"/>
<option value="Asia/Dacca" name="Dacca (UTC+06:00)" selected="false"/>
<option value="Asia/Damascus" name="Damascus (UTC+03:00)" selected="false"/>
<option value="Asia/Dhaka" name="Dhaka (UTC+06:00)" selected="false"/>
<option value="Asia/Dili" name="Dili (UTC+09:00)" selected="false"/>
<option value="Asia/Dubai" name="Dubai (UTC+04:00)" selected="false"/>
<option value="Asia/Dushanbe" name="Dushanbe (UTC+05:00)" selected="false"/>
<option value="Asia/Gaza" name="Gaza (UTC+03:00)" selected="false"/>
<option value="Asia/Harbin" name="Harbin (UTC+08:00)" selected="false"/>
<option value="Asia/Hebron" name="Hebron (UTC+03:00)" selected="false"/>
<option value="Asia/Ho_Chi_Minh" name="Ho Chi Minh (UTC+07:00)" selected="false"/>
<option value="Asia/Saigon" name="Ho Chi Minh City (UTC+07:00)" selected="false"/>
<option value="Asia/Hong_Kong" name="Hong Kong (UTC+08:00)" selected="false"/>
<option value="Asia/Hovd" name="Hovd (UTC+07:00)" selected="false"/>
<option value="Asia/Irkutsk" name="Irkutsk (UTC+08:00)" selected="false"/>
<option value="Asia/Istanbul" name="Istanbul (UTC+03:00)" selected="false"/>
<option value="Asia/Jakarta" name="Jakarta (UTC+07:00)" selected="false"/>
<option value="Asia/Jayapura" name="Jayapura (UTC+09:00)" selected="false"/>
<option value="Asia/Jerusalem" name="Jerusalem (UTC+03:00)" selected="false"/>
<option value="Asia/Kabul" name="Kabul (UTC+04:30)" selected="false"/>
<option value="Asia/Kamchatka" name="Kamchatka (UTC+12:00)" selected="false"/>
<option value="Asia/Karachi" name="Karachi (UTC+05:00)" selected="false"/>
<option value="Asia/Kashgar" name="Kashgar (UTC+06:00)" selected="false"/>
<option value="Asia/Kathmandu" name="Kathmandu (UTC+05:45)" selected="false"/>
<option value="Asia/Katmandu" name="Kathmandu (UTC+05:45)" selected="false"/>
<option value="Asia/Khandyga" name="Khandyga (UTC+09:00)" selected="false"/>
<option value="Asia/Calcutta" name="Kolkata (UTC+05:30)" selected="false"/>
<option value="Asia/Kolkata" name="Kolkata (UTC+05:30)" selected="false"/>
<option value="Asia/Krasnoyarsk" name="Krasnoyarsk (UTC+07:00)" selected="false"/>
<option value="Asia/Kuala_Lumpur" name="Kuala Lumpur (UTC+08:00)" selected="false"/>
<option value="Asia/Kuching" name="Kuching (UTC+08:00)" selected="false"/>
<option value="Asia/Kuwait" name="Kuwait (UTC+03:00)" selected="false"/>
<option value="Asia/Macao" name="Macao (UTC+08:00)" selected="false"/>
<option value="Asia/Macau" name="Macau (UTC+08:00)" selected="false"/>
<option value="Asia/Magadan" name="Magadan (UTC+11:00)" selected="false"/>
<option value="Asia/Makassar" name="Makassar (UTC+08:00)" selected="false"/>
<option value="Asia/Manila" name="Manila (UTC+08:00)" selected="false"/>
<option value="Asia/Muscat" name="Muscat (UTC+04:00)" selected="false"/>
<option value="Asia/Nicosia" name="Nicosia (UTC+03:00)" selected="false"/>
<option value="Asia/Novokuznetsk" name="Novokuznetsk (UTC+07:00)" selected="false"/>
<option value="Asia/Novosibirsk" name="Novosibirsk (UTC+07:00)" selected="false"/>
<option value="Asia/Omsk" name="Omsk (UTC+06:00)" selected="false"/>
<option value="Asia/Oral" name="Oral (UTC+05:00)" selected="false"/>
<option value="Asia/Phnom_Penh" name="Phnom Penh (UTC+07:00)" selected="false"/>
<option value="Asia/Pontianak" name="Pontianak (UTC+07:00)" selected="false"/>
<option value="Asia/Pyongyang" name="Pyongyang (UTC+08:30)" selected="false"/>
<option value="Asia/Qatar" name="Qatar (UTC+03:00)" selected="false"/>
<option value="Asia/Qyzylorda" name="Qyzylorda (UTC+06:00)" selected="false"/>
<option value="Asia/Rangoon" name="Rangoon (UTC+06:30)" selected="false"/>
<option value="Asia/Riyadh" name="Riyadh (UTC+03:00)" selected="false"/>
<option value="Asia/Sakhalin" name="Sakhalin (UTC+11:00)" selected="false"/>
<option value="Asia/Samarkand" name="Samarkand (UTC+05:00)" selected="false"/>
<option value="Asia/Seoul" name="Seoul (UTC+09:00)" selected="false"/>
<option value="Asia/Shanghai" name="Shanghai (UTC+08:00)" selected="false"/>
<option value="Asia/Singapore" name="Singapore (UTC+08:00)" selected="false"/>
<option value="Asia/Srednekolymsk" name="Srednekolymsk (UTC+11:00)" selected="false"/>
<option value="Asia/Taipei" name="Taipei (UTC+08:00)" selected="false"/>
<option value="Asia/Tashkent" name="Tashkent (UTC+05:00)" selected="false"/>
<option value="Asia/Tbilisi" name="Tbilisi (UTC+04:00)" selected="false"/>
<option value="Asia/Tehran" name="Tehran (UTC+04:30)" selected="false"/>
<option value="Asia/Tel_Aviv" name="Tel Aviv (UTC+03:00)" selected="false"/>
<option value="Asia/Thimbu" name="Thimbu (UTC+06:00)" selected="false"/>
<option value="Asia/Thimphu" name="Thimphu (UTC+06:00)" selected="false"/>
<option value="Asia/Tokyo" name="Tokyo (UTC+09:00)" selected="false"/>
<option value="Asia/Ujung_Pandang" name="Ujung Pandang (UTC+08:00)" selected="false"/>
<option value="Asia/Ulaanbaatar" name="Ulaanbaatar (UTC+08:00)" selected="false"/>
<option value="Asia/Ulan_Bator" name="Ulan Bator (UTC+08:00)" selected="false"/>
<option value="Asia/Urumqi" name="Urumqi (UTC+06:00)" selected="false"/>
<option value="Asia/Ust-Nera" name="Ust-Nera (UTC+10:00)" selected="false"/>
<option value="Asia/Vientiane" name="Vientiane (UTC+07:00)" selected="false"/>
<option value="Asia/Vladivostok" name="Vladivostok (UTC+10:00)" selected="false"/>
<option value="Asia/Yakutsk" name="Yakutsk (UTC+09:00)" selected="false"/>
<option value="Asia/Yekaterinburg" name="Yekaterinburg (UTC+05:00)" selected="false"/>
<option value="Asia/Yerevan" name="Yerevan (UTC+04:00)" selected="false"/>
<option value="Asia/Atyrau" name="timezone.Asia.Atyrau (UTC+05:00)" selected="false"/>
<option value="Asia/Barnaul" name="timezone.Asia.Barnaul (UTC+07:00)" selected="false"/>
<option value="Asia/Famagusta" name="timezone.Asia.Famagusta (UTC+03:00)" selected="false"/>
<option value="Asia/Tomsk" name="timezone.Asia.Tomsk (UTC+07:00)" selected="false"/>
<option value="Asia/Yangon" name="timezone.Asia.Yangon (UTC+06:30)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Atlantic">Atlantic</label>
<option value="Atlantic/Azores" name="Azores (UTC)" selected="false"/>
<option value="Atlantic/Bermuda" name="Bermuda (UTC-03:00)" selected="false"/>
<option value="Atlantic/Canary" name="Canary (UTC+01:00)" selected="false"/>
<option value="Atlantic/Cape_Verde" name="Cape Verde (UTC-01:00)" selected="false"/>
<option value="Atlantic/Faeroe" name="Faroe (UTC+01:00)" selected="false"/>
<option value="Atlantic/Faroe" name="Faroe (UTC+01:00)" selected="false"/>
<option value="Atlantic/Jan_Mayen" name="Jan Mayen (UTC+02:00)" selected="false"/>
<option value="Atlantic/Madeira" name="Madeira (UTC+01:00)" selected="false"/>
<option value="Atlantic/Reykjavik" name="Reykjavik (UTC)" selected="false"/>
<option value="Atlantic/South_Georgia" name="South Georgia (UTC-02:00)" selected="false"/>
<option value="Atlantic/St_Helena" name="St. Helena (UTC)" selected="false"/>
<option value="Atlantic/Stanley" name="Stanley (UTC-03:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Australia">Australia</label>
<option value="Australia/ACT" name="ACT (UTC+10:00)" selected="false"/>
<option value="Australia/Adelaide" name="Adelaide (UTC+09:30)" selected="false"/>
<option value="Australia/Brisbane" name="Brisbane (UTC+10:00)" selected="false"/>
<option value="Australia/Broken_Hill" name="Broken Hill (UTC+09:30)" selected="false"/>
<option value="Australia/Canberra" name="Canberra (UTC+10:00)" selected="false"/>
<option value="Australia/Currie" name="Currie (UTC+10:00)" selected="false"/>
<option value="Australia/Darwin" name="Darwin (UTC+09:30)" selected="false"/>
<option value="Australia/Eucla" name="Eucla (UTC+08:45)" selected="false"/>
<option value="Australia/Hobart" name="Hobart (UTC+10:00)" selected="false"/>
<option value="Australia/LHI" name="LHI (UTC+10:30)" selected="false"/>
<option value="Australia/Lindeman" name="Lindeman (UTC+10:00)" selected="false"/>
<option value="Australia/Lord_Howe" name="Lord Howe (UTC+10:30)" selected="false"/>
<option value="Australia/Melbourne" name="Melbourne (UTC+10:00)" selected="false"/>
<option value="Australia/NSW" name="NSW (UTC+10:00)" selected="false"/>
<option value="Australia/North" name="North (UTC+09:30)" selected="false"/>
<option value="Australia/Perth" name="Perth (UTC+08:00)" selected="false"/>
<option value="Australia/Queensland" name="Queensland (UTC+10:00)" selected="false"/>
<option value="Australia/South" name="South (UTC+09:30)" selected="false"/>
<option value="Australia/Sydney" name="Sydney (UTC+10:00)" selected="false"/>
<option value="Australia/Tasmania" name="Tasmania (UTC+10:00)" selected="false"/>
<option value="Australia/Victoria" name="Victoria (UTC+10:00)" selected="false"/>
<option value="Australia/West" name="West (UTC+08:00)" selected="false"/>
<option value="Australia/Yancowinna" name="Yancowinna (UTC+09:30)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Europe">Europe</label>
<option value="Europe/Amsterdam" name="Amsterdam (UTC+02:00)" selected="false"/>
<option value="Europe/Andorra" name="Andorra (UTC+02:00)" selected="false"/>
<option value="Europe/Athens" name="Athens (UTC+03:00)" selected="false"/>
<option value="Europe/Belfast" name="Belfast (UTC+01:00)" selected="false"/>
<option value="Europe/Belgrade" name="Belgrade (UTC+02:00)" selected="false"/>
<option value="Europe/Berlin" name="Berlin (UTC+02:00)" selected="false"/>
<option value="Europe/Bratislava" name="Bratislava (UTC+02:00)" selected="false"/>
<option value="Europe/Brussels" name="Brussels (UTC+02:00)" selected="false"/>
<option value="Europe/Bucharest" name="Bucharest (UTC+03:00)" selected="false"/>
<option value="Europe/Budapest" name="Budapest (UTC+02:00)" selected="false"/>
<option value="Europe/Busingen" name="Busingen (UTC+02:00)" selected="false"/>
<option value="Europe/Chisinau" name="Chisinau (UTC+03:00)" selected="false"/>
<option value="Europe/Copenhagen" name="Copenhagen (UTC+02:00)" selected="false"/>
<option value="Europe/Dublin" name="Dublin (UTC+01:00)" selected="false"/>
<option value="Europe/Gibraltar" name="Gibraltar (UTC+02:00)" selected="false"/>
<option value="Europe/Guernsey" name="Guernsey (UTC+01:00)" selected="false"/>
<option value="Europe/Helsinki" name="Helsinki (UTC+03:00)" selected="false"/>
<option value="Europe/Isle_of_Man" name="Isle of Man (UTC+01:00)" selected="false"/>
<option value="Europe/Istanbul" name="Istanbul (UTC+03:00)" selected="false"/>
<option value="Europe/Jersey" name="Jersey (UTC+01:00)" selected="false"/>
<option value="Europe/Kaliningrad" name="Kaliningrad (UTC+02:00)" selected="false"/>
<option value="Europe/Kiev" name="Kiev (UTC+03:00)" selected="false"/>
<option value="Europe/Lisbon" name="Lisbon (UTC+01:00)" selected="false"/>
<option value="Europe/Ljubljana" name="Ljubljana (UTC+02:00)" selected="false"/>
<option value="Europe/London" name="London (UTC+01:00)" selected="false"/>
<option value="Europe/Luxembourg" name="Luxembourg (UTC+02:00)" selected="false"/>
<option value="Europe/Madrid" name="Madrid (UTC+02:00)" selected="false"/>
<option value="Europe/Malta" name="Malta (UTC+02:00)" selected="false"/>
<option value="Europe/Mariehamn" name="Mariehamn (UTC+03:00)" selected="false"/>
<option value="Europe/Minsk" name="Minsk (UTC+03:00)" selected="false"/>
<option value="Europe/Monaco" name="Monaco (UTC+02:00)" selected="false"/>
<option value="Europe/Moscow" name="Moscow (UTC+03:00)" selected="false"/>
<option value="Europe/Nicosia" name="Nicosia (UTC+03:00)" selected="false"/>
<option value="Europe/Oslo" name="Oslo (UTC+02:00)" selected="false"/>
<option value="Europe/Paris" name="Paris (UTC+02:00)" selected="false"/>
<option value="Europe/Podgorica" name="Podgorica (UTC+02:00)" selected="false"/>
<option value="Europe/Prague" name="Prague (UTC+02:00)" selected="false"/>
<option value="Europe/Riga" name="Riga (UTC+03:00)" selected="false"/>
<option value="Europe/Rome" name="Rome (UTC+02:00)" selected="false"/>
<option value="Europe/Samara" name="Samara (UTC+04:00)" selected="false"/>
<option value="Europe/San_Marino" name="San Marino (UTC+02:00)" selected="false"/>
<option value="Europe/Sarajevo" name="Sarajevo (UTC+02:00)" selected="false"/>
<option value="Europe/Simferopol" name="Simferopol (UTC+03:00)" selected="false"/>
<option value="Europe/Skopje" name="Skopje (UTC+02:00)" selected="false"/>
<option value="Europe/Sofia" name="Sofia (UTC+03:00)" selected="false"/>
<option value="Europe/Stockholm" name="Stockholm (UTC+02:00)" selected="false"/>
<option value="Europe/Tallinn" name="Tallinn (UTC+03:00)" selected="false"/>
<option value="Europe/Tirane" name="Tirane (UTC+02:00)" selected="false"/>
<option value="Europe/Tiraspol" name="Tiraspol (UTC+03:00)" selected="false"/>
<option value="Europe/Uzhgorod" name="Uzhgorod (UTC+03:00)" selected="false"/>
<option value="Europe/Vaduz" name="Vaduz (UTC+02:00)" selected="false"/>
<option value="Europe/Vatican" name="Vatican (UTC+02:00)" selected="false"/>
<option value="Europe/Vienna" name="Vienna (UTC+02:00)" selected="false"/>
<option value="Europe/Vilnius" name="Vilnius (UTC+03:00)" selected="false"/>
<option value="Europe/Volgograd" name="Volgograd (UTC+03:00)" selected="false"/>
<option value="Europe/Warsaw" name="Warsaw (UTC+02:00)" selected="false"/>
<option value="Europe/Zagreb" name="Zagreb (UTC+02:00)" selected="false"/>
<option value="Europe/Zaporozhye" name="Zaporozhye (UTC+03:00)" selected="false"/>
<option value="Europe/Zurich" name="Zurich (UTC+02:00)" selected="false"/>
<option value="Europe/Astrakhan" name="timezone.Europe.Astrakhan (UTC+04:00)" selected="false"/>
<option value="Europe/Kirov" name="timezone.Europe.Kirov (UTC+03:00)" selected="false"/>
<option value="Europe/Saratov" name="timezone.Europe.Saratov (UTC+04:00)" selected="false"/>
<option value="Europe/Ulyanovsk" name="timezone.Europe.Ulyanovsk (UTC+04:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Indian">Indian</label>
<option value="Indian/Antananarivo" name="Antananarivo (UTC+03:00)" selected="false"/>
<option value="Indian/Chagos" name="Chagos (UTC+06:00)" selected="false"/>
<option value="Indian/Christmas" name="Christmas (UTC+07:00)" selected="false"/>
<option value="Indian/Cocos" name="Cocos (UTC+06:30)" selected="false"/>
<option value="Indian/Comoro" name="Comoro (UTC+03:00)" selected="false"/>
<option value="Indian/Kerguelen" name="Kerguelen (UTC+05:00)" selected="false"/>
<option value="Indian/Mahe" name="Mahe (UTC+04:00)" selected="false"/>
<option value="Indian/Maldives" name="Maldives (UTC+05:00)" selected="false"/>
<option value="Indian/Mauritius" name="Mauritius (UTC+04:00)" selected="false"/>
<option value="Indian/Mayotte" name="Mayotte (UTC+03:00)" selected="false"/>
<option value="Indian/Reunion" name="Réunion (UTC+04:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Pacific">Pacific</label>
<option value="Pacific/Apia" name="Apia (UTC+13:00)" selected="false"/>
<option value="Pacific/Auckland" name="Auckland (UTC+12:00)" selected="false"/>
<option value="Pacific/Bougainville" name="Bougainville (UTC+11:00)" selected="false"/>
<option value="Pacific/Chatham" name="Chatham (UTC+12:45)" selected="false"/>
<option value="Pacific/Chuuk" name="Chuuk (UTC+10:00)" selected="false"/>
<option value="Pacific/Truk" name="Chuuk (UTC+10:00)" selected="false"/>
<option value="Pacific/Easter" name="Easter (UTC-06:00)" selected="false"/>
<option value="Pacific/Efate" name="Efate (UTC+11:00)" selected="false"/>
<option value="Pacific/Enderbury" name="Enderbury (UTC+13:00)" selected="false"/>
<option value="Pacific/Fakaofo" name="Fakaofo (UTC+13:00)" selected="false"/>
<option value="Pacific/Fiji" name="Fiji (UTC+12:00)" selected="false"/>
<option value="Pacific/Funafuti" name="Funafuti (UTC+12:00)" selected="false"/>
<option value="Pacific/Galapagos" name="Galapagos (UTC-06:00)" selected="false"/>
<option value="Pacific/Gambier" name="Gambier (UTC-09:00)" selected="false"/>
<option value="Pacific/Guadalcanal" name="Guadalcanal (UTC+11:00)" selected="false"/>
<option value="Pacific/Guam" name="Guam (UTC+10:00)" selected="false"/>
<option value="Pacific/Honolulu" name="Honolulu (UTC-10:00)" selected="false"/>
<option value="Pacific/Johnston" name="Johnston (UTC-10:00)" selected="false"/>
<option value="Pacific/Kiritimati" name="Kiritimati (UTC+14:00)" selected="false"/>
<option value="Pacific/Kosrae" name="Kosrae (UTC+11:00)" selected="false"/>
<option value="Pacific/Kwajalein" name="Kwajalein (UTC+12:00)" selected="false"/>
<option value="Pacific/Majuro" name="Majuro (UTC+12:00)" selected="false"/>
<option value="Pacific/Marquesas" name="Marquesas (UTC-09:30)" selected="false"/>
<option value="Pacific/Midway" name="Midway (UTC-11:00)" selected="false"/>
<option value="Pacific/Nauru" name="Nauru (UTC+12:00)" selected="false"/>
<option value="Pacific/Niue" name="Niue (UTC-11:00)" selected="false"/>
<option value="Pacific/Norfolk" name="Norfolk (UTC+11:00)" selected="false"/>
<option value="Pacific/Noumea" name="Noumea (UTC+11:00)" selected="false"/>
<option value="Pacific/Pago_Pago" name="Pago Pago (UTC-11:00)" selected="false"/>
<option value="Pacific/Palau" name="Palau (UTC+09:00)" selected="false"/>
<option value="Pacific/Pitcairn" name="Pitcairn (UTC-08:00)" selected="false"/>
<option value="Pacific/Pohnpei" name="Pohnpei (UTC+11:00)" selected="false"/>
<option value="Pacific/Ponape" name="Pohnpei (UTC+11:00)" selected="false"/>
<option value="Pacific/Port_Moresby" name="Port Moresby (UTC+10:00)" selected="false"/>
<option value="Pacific/Rarotonga" name="Rarotonga (UTC-10:00)" selected="false"/>
<option value="Pacific/Saipan" name="Saipan (UTC+10:00)" selected="false"/>
<option value="Pacific/Samoa" name="Samoa (UTC-11:00)" selected="false"/>
<option value="Pacific/Tahiti" name="Tahiti (UTC-10:00)" selected="false"/>
<option value="Pacific/Tarawa" name="Tarawa (UTC+12:00)" selected="false"/>
<option value="Pacific/Tongatapu" name="Tongatapu (UTC+13:00)" selected="false"/>
<option value="Pacific/Wake" name="Wake (UTC+12:00)" selected="false"/>
<option value="Pacific/Wallis" name="Wallis (UTC+12:00)" selected="false"/>
<option value="Pacific/Yap" name="Yap (UTC+10:00)" selected="false"/>
</optionGroup>
</selection>
<result>
<field name="name" type="text">
<value></value>
</field>
<field name="realname" type="text">
<value></value>
</field>
<field name="email" type="text">
<value></value>
</field>
<field name="description" type="longtext">
<value></value>
</field>
<field name="userType" type="list:select">
<value>LOCAL_USER</value>
</field>
<field name="language" type="list:select">
<value></value>
</field>
<field name="timeZone" type="list:select">
<value></value>
</field>
<field name="password" type="password">
<value></value>
</field>
<field name="passwordConfirmation" type="password">
<value></value>
</field>
<field name="groups" type="list:checkbox">
<value></value>
</field>
</result>
</data>
<bean id="subjects">
<option name="action" id="create"/>
</bean>
</action>
, org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '3' but was '2' - comparing <field...> at /action[1]/config[1]/meta-data[1]/field[1] to <field...> 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 <selection...> at /action[1]/data[1]/selection[1] to <selection...> at /action[1]/data[1]/selection[1]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<action xmlns="http://www.appng.org/schema/platform" id="create" eventId="subjectEvent">
<config>
<title id="subject.create">Create user</title>
<permissions>
<permission ref="subject.create" mode="set"></permission>
</permissions>
<params>
<param name="form_action">create</param>
</params>
<meta-data binding="subject" bindClass="org.appng.application.manager.form.SubjectForm">
<field name="name" type="text" binding="subject.name">
<label id="name">Name</label>
<validation>
<notNull>
<message ref="subject.name" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</notNull>
<size min="0" max="255">
<message ref="subject.name" class="ERROR" code="{validation.string.max}">Enter at most 255 characters</message>
</size>
<pattern regexp="^((((CN|cn)=[^,]+),?)*(((OU|ou)=[^,]+),?)*(((DC|dc)=[^,]+),?)*)|(([a-zA-Z0-9_\.-])+(@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]){2,})?)$">
<message ref="subject.name" class="ERROR" code="{validation.usernameGroup}">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 </message>
</pattern>
</validation>
<messages ref="subject.name">
<message ref="subject.name" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</messages>
</field>
<field name="realname" type="text" binding="subject.realname">
<label id="realname">Real name</label>
<validation>
<notNull>
<message ref="subject.realname" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</notNull>
<size min="0" max="64">
<message ref="subject.realname" class="ERROR" code="{validation.string.max}">Enter at most 64 characters</message>
</size>
</validation>
<messages ref="subject.realname">
<message ref="subject.realname" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</messages>
</field>
<field name="email" type="text" binding="subject.email">
<label id="email">E-mail</label>
<validation>
<pattern regexp="^([a-zA-Z0-9_\.-])+@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]){2,}$">
<message ref="subject.email" class="ERROR" code="{validation.email}">Please enter a valid e-mail address</message>
</pattern>
</validation>
<messages ref="email">
<message ref="email" class="ERROR">Please enter an e-mail address.</message>
</messages>
</field>
<field name="description" type="longtext" binding="subject.description">
<label id="description">Description</label>
<validation>
<size min="0" max="8192">
<message ref="subject.description" class="ERROR" code="{validation.string.max}">Enter at most 8192 characters</message>
</size>
</validation>
</field>
<field name="userType" type="list:select" binding="subject.userType">
<label id="type">Type</label>
</field>
<field name="language" type="list:select" binding="subject.language">
<label id="language">Language</label>
<validation>
<notNull>
<message ref="subject.language" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</notNull>
<size min="2" max="3">
<message ref="subject.language" class="ERROR" code="{validation.string.min.max}">Enter between 2 and 3 characters</message>
</size>
</validation>
<messages ref="subject.language">
<message ref="subject.language" class="ERROR" code="{validation.notNull}">Field must not be empty</message>
</messages>
</field>
<field name="timeZone" type="list:select" binding="subject.timeZone">
<label id="timezone">Timezone</label>
</field>
<field name="password" type="password" binding="password">
<label id="password">Password</label>
<validation/>
<messages ref="password">
<message ref="password" class="ERROR">Password must contain 1 or more lowercase letters.</message>
<message ref="password" class="ERROR">Password must contain 1 or more uppercase letters.</message>
<message ref="password" class="ERROR">Password must contain 1 or more numbers.</message>
<message ref="password" class="ERROR">Password must contain 1 or more special characters. Allowed are !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~</message>
<message ref="password" class="ERROR">Password must be at least 8 characters long.</message>
<message ref="password" class="ERROR">Password contains illegal character: '§'</message>
</messages>
</field>
<field name="passwordConfirmation" type="password" binding="passwordConfirmation">
<label id="password.confirmation">Password confirmation</label>
</field>
<field name="groups" type="list:checkbox" binding="groupIds">
<label id="groups">Groups</label>
</field>
</meta-data>
</config>
<condition expression="${form_action eq 'create'}"/>
<datasource id="new-user"/>
<userdata/>
<data>
<selection id="groups">
<title id="groups">Groups</title>
</selection>
<selection id="userType">
<title id="type">Type</title>
<option value="LOCAL_USER" name="Local User" selected="true"/>
<option value="GLOBAL_USER" name="LDAP User" selected="false"/>
<option value="GLOBAL_GROUP" name="LDAP Group" selected="false"/>
</selection>
<selection id="language">
<title id="language">Language</title>
</selection>
<selection id="passwordChangePolicy" type="radio">
<title id="passwordChangePolicy">Password restrictions</title>
<option value="MAY" name="May change" selected="true"/>
<option value="MUST" name="Must change" selected="false"/>
<option value="MUST_NOT" name="Must not change" selected="false"/>
<option value="MUST_RECOVER" name="Must use recovery" selected="false"/>
</selection>
<selection id="timeZone" type="select">
<title id="timezone">Timezone</title>
<optionGroup>
<label id="Africa">Africa</label>
<option value="Africa/Abidjan" name="Abidjan (UTC)" selected="false"/>
<option value="Africa/Accra" name="Accra (UTC)" selected="false"/>
<option value="Africa/Addis_Ababa" name="Addis Ababa (UTC+03:00)" selected="false"/>
<option value="Africa/Algiers" name="Algiers (UTC+01:00)" selected="false"/>
<option value="Africa/Asmara" name="Asmara (UTC+03:00)" selected="false"/>
<option value="Africa/Asmera" name="Asmara (UTC+03:00)" selected="false"/>
<option value="Africa/Bamako" name="Bamako (UTC)" selected="false"/>
<option value="Africa/Bangui" name="Bangui (UTC+01:00)" selected="false"/>
<option value="Africa/Banjul" name="Banjul (UTC)" selected="false"/>
<option value="Africa/Bissau" name="Bissau (UTC)" selected="false"/>
<option value="Africa/Blantyre" name="Blantyre (UTC+02:00)" selected="false"/>
<option value="Africa/Brazzaville" name="Brazzaville (UTC+01:00)" selected="false"/>
<option value="Africa/Bujumbura" name="Bujumbura (UTC+02:00)" selected="false"/>
<option value="Africa/Cairo" name="Cairo (UTC+02:00)" selected="false"/>
<option value="Africa/Casablanca" name="Casablanca (UTC+01:00)" selected="false"/>
<option value="Africa/Ceuta" name="Ceuta (UTC+02:00)" selected="false"/>
<option value="Africa/Conakry" name="Conakry (UTC)" selected="false"/>
<option value="Africa/Dakar" name="Dakar (UTC)" selected="false"/>
<option value="Africa/Dar_es_Salaam" name="Dar es Salaam (UTC+03:00)" selected="false"/>
<option value="Africa/Djibouti" name="Djibouti (UTC+03:00)" selected="false"/>
<option value="Africa/Douala" name="Douala (UTC+01:00)" selected="false"/>
<option value="Africa/El_Aaiun" name="El Aaiun (UTC+01:00)" selected="false"/>
<option value="Africa/Freetown" name="Freetown (UTC)" selected="false"/>
<option value="Africa/Gaborone" name="Gaborone (UTC+02:00)" selected="false"/>
<option value="Africa/Harare" name="Harare (UTC+02:00)" selected="false"/>
<option value="Africa/Johannesburg" name="Johannesburg (UTC+02:00)" selected="false"/>
<option value="Africa/Juba" name="Juba (UTC+03:00)" selected="false"/>
<option value="Africa/Kampala" name="Kampala (UTC+03:00)" selected="false"/>
<option value="Africa/Khartoum" name="Khartoum (UTC+03:00)" selected="false"/>
<option value="Africa/Kigali" name="Kigali (UTC+02:00)" selected="false"/>
<option value="Africa/Kinshasa" name="Kinshasa (UTC+01:00)" selected="false"/>
<option value="Africa/Lagos" name="Lagos (UTC+01:00)" selected="false"/>
<option value="Africa/Libreville" name="Libreville (UTC+01:00)" selected="false"/>
<option value="Africa/Lome" name="Lome (UTC)" selected="false"/>
<option value="Africa/Luanda" name="Luanda (UTC+01:00)" selected="false"/>
<option value="Africa/Lubumbashi" name="Lubumbashi (UTC+02:00)" selected="false"/>
<option value="Africa/Lusaka" name="Lusaka (UTC+02:00)" selected="false"/>
<option value="Africa/Malabo" name="Malabo (UTC+01:00)" selected="false"/>
<option value="Africa/Maputo" name="Maputo (UTC+02:00)" selected="false"/>
<option value="Africa/Maseru" name="Maseru (UTC+02:00)" selected="false"/>
<option value="Africa/Mbabane" name="Mbabane (UTC+02:00)" selected="false"/>
<option value="Africa/Mogadishu" name="Mogadishu (UTC+03:00)" selected="false"/>
<option value="Africa/Monrovia" name="Monrovia (UTC)" selected="false"/>
<option value="Africa/Nairobi" name="Nairobi (UTC+03:00)" selected="false"/>
<option value="Africa/Ndjamena" name="Ndjamena (UTC+01:00)" selected="false"/>
<option value="Africa/Niamey" name="Niamey (UTC+01:00)" selected="false"/>
<option value="Africa/Nouakchott" name="Nouakchott (UTC)" selected="false"/>
<option value="Africa/Ouagadougou" name="Ouagadougou (UTC)" selected="false"/>
<option value="Africa/Porto-Novo" name="Porto-Novo (UTC+01:00)" selected="false"/>
<option value="Africa/Sao_Tome" name="São Tomé (UTC)" selected="false"/>
<option value="Africa/Timbuktu" name="Timbuktu (UTC)" selected="false"/>
<option value="Africa/Tripoli" name="Tripoli (UTC+02:00)" selected="false"/>
<option value="Africa/Tunis" name="Tunis (UTC+01:00)" selected="false"/>
<option value="Africa/Windhoek" name="Windhoek (UTC+01:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="America">America</label>
<option value="America/Adak" name="Adak (UTC-09:00)" selected="false"/>
<option value="America/Anchorage" name="Anchorage (UTC-08:00)" selected="false"/>
<option value="America/Anguilla" name="Anguilla (UTC-04:00)" selected="false"/>
<option value="America/Antigua" name="Antigua (UTC-04:00)" selected="false"/>
<option value="America/Araguaina" name="Araguaina (UTC-03:00)" selected="false"/>
<option value="America/Aruba" name="Aruba (UTC-04:00)" selected="false"/>
<option value="America/Asuncion" name="Asunción (UTC-04:00)" selected="false"/>
<option value="America/Atikokan" name="Atikokan (UTC-05:00)" selected="false"/>
<option value="America/Coral_Harbour" name="Atikokan (UTC-05:00)" selected="false"/>
<option value="America/Atka" name="Atka (UTC-09:00)" selected="false"/>
<option value="America/Bahia" name="Bahia (UTC-03:00)" selected="false"/>
<option value="America/Bahia_Banderas" name="Bahia Banderas (UTC-05:00)" selected="false"/>
<option value="America/Barbados" name="Barbados (UTC-04:00)" selected="false"/>
<option value="America/Belem" name="Belem (UTC-03:00)" selected="false"/>
<option value="America/Belize" name="Belize (UTC-06:00)" selected="false"/>
<option value="America/North_Dakota/Beulah" name="Beulah, North Dakota (UTC-05:00)" selected="false"/>
<option value="America/Blanc-Sablon" name="Blanc-Sablon (UTC-04:00)" selected="false"/>
<option value="America/Boa_Vista" name="Boa Vista (UTC-04:00)" selected="false"/>
<option value="America/Bogota" name="Bogota (UTC-05:00)" selected="false"/>
<option value="America/Boise" name="Boise (UTC-06:00)" selected="false"/>
<option value="America/Argentina/Buenos_Aires" name="Buenos Aires (UTC-03:00)" selected="false"/>
<option value="America/Buenos_Aires" name="Buenos Aires (UTC-03:00)" selected="false"/>
<option value="America/Cambridge_Bay" name="Cambridge Bay (UTC-06:00)" selected="false"/>
<option value="America/Campo_Grande" name="Campo Grande (UTC-04:00)" selected="false"/>
<option value="America/Cancun" name="Cancun (UTC-05:00)" selected="false"/>
<option value="America/Caracas" name="Caracas (UTC-04:00)" selected="false"/>
<option value="America/Argentina/Catamarca" name="Catamarca (UTC-03:00)" selected="false"/>
<option value="America/Catamarca" name="Catamarca (UTC-03:00)" selected="false"/>
<option value="America/Cayenne" name="Cayenne (UTC-03:00)" selected="false"/>
<option value="America/Cayman" name="Cayman (UTC-05:00)" selected="false"/>
<option value="America/North_Dakota/Center" name="Center, North Dakota (UTC-05:00)" selected="false"/>
<option value="America/Chicago" name="Chicago (UTC-05:00)" selected="false"/>
<option value="America/Chihuahua" name="Chihuahua (UTC-06:00)" selected="false"/>
<option value="America/Argentina/ComodRivadavia" name="ComodRivadavia (UTC-03:00)" selected="false"/>
<option value="America/Argentina/Cordoba" name="Cordoba (UTC-03:00)" selected="false"/>
<option value="America/Cordoba" name="Cordoba (UTC-03:00)" selected="false"/>
<option value="America/Costa_Rica" name="Costa Rica (UTC-06:00)" selected="false"/>
<option value="America/Creston" name="Creston (UTC-07:00)" selected="false"/>
<option value="America/Cuiaba" name="Cuiaba (UTC-04:00)" selected="false"/>
<option value="America/Curacao" name="Curaçao (UTC-04:00)" selected="false"/>
<option value="America/Danmarkshavn" name="Danmarkshavn (UTC)" selected="false"/>
<option value="America/Dawson" name="Dawson (UTC-07:00)" selected="false"/>
<option value="America/Dawson_Creek" name="Dawson Creek (UTC-07:00)" selected="false"/>
<option value="America/Denver" name="Denver (UTC-06:00)" selected="false"/>
<option value="America/Detroit" name="Detroit (UTC-04:00)" selected="false"/>
<option value="America/Dominica" name="Dominica (UTC-04:00)" selected="false"/>
<option value="America/Edmonton" name="Edmonton (UTC-06:00)" selected="false"/>
<option value="America/Eirunepe" name="Eirunepe (UTC-05:00)" selected="false"/>
<option value="America/El_Salvador" name="El Salvador (UTC-06:00)" selected="false"/>
<option value="America/Ensenada" name="Ensenada (UTC-07:00)" selected="false"/>
<option value="America/Fort_Wayne" name="Fort Wayne (UTC-04:00)" selected="false"/>
<option value="America/Fortaleza" name="Fortaleza (UTC-03:00)" selected="false"/>
<option value="America/Glace_Bay" name="Glace Bay (UTC-03:00)" selected="false"/>
<option value="America/Goose_Bay" name="Goose Bay (UTC-03:00)" selected="false"/>
<option value="America/Grand_Turk" name="Grand Turk (UTC-04:00)" selected="false"/>
<option value="America/Grenada" name="Grenada (UTC-04:00)" selected="false"/>
<option value="America/Guadeloupe" name="Guadeloupe (UTC-04:00)" selected="false"/>
<option value="America/Guatemala" name="Guatemala (UTC-06:00)" selected="false"/>
<option value="America/Guayaquil" name="Guayaquil (UTC-05:00)" selected="false"/>
<option value="America/Guyana" name="Guyana (UTC-04:00)" selected="false"/>
<option value="America/Halifax" name="Halifax (UTC-03:00)" selected="false"/>
<option value="America/Havana" name="Havana (UTC-04:00)" selected="false"/>
<option value="America/Hermosillo" name="Hermosillo (UTC-07:00)" selected="false"/>
<option value="America/Indiana/Indianapolis" name="Indianapolis (UTC-04:00)" selected="false"/>
<option value="America/Indianapolis" name="Indianapolis (UTC-04:00)" selected="false"/>
<option value="America/Inuvik" name="Inuvik (UTC-06:00)" selected="false"/>
<option value="America/Iqaluit" name="Iqaluit (UTC-04:00)" selected="false"/>
<option value="America/Scoresbysund" name="Ittoqqortoormiit (UTC)" selected="false"/>
<option value="America/Jamaica" name="Jamaica (UTC-05:00)" selected="false"/>
<option value="America/Argentina/Jujuy" name="Jujuy (UTC-03:00)" selected="false"/>
<option value="America/Jujuy" name="Jujuy (UTC-03:00)" selected="false"/>
<option value="America/Juneau" name="Juneau (UTC-08:00)" selected="false"/>
<option value="America/Knox_IN" name="Knox IN (UTC-05:00)" selected="false"/>
<option value="America/Indiana/Knox" name="Knox, Indiana (UTC-05:00)" selected="false"/>
<option value="America/Kralendijk" name="Kralendijk (UTC-04:00)" selected="false"/>
<option value="America/La_Paz" name="La Paz (UTC-04:00)" selected="false"/>
<option value="America/Argentina/La_Rioja" name="La Rioja (UTC-03:00)" selected="false"/>
<option value="America/Lima" name="Lima (UTC-05:00)" selected="false"/>
<option value="America/Los_Angeles" name="Los Angeles (UTC-07:00)" selected="false"/>
<option value="America/Kentucky/Louisville" name="Louisville (UTC-04:00)" selected="false"/>
<option value="America/Louisville" name="Louisville (UTC-04:00)" selected="false"/>
<option value="America/Lower_Princes" name="Lower Princes Quarter (UTC-04:00)" selected="false"/>
<option value="America/Maceio" name="Maceio (UTC-03:00)" selected="false"/>
<option value="America/Managua" name="Managua (UTC-06:00)" selected="false"/>
<option value="America/Manaus" name="Manaus (UTC-04:00)" selected="false"/>
<option value="America/Indiana/Marengo" name="Marengo, Indiana (UTC-04:00)" selected="false"/>
<option value="America/Marigot" name="Marigot (UTC-04:00)" selected="false"/>
<option value="America/Martinique" name="Martinique (UTC-04:00)" selected="false"/>
<option value="America/Matamoros" name="Matamoros (UTC-05:00)" selected="false"/>
<option value="America/Mazatlan" name="Mazatlan (UTC-06:00)" selected="false"/>
<option value="America/Argentina/Mendoza" name="Mendoza (UTC-03:00)" selected="false"/>
<option value="America/Mendoza" name="Mendoza (UTC-03:00)" selected="false"/>
<option value="America/Menominee" name="Menominee (UTC-05:00)" selected="false"/>
<option value="America/Merida" name="Merida (UTC-05:00)" selected="false"/>
<option value="America/Metlakatla" name="Metlakatla (UTC-08:00)" selected="false"/>
<option value="America/Mexico_City" name="Mexico City (UTC-05:00)" selected="false"/>
<option value="America/Miquelon" name="Miquelon (UTC-02:00)" selected="false"/>
<option value="America/Moncton" name="Moncton (UTC-03:00)" selected="false"/>
<option value="America/Monterrey" name="Monterrey (UTC-05:00)" selected="false"/>
<option value="America/Montevideo" name="Montevideo (UTC-03:00)" selected="false"/>
<option value="America/Kentucky/Monticello" name="Monticello, Kentucky (UTC-04:00)" selected="false"/>
<option value="America/Montreal" name="Montreal (UTC-04:00)" selected="false"/>
<option value="America/Montserrat" name="Montserrat (UTC-04:00)" selected="false"/>
<option value="America/Nassau" name="Nassau (UTC-04:00)" selected="false"/>
<option value="America/North_Dakota/New_Salem" name="New Salem, North Dakota (UTC-05:00)" selected="false"/>
<option value="America/New_York" name="New York (UTC-04:00)" selected="false"/>
<option value="America/Nipigon" name="Nipigon (UTC-04:00)" selected="false"/>
<option value="America/Nome" name="Nome (UTC-08:00)" selected="false"/>
<option value="America/Noronha" name="Noronha (UTC-02:00)" selected="false"/>
<option value="America/Godthab" name="Nuuk (UTC-02:00)" selected="false"/>
<option value="America/Ojinaga" name="Ojinaga (UTC-06:00)" selected="false"/>
<option value="America/Panama" name="Panama (UTC-05:00)" selected="false"/>
<option value="America/Pangnirtung" name="Pangnirtung (UTC-04:00)" selected="false"/>
<option value="America/Paramaribo" name="Paramaribo (UTC-03:00)" selected="false"/>
<option value="America/Indiana/Petersburg" name="Petersburg, Indiana (UTC-04:00)" selected="false"/>
<option value="America/Phoenix" name="Phoenix (UTC-07:00)" selected="false"/>
<option value="America/Port_of_Spain" name="Port of Spain (UTC-04:00)" selected="false"/>
<option value="America/Port-au-Prince" name="Port-au-Prince (UTC-05:00)" selected="false"/>
<option value="America/Porto_Acre" name="Porto Acre (UTC-05:00)" selected="false"/>
<option value="America/Porto_Velho" name="Porto Velho (UTC-04:00)" selected="false"/>
<option value="America/Puerto_Rico" name="Puerto Rico (UTC-04:00)" selected="false"/>
<option value="America/Rainy_River" name="Rainy River (UTC-05:00)" selected="false"/>
<option value="America/Rankin_Inlet" name="Rankin Inlet (UTC-05:00)" selected="false"/>
<option value="America/Recife" name="Recife (UTC-03:00)" selected="false"/>
<option value="America/Regina" name="Regina (UTC-06:00)" selected="false"/>
<option value="America/Resolute" name="Resolute (UTC-05:00)" selected="false"/>
<option value="America/Rio_Branco" name="Rio Branco (UTC-05:00)" selected="false"/>
<option value="America/Argentina/Rio_Gallegos" name="Rio Gallegos (UTC-03:00)" selected="false"/>
<option value="America/Rosario" name="Rosario (UTC-03:00)" selected="false"/>
<option value="America/St_Barthelemy" name="Saint Barthélemy (UTC-04:00)" selected="false"/>
<option value="America/Argentina/Salta" name="Salta (UTC-03:00)" selected="false"/>
<option value="America/Argentina/San_Juan" name="San Juan (UTC-03:00)" selected="false"/>
<option value="America/Argentina/San_Luis" name="San Luis (UTC-03:00)" selected="false"/>
<option value="America/Santa_Isabel" name="Santa Isabel (UTC-07:00)" selected="false"/>
<option value="America/Santarem" name="Santarem (UTC-03:00)" selected="false"/>
<option value="America/Santiago" name="Santiago (UTC-04:00)" selected="false"/>
<option value="America/Santo_Domingo" name="Santo Domingo (UTC-04:00)" selected="false"/>
<option value="America/Sao_Paulo" name="Sao Paulo (UTC-03:00)" selected="false"/>
<option value="America/Shiprock" name="Shiprock (UTC-06:00)" selected="false"/>
<option value="America/Sitka" name="Sitka (UTC-08:00)" selected="false"/>
<option value="America/St_Johns" name="St. John’s (UTC-02:30)" selected="false"/>
<option value="America/St_Kitts" name="St. Kitts (UTC-04:00)" selected="false"/>
<option value="America/St_Lucia" name="St. Lucia (UTC-04:00)" selected="false"/>
<option value="America/St_Thomas" name="St. Thomas (UTC-04:00)" selected="false"/>
<option value="America/St_Vincent" name="St. Vincent (UTC-04:00)" selected="false"/>
<option value="America/Swift_Current" name="Swift Current (UTC-06:00)" selected="false"/>
<option value="America/Tegucigalpa" name="Tegucigalpa (UTC-06:00)" selected="false"/>
<option value="America/Indiana/Tell_City" name="Tell City, Indiana (UTC-05:00)" selected="false"/>
<option value="America/Thule" name="Thule (UTC-03:00)" selected="false"/>
<option value="America/Thunder_Bay" name="Thunder Bay (UTC-04:00)" selected="false"/>
<option value="America/Tijuana" name="Tijuana (UTC-07:00)" selected="false"/>
<option value="America/Toronto" name="Toronto (UTC-04:00)" selected="false"/>
<option value="America/Tortola" name="Tortola (UTC-04:00)" selected="false"/>
<option value="America/Argentina/Tucuman" name="Tucuman (UTC-03:00)" selected="false"/>
<option value="America/Argentina/Ushuaia" name="Ushuaia (UTC-03:00)" selected="false"/>
<option value="America/Vancouver" name="Vancouver (UTC-07:00)" selected="false"/>
<option value="America/Indiana/Vevay" name="Vevay, Indiana (UTC-04:00)" selected="false"/>
<option value="America/Indiana/Vincennes" name="Vincennes, Indiana (UTC-04:00)" selected="false"/>
<option value="America/Virgin" name="Virgin (UTC-04:00)" selected="false"/>
<option value="America/Whitehorse" name="Whitehorse (UTC-07:00)" selected="false"/>
<option value="America/Indiana/Winamac" name="Winamac, Indiana (UTC-04:00)" selected="false"/>
<option value="America/Winnipeg" name="Winnipeg (UTC-05:00)" selected="false"/>
<option value="America/Yakutat" name="Yakutat (UTC-08:00)" selected="false"/>
<option value="America/Yellowknife" name="Yellowknife (UTC-06:00)" selected="false"/>
<option value="America/Fort_Nelson" name="timezone.America.Fort_Nelson (UTC-07:00)" selected="false"/>
<option value="America/Punta_Arenas" name="timezone.America.Punta_Arenas (UTC-03:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Antarctica">Antarctica</label>
<option value="Antarctica/Casey" name="Casey (UTC+11:00)" selected="false"/>
<option value="Antarctica/Davis" name="Davis (UTC+07:00)" selected="false"/>
<option value="Antarctica/DumontDUrville" name="Dumont d’Urville (UTC+10:00)" selected="false"/>
<option value="Antarctica/Macquarie" name="Macquarie (UTC+11:00)" selected="false"/>
<option value="Antarctica/Mawson" name="Mawson (UTC+05:00)" selected="false"/>
<option value="Antarctica/McMurdo" name="McMurdo (UTC+12:00)" selected="false"/>
<option value="Antarctica/Palmer" name="Palmer (UTC-03:00)" selected="false"/>
<option value="Antarctica/Rothera" name="Rothera (UTC-03:00)" selected="false"/>
<option value="Antarctica/South_Pole" name="South Pole (UTC+12:00)" selected="false"/>
<option value="Antarctica/Syowa" name="Syowa (UTC+03:00)" selected="false"/>
<option value="Antarctica/Troll" name="Troll (UTC+02:00)" selected="false"/>
<option value="Antarctica/Vostok" name="Vostok (UTC+06:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Asia">Asia</label>
<option value="Asia/Aden" name="Aden (UTC+03:00)" selected="false"/>
<option value="Asia/Almaty" name="Almaty (UTC+06:00)" selected="false"/>
<option value="Asia/Amman" name="Amman (UTC+03:00)" selected="false"/>
<option value="Asia/Anadyr" name="Anadyr (UTC+12:00)" selected="false"/>
<option value="Asia/Aqtau" name="Aqtau (UTC+05:00)" selected="false"/>
<option value="Asia/Aqtobe" name="Aqtobe (UTC+05:00)" selected="false"/>
<option value="Asia/Ashgabat" name="Ashgabat (UTC+05:00)" selected="false"/>
<option value="Asia/Ashkhabad" name="Ashkhabad (UTC+05:00)" selected="false"/>
<option value="Asia/Baghdad" name="Baghdad (UTC+03:00)" selected="false"/>
<option value="Asia/Bahrain" name="Bahrain (UTC+03:00)" selected="false"/>
<option value="Asia/Baku" name="Baku (UTC+04:00)" selected="false"/>
<option value="Asia/Bangkok" name="Bangkok (UTC+07:00)" selected="false"/>
<option value="Asia/Beirut" name="Beirut (UTC+03:00)" selected="false"/>
<option value="Asia/Bishkek" name="Bishkek (UTC+06:00)" selected="false"/>
<option value="Asia/Brunei" name="Brunei (UTC+08:00)" selected="false"/>
<option value="Asia/Chita" name="Chita (UTC+09:00)" selected="false"/>
<option value="Asia/Choibalsan" name="Choibalsan (UTC+08:00)" selected="false"/>
<option value="Asia/Chongqing" name="Chongqing (UTC+08:00)" selected="false"/>
<option value="Asia/Chungking" name="Chungking (UTC+08:00)" selected="false"/>
<option value="Asia/Colombo" name="Colombo (UTC+05:30)" selected="false"/>
<option value="Asia/Dacca" name="Dacca (UTC+06:00)" selected="false"/>
<option value="Asia/Damascus" name="Damascus (UTC+03:00)" selected="false"/>
<option value="Asia/Dhaka" name="Dhaka (UTC+06:00)" selected="false"/>
<option value="Asia/Dili" name="Dili (UTC+09:00)" selected="false"/>
<option value="Asia/Dubai" name="Dubai (UTC+04:00)" selected="false"/>
<option value="Asia/Dushanbe" name="Dushanbe (UTC+05:00)" selected="false"/>
<option value="Asia/Gaza" name="Gaza (UTC+03:00)" selected="false"/>
<option value="Asia/Harbin" name="Harbin (UTC+08:00)" selected="false"/>
<option value="Asia/Hebron" name="Hebron (UTC+03:00)" selected="false"/>
<option value="Asia/Ho_Chi_Minh" name="Ho Chi Minh (UTC+07:00)" selected="false"/>
<option value="Asia/Saigon" name="Ho Chi Minh City (UTC+07:00)" selected="false"/>
<option value="Asia/Hong_Kong" name="Hong Kong (UTC+08:00)" selected="false"/>
<option value="Asia/Hovd" name="Hovd (UTC+07:00)" selected="false"/>
<option value="Asia/Irkutsk" name="Irkutsk (UTC+08:00)" selected="false"/>
<option value="Asia/Istanbul" name="Istanbul (UTC+03:00)" selected="false"/>
<option value="Asia/Jakarta" name="Jakarta (UTC+07:00)" selected="false"/>
<option value="Asia/Jayapura" name="Jayapura (UTC+09:00)" selected="false"/>
<option value="Asia/Jerusalem" name="Jerusalem (UTC+03:00)" selected="false"/>
<option value="Asia/Kabul" name="Kabul (UTC+04:30)" selected="false"/>
<option value="Asia/Kamchatka" name="Kamchatka (UTC+12:00)" selected="false"/>
<option value="Asia/Karachi" name="Karachi (UTC+05:00)" selected="false"/>
<option value="Asia/Kashgar" name="Kashgar (UTC+06:00)" selected="false"/>
<option value="Asia/Kathmandu" name="Kathmandu (UTC+05:45)" selected="false"/>
<option value="Asia/Katmandu" name="Kathmandu (UTC+05:45)" selected="false"/>
<option value="Asia/Khandyga" name="Khandyga (UTC+09:00)" selected="false"/>
<option value="Asia/Calcutta" name="Kolkata (UTC+05:30)" selected="false"/>
<option value="Asia/Kolkata" name="Kolkata (UTC+05:30)" selected="false"/>
<option value="Asia/Krasnoyarsk" name="Krasnoyarsk (UTC+07:00)" selected="false"/>
<option value="Asia/Kuala_Lumpur" name="Kuala Lumpur (UTC+08:00)" selected="false"/>
<option value="Asia/Kuching" name="Kuching (UTC+08:00)" selected="false"/>
<option value="Asia/Kuwait" name="Kuwait (UTC+03:00)" selected="false"/>
<option value="Asia/Macao" name="Macao (UTC+08:00)" selected="false"/>
<option value="Asia/Macau" name="Macau (UTC+08:00)" selected="false"/>
<option value="Asia/Magadan" name="Magadan (UTC+11:00)" selected="false"/>
<option value="Asia/Makassar" name="Makassar (UTC+08:00)" selected="false"/>
<option value="Asia/Manila" name="Manila (UTC+08:00)" selected="false"/>
<option value="Asia/Muscat" name="Muscat (UTC+04:00)" selected="false"/>
<option value="Asia/Nicosia" name="Nicosia (UTC+03:00)" selected="false"/>
<option value="Asia/Novokuznetsk" name="Novokuznetsk (UTC+07:00)" selected="false"/>
<option value="Asia/Novosibirsk" name="Novosibirsk (UTC+07:00)" selected="false"/>
<option value="Asia/Omsk" name="Omsk (UTC+06:00)" selected="false"/>
<option value="Asia/Oral" name="Oral (UTC+05:00)" selected="false"/>
<option value="Asia/Phnom_Penh" name="Phnom Penh (UTC+07:00)" selected="false"/>
<option value="Asia/Pontianak" name="Pontianak (UTC+07:00)" selected="false"/>
<option value="Asia/Pyongyang" name="Pyongyang (UTC+08:30)" selected="false"/>
<option value="Asia/Qatar" name="Qatar (UTC+03:00)" selected="false"/>
<option value="Asia/Qyzylorda" name="Qyzylorda (UTC+06:00)" selected="false"/>
<option value="Asia/Rangoon" name="Rangoon (UTC+06:30)" selected="false"/>
<option value="Asia/Riyadh" name="Riyadh (UTC+03:00)" selected="false"/>
<option value="Asia/Sakhalin" name="Sakhalin (UTC+11:00)" selected="false"/>
<option value="Asia/Samarkand" name="Samarkand (UTC+05:00)" selected="false"/>
<option value="Asia/Seoul" name="Seoul (UTC+09:00)" selected="false"/>
<option value="Asia/Shanghai" name="Shanghai (UTC+08:00)" selected="false"/>
<option value="Asia/Singapore" name="Singapore (UTC+08:00)" selected="false"/>
<option value="Asia/Srednekolymsk" name="Srednekolymsk (UTC+11:00)" selected="false"/>
<option value="Asia/Taipei" name="Taipei (UTC+08:00)" selected="false"/>
<option value="Asia/Tashkent" name="Tashkent (UTC+05:00)" selected="false"/>
<option value="Asia/Tbilisi" name="Tbilisi (UTC+04:00)" selected="false"/>
<option value="Asia/Tehran" name="Tehran (UTC+04:30)" selected="false"/>
<option value="Asia/Tel_Aviv" name="Tel Aviv (UTC+03:00)" selected="false"/>
<option value="Asia/Thimbu" name="Thimbu (UTC+06:00)" selected="false"/>
<option value="Asia/Thimphu" name="Thimphu (UTC+06:00)" selected="false"/>
<option value="Asia/Tokyo" name="Tokyo (UTC+09:00)" selected="false"/>
<option value="Asia/Ujung_Pandang" name="Ujung Pandang (UTC+08:00)" selected="false"/>
<option value="Asia/Ulaanbaatar" name="Ulaanbaatar (UTC+08:00)" selected="false"/>
<option value="Asia/Ulan_Bator" name="Ulan Bator (UTC+08:00)" selected="false"/>
<option value="Asia/Urumqi" name="Urumqi (UTC+06:00)" selected="false"/>
<option value="Asia/Ust-Nera" name="Ust-Nera (UTC+10:00)" selected="false"/>
<option value="Asia/Vientiane" name="Vientiane (UTC+07:00)" selected="false"/>
<option value="Asia/Vladivostok" name="Vladivostok (UTC+10:00)" selected="false"/>
<option value="Asia/Yakutsk" name="Yakutsk (UTC+09:00)" selected="false"/>
<option value="Asia/Yekaterinburg" name="Yekaterinburg (UTC+05:00)" selected="false"/>
<option value="Asia/Yerevan" name="Yerevan (UTC+04:00)" selected="false"/>
<option value="Asia/Atyrau" name="timezone.Asia.Atyrau (UTC+05:00)" selected="false"/>
<option value="Asia/Barnaul" name="timezone.Asia.Barnaul (UTC+07:00)" selected="false"/>
<option value="Asia/Famagusta" name="timezone.Asia.Famagusta (UTC+03:00)" selected="false"/>
<option value="Asia/Tomsk" name="timezone.Asia.Tomsk (UTC+07:00)" selected="false"/>
<option value="Asia/Yangon" name="timezone.Asia.Yangon (UTC+06:30)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Atlantic">Atlantic</label>
<option value="Atlantic/Azores" name="Azores (UTC)" selected="false"/>
<option value="Atlantic/Bermuda" name="Bermuda (UTC-03:00)" selected="false"/>
<option value="Atlantic/Canary" name="Canary (UTC+01:00)" selected="false"/>
<option value="Atlantic/Cape_Verde" name="Cape Verde (UTC-01:00)" selected="false"/>
<option value="Atlantic/Faeroe" name="Faroe (UTC+01:00)" selected="false"/>
<option value="Atlantic/Faroe" name="Faroe (UTC+01:00)" selected="false"/>
<option value="Atlantic/Jan_Mayen" name="Jan Mayen (UTC+02:00)" selected="false"/>
<option value="Atlantic/Madeira" name="Madeira (UTC+01:00)" selected="false"/>
<option value="Atlantic/Reykjavik" name="Reykjavik (UTC)" selected="false"/>
<option value="Atlantic/South_Georgia" name="South Georgia (UTC-02:00)" selected="false"/>
<option value="Atlantic/St_Helena" name="St. Helena (UTC)" selected="false"/>
<option value="Atlantic/Stanley" name="Stanley (UTC-03:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Australia">Australia</label>
<option value="Australia/ACT" name="ACT (UTC+10:00)" selected="false"/>
<option value="Australia/Adelaide" name="Adelaide (UTC+09:30)" selected="false"/>
<option value="Australia/Brisbane" name="Brisbane (UTC+10:00)" selected="false"/>
<option value="Australia/Broken_Hill" name="Broken Hill (UTC+09:30)" selected="false"/>
<option value="Australia/Canberra" name="Canberra (UTC+10:00)" selected="false"/>
<option value="Australia/Currie" name="Currie (UTC+10:00)" selected="false"/>
<option value="Australia/Darwin" name="Darwin (UTC+09:30)" selected="false"/>
<option value="Australia/Eucla" name="Eucla (UTC+08:45)" selected="false"/>
<option value="Australia/Hobart" name="Hobart (UTC+10:00)" selected="false"/>
<option value="Australia/LHI" name="LHI (UTC+10:30)" selected="false"/>
<option value="Australia/Lindeman" name="Lindeman (UTC+10:00)" selected="false"/>
<option value="Australia/Lord_Howe" name="Lord Howe (UTC+10:30)" selected="false"/>
<option value="Australia/Melbourne" name="Melbourne (UTC+10:00)" selected="false"/>
<option value="Australia/NSW" name="NSW (UTC+10:00)" selected="false"/>
<option value="Australia/North" name="North (UTC+09:30)" selected="false"/>
<option value="Australia/Perth" name="Perth (UTC+08:00)" selected="false"/>
<option value="Australia/Queensland" name="Queensland (UTC+10:00)" selected="false"/>
<option value="Australia/South" name="South (UTC+09:30)" selected="false"/>
<option value="Australia/Sydney" name="Sydney (UTC+10:00)" selected="false"/>
<option value="Australia/Tasmania" name="Tasmania (UTC+10:00)" selected="false"/>
<option value="Australia/Victoria" name="Victoria (UTC+10:00)" selected="false"/>
<option value="Australia/West" name="West (UTC+08:00)" selected="false"/>
<option value="Australia/Yancowinna" name="Yancowinna (UTC+09:30)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Europe">Europe</label>
<option value="Europe/Amsterdam" name="Amsterdam (UTC+02:00)" selected="false"/>
<option value="Europe/Andorra" name="Andorra (UTC+02:00)" selected="false"/>
<option value="Europe/Athens" name="Athens (UTC+03:00)" selected="false"/>
<option value="Europe/Belfast" name="Belfast (UTC+01:00)" selected="false"/>
<option value="Europe/Belgrade" name="Belgrade (UTC+02:00)" selected="false"/>
<option value="Europe/Berlin" name="Berlin (UTC+02:00)" selected="false"/>
<option value="Europe/Bratislava" name="Bratislava (UTC+02:00)" selected="false"/>
<option value="Europe/Brussels" name="Brussels (UTC+02:00)" selected="false"/>
<option value="Europe/Bucharest" name="Bucharest (UTC+03:00)" selected="false"/>
<option value="Europe/Budapest" name="Budapest (UTC+02:00)" selected="false"/>
<option value="Europe/Busingen" name="Busingen (UTC+02:00)" selected="false"/>
<option value="Europe/Chisinau" name="Chisinau (UTC+03:00)" selected="false"/>
<option value="Europe/Copenhagen" name="Copenhagen (UTC+02:00)" selected="false"/>
<option value="Europe/Dublin" name="Dublin (UTC+01:00)" selected="false"/>
<option value="Europe/Gibraltar" name="Gibraltar (UTC+02:00)" selected="false"/>
<option value="Europe/Guernsey" name="Guernsey (UTC+01:00)" selected="false"/>
<option value="Europe/Helsinki" name="Helsinki (UTC+03:00)" selected="false"/>
<option value="Europe/Isle_of_Man" name="Isle of Man (UTC+01:00)" selected="false"/>
<option value="Europe/Istanbul" name="Istanbul (UTC+03:00)" selected="false"/>
<option value="Europe/Jersey" name="Jersey (UTC+01:00)" selected="false"/>
<option value="Europe/Kaliningrad" name="Kaliningrad (UTC+02:00)" selected="false"/>
<option value="Europe/Kiev" name="Kiev (UTC+03:00)" selected="false"/>
<option value="Europe/Lisbon" name="Lisbon (UTC+01:00)" selected="false"/>
<option value="Europe/Ljubljana" name="Ljubljana (UTC+02:00)" selected="false"/>
<option value="Europe/London" name="London (UTC+01:00)" selected="false"/>
<option value="Europe/Luxembourg" name="Luxembourg (UTC+02:00)" selected="false"/>
<option value="Europe/Madrid" name="Madrid (UTC+02:00)" selected="false"/>
<option value="Europe/Malta" name="Malta (UTC+02:00)" selected="false"/>
<option value="Europe/Mariehamn" name="Mariehamn (UTC+03:00)" selected="false"/>
<option value="Europe/Minsk" name="Minsk (UTC+03:00)" selected="false"/>
<option value="Europe/Monaco" name="Monaco (UTC+02:00)" selected="false"/>
<option value="Europe/Moscow" name="Moscow (UTC+03:00)" selected="false"/>
<option value="Europe/Nicosia" name="Nicosia (UTC+03:00)" selected="false"/>
<option value="Europe/Oslo" name="Oslo (UTC+02:00)" selected="false"/>
<option value="Europe/Paris" name="Paris (UTC+02:00)" selected="false"/>
<option value="Europe/Podgorica" name="Podgorica (UTC+02:00)" selected="false"/>
<option value="Europe/Prague" name="Prague (UTC+02:00)" selected="false"/>
<option value="Europe/Riga" name="Riga (UTC+03:00)" selected="false"/>
<option value="Europe/Rome" name="Rome (UTC+02:00)" selected="false"/>
<option value="Europe/Samara" name="Samara (UTC+04:00)" selected="false"/>
<option value="Europe/San_Marino" name="San Marino (UTC+02:00)" selected="false"/>
<option value="Europe/Sarajevo" name="Sarajevo (UTC+02:00)" selected="false"/>
<option value="Europe/Simferopol" name="Simferopol (UTC+03:00)" selected="false"/>
<option value="Europe/Skopje" name="Skopje (UTC+02:00)" selected="false"/>
<option value="Europe/Sofia" name="Sofia (UTC+03:00)" selected="false"/>
<option value="Europe/Stockholm" name="Stockholm (UTC+02:00)" selected="false"/>
<option value="Europe/Tallinn" name="Tallinn (UTC+03:00)" selected="false"/>
<option value="Europe/Tirane" name="Tirane (UTC+02:00)" selected="false"/>
<option value="Europe/Tiraspol" name="Tiraspol (UTC+03:00)" selected="false"/>
<option value="Europe/Uzhgorod" name="Uzhgorod (UTC+03:00)" selected="false"/>
<option value="Europe/Vaduz" name="Vaduz (UTC+02:00)" selected="false"/>
<option value="Europe/Vatican" name="Vatican (UTC+02:00)" selected="false"/>
<option value="Europe/Vienna" name="Vienna (UTC+02:00)" selected="false"/>
<option value="Europe/Vilnius" name="Vilnius (UTC+03:00)" selected="false"/>
<option value="Europe/Volgograd" name="Volgograd (UTC+03:00)" selected="false"/>
<option value="Europe/Warsaw" name="Warsaw (UTC+02:00)" selected="false"/>
<option value="Europe/Zagreb" name="Zagreb (UTC+02:00)" selected="false"/>
<option value="Europe/Zaporozhye" name="Zaporozhye (UTC+03:00)" selected="false"/>
<option value="Europe/Zurich" name="Zurich (UTC+02:00)" selected="false"/>
<option value="Europe/Astrakhan" name="timezone.Europe.Astrakhan (UTC+04:00)" selected="false"/>
<option value="Europe/Kirov" name="timezone.Europe.Kirov (UTC+03:00)" selected="false"/>
<option value="Europe/Saratov" name="timezone.Europe.Saratov (UTC+04:00)" selected="false"/>
<option value="Europe/Ulyanovsk" name="timezone.Europe.Ulyanovsk (UTC+04:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Indian">Indian</label>
<option value="Indian/Antananarivo" name="Antananarivo (UTC+03:00)" selected="false"/>
<option value="Indian/Chagos" name="Chagos (UTC+06:00)" selected="false"/>
<option value="Indian/Christmas" name="Christmas (UTC+07:00)" selected="false"/>
<option value="Indian/Cocos" name="Cocos (UTC+06:30)" selected="false"/>
<option value="Indian/Comoro" name="Comoro (UTC+03:00)" selected="false"/>
<option value="Indian/Kerguelen" name="Kerguelen (UTC+05:00)" selected="false"/>
<option value="Indian/Mahe" name="Mahe (UTC+04:00)" selected="false"/>
<option value="Indian/Maldives" name="Maldives (UTC+05:00)" selected="false"/>
<option value="Indian/Mauritius" name="Mauritius (UTC+04:00)" selected="false"/>
<option value="Indian/Mayotte" name="Mayotte (UTC+03:00)" selected="false"/>
<option value="Indian/Reunion" name="Réunion (UTC+04:00)" selected="false"/>
</optionGroup>
<optionGroup>
<label id="Pacific">Pacific</label>
<option value="Pacific/Apia" name="Apia (UTC+13:00)" selected="false"/>
<option value="Pacific/Auckland" name="Auckland (UTC+12:00)" selected="false"/>
<option value="Pacific/Bougainville" name="Bougainville (UTC+11:00)" selected="false"/>
<option value="Pacific/Chatham" name="Chatham (UTC+12:45)" selected="false"/>
<option value="Pacific/Chuuk" name="Chuuk (UTC+10:00)" selected="false"/>
<option value="Pacific/Truk" name="Chuuk (UTC+10:00)" selected="false"/>
<option value="Pacific/Easter" name="Easter (UTC-06:00)" selected="false"/>
<option value="Pacific/Efate" name="Efate (UTC+11:00)" selected="false"/>
<option value="Pacific/Enderbury" name="Enderbury (UTC+13:00)" selected="false"/>
<option value="Pacific/Fakaofo" name="Fakaofo (UTC+13:00)" selected="false"/>
<option value="Pacific/Fiji" name="Fiji (UTC+12:00)" selected="false"/>
<option value="Pacific/Funafuti" name="Funafuti (UTC+12:00)" selected="false"/>
<option value="Pacific/Galapagos" name="Galapagos (UTC-06:00)" selected="false"/>
<option value="Pacific/Gambier" name="Gambier (UTC-09:00)" selected="false"/>
<option value="Pacific/Guadalcanal" name="Guadalcanal (UTC+11:00)" selected="false"/>
<option value="Pacific/Guam" name="Guam (UTC+10:00)" selected="false"/>
<option value="Pacific/Honolulu" name="Honolulu (UTC-10:00)" selected="false"/>
<option value="Pacific/Johnston" name="Johnston (UTC-10:00)" selected="false"/>
<option value="Pacific/Kiritimati" name="Kiritimati (UTC+14:00)" selected="false"/>
<option value="Pacific/Kosrae" name="Kosrae (UTC+11:00)" selected="false"/>
<option value="Pacific/Kwajalein" name="Kwajalein (UTC+12:00)" selected="false"/>
<option value="Pacific/Majuro" name="Majuro (UTC+12:00)" selected="false"/>
<option value="Pacific/Marquesas" name="Marquesas (UTC-09:30)" selected="false"/>
<option value="Pacific/Midway" name="Midway (UTC-11:00)" selected="false"/>
<option value="Pacific/Nauru" name="Nauru (UTC+12:00)" selected="false"/>
<option value="Pacific/Niue" name="Niue (UTC-11:00)" selected="false"/>
<option value="Pacific/Norfolk" name="Norfolk (UTC+11:00)" selected="false"/>
<option value="Pacific/Noumea" name="Noumea (UTC+11:00)" selected="false"/>
<option value="Pacific/Pago_Pago" name="Pago Pago (UTC-11:00)" selected="false"/>
<option value="Pacific/Palau" name="Palau (UTC+09:00)" selected="false"/>
<option value="Pacific/Pitcairn" name="Pitcairn (UTC-08:00)" selected="false"/>
<option value="Pacific/Pohnpei" name="Pohnpei (UTC+11:00)" selected="false"/>
<option value="Pacific/Ponape" name="Pohnpei (UTC+11:00)" selected="false"/>
<option value="Pacific/Port_Moresby" name="Port Moresby (UTC+10:00)" selected="false"/>
<option value="Pacific/Rarotonga" name="Rarotonga (UTC-10:00)" selected="false"/>
<option value="Pacific/Saipan" name="Saipan (UTC+10:00)" selected="false"/>
<option value="Pacific/Samoa" name="Samoa (UTC-11:00)" selected="false"/>
<option value="Pacific/Tahiti" name="Tahiti (UTC-10:00)" selected="false"/>
<option value="Pacific/Tarawa" name="Tarawa (UTC+12:00)" selected="false"/>
<option value="Pacific/Tongatapu" name="Tongatapu (UTC+13:00)" selected="false"/>
<option value="Pacific/Wake" name="Wake (UTC+12:00)" selected="false"/>
<option value="Pacific/Wallis" name="Wallis (UTC+12:00)" selected="false"/>
<option value="Pacific/Yap" name="Yap (UTC+10:00)" selected="false"/>
</optionGroup>
</selection>
<result>
<field name="name" type="text">
<value></value>
</field>
<field name="realname" type="text">
<value></value>
</field>
<field name="email" type="text">
<value></value>
</field>
<field name="description" type="longtext">
<value></value>
</field>
<field name="userType" type="list:select">
<value>LOCAL_USER</value>
</field>
<field name="language" type="list:select">
<value></value>
</field>
<field name="timeZone" type="list:select">
<value></value>
</field>
<field name="password" type="password">
<value></value>
</field>
<field name="passwordConfirmation" type="password">
<value></value>
</field>
<field name="groups" type="list:checkbox">
<value></value>
</field>
</result>
</data>
<bean id="subjects">
<option name="action" id="create"/>
</bean>
</action>
, org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '3' but was '1' - comparing <selection...> at /action[1]/data[1]/selection[1] to <selection...> 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 <messages...> at /messages[1] to <messages...> at /messages[1]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<messages xmlns="http://www.appng.org/schema/platform" ref="delete">
<message ref="delete" class="ERROR">User does not exist.</message>
<message ref="delete" class="ERROR">Failed to delete the user.</message>
</messages>
, org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '1' but was '2' - comparing <messages...> at /messages[1] to <messages...> 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 <selection...> at /datasource[1]/data[1]/selectionGroup[1]/selection[5] to <selection...> at /datasource[1]/data[1]/selectionGroup[1]/selection[5]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="users">
<config>
<title id="subjects">Users</title>
<permissions>
<permission ref="subject.list" mode="set"></permission>
</permissions>
<params>
<param name="userId"/>
<param name="groupId"/>
</params>
<meta-data bindClass="org.appng.api.model.Subject" result-selector="${current.id eq userId}">
<field name="name" type="text" binding="name">
<sort/>
<label id="name">Name</label>
</field>
<field name="realname" type="text" binding="realname">
<sort/>
<label id="realname">Real name</label>
</field>
<field name="description" type="text" binding="description">
<label id="description">Description</label>
</field>
<field name="typeName" type="text" binding="typeName">
<label id="userType">Type</label>
</field>
<field name="language" type="text" binding="language">
<label id="language">Language</label>
</field>
<field name="locked" type="image" binding="locked">
<label id="locked">Locked</label>
<icon condition="${current.locked}">led_red</icon>
<icon condition="${not current.locked}">led_green</icon>
</field>
<field name="actions" type="linkpanel" binding="actions">
<label id="actions">Actions</label>
</field>
</meta-data>
<linkpanel id="other" location="both">
<link id="other[1]" mode="intern" target="/users/user/create">
<permissions>
<permission ref="subject.create" mode="set"></permission>
</permissions>
<label id="subject.create">Create user</label>
<icon>new</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="actions[1]" mode="intern" target="/users/user/update/${current.id}" default="true">
<permissions>
<permission ref="subject.edit" mode="set"></permission>
</permissions>
<label id="edit">Edit</label>
<icon>edit</icon>
</link>
<link id="actions[2]" mode="intern" target="/users?form_action=delete&userid=${current.id}">
<permissions>
<permission ref="subject.delete" mode="set"></permission>
</permissions>
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="subject.delete.confirm" params="#{name}">Do you really want to delete the user "#{name}"?</confirmation>
</link>
</linkpanel>
</config>
<data>
<selectionGroup>
<selection id="f_name" type="text">
<title id="name">Name</title>
<option value="" name="" selected="true"/>
</selection>
<selection id="f_rlnme" type="text">
<title id="realname">Real name</title>
<option value="" name="" selected="true"/>
</selection>
<selection id="f_eml" type="text">
<title id="email">E-mail</title>
<option value="" name="" selected="true"/>
</selection>
<selection id="f_type" type="select">
<title id="type">Type</title>
<option/>
<option value="LOCAL_USER" name="Local User" selected="false"/>
<option value="GLOBAL_USER" name="LDAP User" selected="false"/>
<option value="GLOBAL_GROUP" name="LDAP Group" selected="false"/>
</selection>
<selection id="f_gid" type="select">
<title id="group">Group</title>
<option value="" name=""/>
</selection>
<selection id="f_lckd" type="radio">
<title id="locked">Locked</title>
<option value="all" name="All" selected="false"/>
<option value="true" name="Yes" selected="false"/>
<option value="false" name="No" selected="false"/>
</selection>
</selectionGroup>
<resultset chunk="0" chunkname="users" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '4' but was '2' - comparing <selection...> at /datasource[1]/data[1]/selectionGroup[1]/selection[5] to <selection...> 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 <selection...> at /datasource[1]/data[1]/selectionGroup[1]/selection[5] to <selection...> at /datasource[1]/data[1]/selectionGroup[1]/selection[5]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="users">
<config>
<title id="subjects">Users</title>
<permissions>
<permission ref="subject.list" mode="set"></permission>
</permissions>
<params>
<param name="userId"/>
<param name="groupId">1</param>
</params>
<meta-data bindClass="org.appng.api.model.Subject" result-selector="${current.id eq userId}">
<field name="name" type="text" binding="name">
<sort/>
<label id="name">Name</label>
</field>
<field name="realname" type="text" binding="realname">
<sort/>
<label id="realname">Real name</label>
</field>
<field name="description" type="text" binding="description">
<label id="description">Description</label>
</field>
<field name="typeName" type="text" binding="typeName">
<label id="userType">Type</label>
</field>
<field name="language" type="text" binding="language">
<label id="language">Language</label>
</field>
<field name="locked" type="image" binding="locked">
<label id="locked">Locked</label>
<icon condition="${current.locked}">led_red</icon>
<icon condition="${not current.locked}">led_green</icon>
</field>
<field name="actions" type="linkpanel" binding="actions">
<label id="actions">Actions</label>
</field>
</meta-data>
<linkpanel id="other" location="both">
<link id="other[1]" mode="intern" target="/users/user/create">
<permissions>
<permission ref="subject.create" mode="set"></permission>
</permissions>
<label id="subject.create">Create user</label>
<icon>new</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="actions[1]" mode="intern" target="/users/user/update/${current.id}" default="true">
<permissions>
<permission ref="subject.edit" mode="set"></permission>
</permissions>
<label id="edit">Edit</label>
<icon>edit</icon>
</link>
<link id="actions[2]" mode="intern" target="/users?form_action=delete&userid=${current.id}">
<permissions>
<permission ref="subject.delete" mode="set"></permission>
</permissions>
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="subject.delete.confirm" params="#{name}">Do you really want to delete the user "#{name}"?</confirmation>
</link>
</linkpanel>
</config>
<data>
<selectionGroup>
<selection id="f_name" type="text">
<title id="name">Name</title>
<option value="" name="" selected="true"/>
</selection>
<selection id="f_rlnme" type="text">
<title id="realname">Real name</title>
<option value="" name="" selected="true"/>
</selection>
<selection id="f_eml" type="text">
<title id="email">E-mail</title>
<option value="" name="" selected="true"/>
</selection>
<selection id="f_type" type="select">
<title id="type">Type</title>
<option/>
<option value="LOCAL_USER" name="Local User" selected="false"/>
<option value="GLOBAL_USER" name="LDAP User" selected="false"/>
<option value="GLOBAL_GROUP" name="LDAP Group" selected="false"/>
</selection>
<selection id="f_gid" type="select">
<title id="group">Group</title>
<option value="" name=""/>
</selection>
<selection id="f_lckd" type="radio">
<title id="locked">Locked</title>
<option value="all" name="All" selected="false"/>
<option value="true" name="Yes" selected="false"/>
<option value="false" name="No" selected="false"/>
</selection>
</selectionGroup>
<resultset chunk="0" chunkname="users" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '4' but was '2' - comparing <selection...> at /datasource[1]/data[1]/selectionGroup[1]/selection[5] to <selection...> 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] 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] 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: 2...
[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: 38, Skipped: 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:08 min
[INFO] Finished at: 2021-06-08T15:47:36+02:00
[INFO] Final Memory: 60M/861M
[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