ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Analytcis backend does not start. ERROR 3872.

book

Article ID: 200333

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

The analytics backend does not start.

2020-09-22 08:28:39.619 ERROR 3872 --- [main] o.s.boot.SpringApplication               : Application run failed

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ahSqlAdapter' defined in URL [jar:file:/C:/AWAD/Analytics/backend/analytics-backend.jar!/BOOT-INF/classes!/com/automic/analytics/backend/data/ae/collector/AhSqlAdapter.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ds_ae' defined in class path resource [com/automic/analytics/backend/config/datasource/DataSourceConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.automic.analytics.backend.data.common.CollectorDataSource]: Factory method 'aeDataSource' threw exception; nested exception is java.lang.RuntimeException: java.lang.IllegalArgumentException: Null input buffer
	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:733)
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:198)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1266)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1123)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:535)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:759)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:548)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:386)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
	at com.automic.analytics.backend.BackendServer.run(BackendServer.java:29)
	at com.automic.analytics.backend.BackendRunner.run(BackendRunner.java:19)
	at com.automic.analytics.backend.Agent.startBackend(Agent.java:132)
	at com.automic.analytics.backend.Agent.beforeExecutorStarts(Agent.java:106)
	at com.uc4.ex.ExecutorLifecycle.startExecutor(ExecutorLifecycle.java:384)
	at com.uc4.ex.ExecutorLifecycle.execute(ExecutorLifecycle.java:103)
	at com.automic.analytics.backend.Agent.main(Agent.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
	at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:593)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ds_ae' defined in class path resource [com/automic/analytics/backend/config/datasource/DataSourceConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.automic.analytics.backend.data.common.CollectorDataSource]: Factory method 'aeDataSource' threw exception; nested exception is java.lang.RuntimeException: java.lang.IllegalArgumentException: Null input buffer
	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:591)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1246)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1096)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:535)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
	at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1135)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062)
	at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:819)
	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:725)
	... 31 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.automic.analytics.backend.data.common.CollectorDataSource]: Factory method 'aeDataSource' threw exception; nested exception is java.lang.RuntimeException: java.lang.IllegalArgumentException: Null input buffer
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:583)
	... 44 common frames omitted
Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Null input buffer
	at com.uc4.util.Maxim.deMaxim(Maxim.java:74)
	at com.uc4.util.Maxim.deMaxim(Maxim.java:28)
	at com.automic.analytics.backend.config.datasource.BackendDataSourceProperties$ExtendedDataSourceProperties.getPlainPassword(BackendDataSourceProperties.java:101)
	at com.automic.analytics.backend.config.datasource.DataSourceConfiguration.buildDataSource(DataSourceConfiguration.java:77)
	at com.automic.analytics.backend.config.datasource.DataSourceConfiguration.buildCollectorDataSource(DataSourceConfiguration.java:69)
	at com.automic.analytics.backend.config.datasource.DataSourceConfiguration.aeDataSource(DataSourceConfiguration.java:51)
	at com.automic.analytics.backend.config.datasource.DataSourceConfiguration$$EnhancerBySpringCGLIB$$f4cd25e2.CGLIB$aeDataSource$1(<generated>)
	at com.automic.analytics.backend.config.datasource.DataSourceConfiguration$$EnhancerBySpringCGLIB$$f4cd25e2$$FastClassBySpringCGLIB$$a3a56de9.invoke(<generated>)
	at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
	at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:365)
	at com.automic.analytics.backend.config.datasource.DataSourceConfiguration$$EnhancerBySpringCGLIB$$f4cd25e2.aeDataSource(<generated>)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
	... 45 common frames omitted
Caused by: java.lang.IllegalArgumentException: Null input buffer
	at javax.crypto.Cipher.doFinal(Cipher.java:2160)
	at com.uc4.util.Maxim.deMaxim(Maxim.java:57)
	... 60 common frames omitted

Cause

Configuraiton.

Environment

Release : 12.3

Component : ANALYTICS ON PREMISE

Resolution

The datasource.ae.password= was defined as (file application.properties): 

datasource.ae.password=--Encrypted_password;Mars_Connection=Yes

Once ;Mars_Connection=Yes was removed the application started as expected.