Regression
org.appng.core.controller.PlatformConfigTest.testStartAndStop
Failing for the past 1 build
(Since Failed )
Error Message
Error creating bean with name 'restPostProcessor.RestAction' defined in BeanDefinition defined in file [/var/lib/jenkins/workspace/appNG_1.23.x/appng-core/target/classes/org/appng/core/controller/rest/RestPostProcessor$RestAction.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class org.appng.core.controller.rest.RestPostProcessor$RestAction: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
Stacktrace
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'restPostProcessor.RestAction' defined in BeanDefinition defined in file [/var/lib/jenkins/workspace/appNG_1.23.x/appng-core/target/classes/org/appng/core/controller/rest/RestPostProcessor$RestAction.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class org.appng.core.controller.rest.RestPostProcessor$RestAction: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null at org.appng.core.controller.PlatformConfigTest.testStartAndStop(PlatformConfigTest.java:43) Caused by: org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class org.appng.core.controller.rest.RestPostProcessor$RestAction: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null at org.appng.core.controller.PlatformConfigTest.testStartAndStop(PlatformConfigTest.java:43) Caused by: org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null at org.appng.core.controller.PlatformConfigTest.testStartAndStop(PlatformConfigTest.java:43) Caused by: java.lang.reflect.InvocationTargetException at org.appng.core.controller.PlatformConfigTest.testStartAndStop(PlatformConfigTest.java:43) Caused by: java.lang.IllegalAccessError: class org.appng.core.controller.rest.RestPostProcessor$RestAction$$EnhancerBySpringCGLIB$$b67d6e69_14 cannot access its superclass org.appng.core.controller.rest.RestPostProcessor$RestAction at org.appng.core.controller.PlatformConfigTest.testStartAndStop(PlatformConfigTest.java:43)
Standard Output
2021-08-30 12:17:35,514 INFO [main] org.springframework.context.annotation.AnnotationConfigApplicationContext: Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@591ca120: startup date [Mon Aug 30 12:17:35 CEST 2021]; root of context hierarchy 2021-08-30 12:17:35,777 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'platformEventListener' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=platformEventListener; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/service/PlatformTestConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=platformEventListener; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.controller.PlatformConfig] 2021-08-30 12:17:35,777 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'dataSource' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/service/PlatformTestConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.controller.PlatformConfig] 2021-08-30 12:17:35,777 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'entityManagerFactory' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=entityManagerFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/service/PlatformTestConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=entityManagerFactory; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.controller.PlatformConfig] 2021-08-30 12:17:35,778 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'coreTxManager' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=coreTxManager; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/service/PlatformTestConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=coreTxManager; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.controller.PlatformConfig] 2021-08-30 12:17:35,778 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'entityManager' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=entityManager; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/service/PlatformTestConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=entityManager; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.controller.PlatformConfig] 2021-08-30 12:17:35,778 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'documentBuilderFactory' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=documentBuilderFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/service/PlatformTestConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=documentBuilderFactory; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.controller.PlatformConfig] 2021-08-30 12:17:35,778 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'transformerFactory' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=transformerFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/service/PlatformTestConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=transformerFactory; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.controller.PlatformConfig] 2021-08-30 12:17:35,779 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'styleSheetProvider' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=styleSheetProvider; initMethodName=init; destroyMethodName=(inferred); defined in class path resource [org/appng/core/service/PlatformTestConfig.class]] with [Root bean: class [null]; scope=request; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=styleSheetProvider; initMethodName=init; destroyMethodName=(inferred); defined in org.appng.core.controller.PlatformConfig] 2021-08-30 12:17:35,779 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'marshallService' with a different definition: replacing [Root bean: class [null]; scope=prototype; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=marshallService; initMethodName=init; destroyMethodName=(inferred); defined in class path resource [org/appng/core/service/PlatformTestConfig.class]] with [Root bean: class [null]; scope=prototype; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=marshallService; initMethodName=init; destroyMethodName=(inferred); defined in org.appng.core.controller.PlatformConfig] 2021-08-30 12:17:35,779 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'coreService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=coreService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/service/PlatformTestConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=coreService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.controller.PlatformConfig] 2021-08-30 12:17:35,779 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'databaseService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=databaseService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/service/PlatformTestConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=databaseService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.controller.PlatformConfig] 2021-08-30 12:17:35,779 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'templateService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=templateService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/service/PlatformTestConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=templateService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.controller.PlatformConfig] 2021-08-30 12:17:35,780 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'initializerService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=initializerService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/service/PlatformTestConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=initializerService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.controller.PlatformConfig] 2021-08-30 12:17:35,780 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'ldapService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=ldapService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/service/PlatformTestConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=ldapService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.controller.PlatformConfig] 2021-08-30 12:17:35,780 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'thymeleafProcessor' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=thymeleafProcessor; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/service/PlatformTestConfig.class]] with [Root bean: class [null]; scope=request; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=thymeleafProcessor; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.controller.PlatformConfig] 2021-08-30 12:17:35,780 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'platformTransformer' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=platformTransformer; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/service/PlatformTestConfig.class]] with [Root bean: class [null]; scope=request; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=platformTransformer; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.controller.PlatformConfig] 2021-08-30 12:17:35,780 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'requestProcessor' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=requestProcessor; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/service/PlatformTestConfig.class]] with [Root bean: class [null]; scope=request; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=requestProcessor; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.controller.PlatformConfig] 2021-08-30 12:17:35,838 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2021-08-30 12:17:35,865 INFO [main] org.appng.core.repository.config.HikariCPConfigurer: connection jdbc:hsqldb:mem://appng uses datasource org.hsqldb.jdbc.JDBCDataSource 2021-08-30 12:17:35,874 INFO [main] com.zaxxer.hikari.HikariDataSource: appNG ROOT connection - Starting... 2021-08-30 12:17:35,922 INFO [main] com.zaxxer.hikari.pool.PoolBase: appNG ROOT connection - Driver does not support get/set network timeout for connections. (feature not supported) 2021-08-30 12:17:35,932 INFO [main] com.zaxxer.hikari.HikariDataSource: appNG ROOT connection - Start completed. 2021-08-30 12:17:35,970 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'appNG' 2021-08-30 12:17:35,970 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: appNG] 2021-08-30 12:17:36,056 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.appng.persistence.dialect.HSQLDialect 2021-08-30 12:17:36,086 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2021-08-30 12:17:36,443 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2021-08-30 12:17:36,444 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'appNG' 2021-08-30 12:17:36,466 WARN [main] org.springframework.context.annotation.AnnotationConfigApplicationContext: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'restPostProcessor.RestAction' defined in BeanDefinition defined in file [/var/lib/jenkins/workspace/appNG_1.23.x/appng-core/target/classes/org/appng/core/controller/rest/RestPostProcessor$RestAction.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class org.appng.core.controller.rest.RestPostProcessor$RestAction: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null 2021-08-30 12:17:36,466 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'appNG' 2021-08-30 12:17:36,467 INFO [main] com.zaxxer.hikari.HikariDataSource: appNG ROOT connection - Shutdown initiated... 2021-08-30 12:17:36,486 INFO [main] com.zaxxer.hikari.HikariDataSource: appNG ROOT connection - Shutdown completed.
Standard Error
Aug 30, 2021 12:17:35 PM java.util.prefs.FileSystemPreferences$6 run WARNING: Prefs file removed in background /var/lib/jenkins/.java/.userPrefs/prefs.xml Aug 30, 2021 12:17:35 PM java.util.prefs.FileSystemPreferences$6 run WARNING: Prefs file removed in background /etc/.java/.systemPrefs/prefs.xml