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.

AIOps - Installation fails with "java.lang.IllegalArgumentException: Invalid default value"

book

Article ID: 229417

calendar_today

Updated On:

Products

DX Operational Intelligence DX Application Performance Management CA App Experience Analytics

Issue/Introduction

DX Platform installation is failing as below after entering the NFS Folder:

...

Enter your choice: 2
Specify the Name of NFS Server IP/Host [abcd-dxoi-master-1.abcdef.com]: abcd-dxoi-master-1.abcdef.com
Specify the NFS Folder [/nfs/ca/dxi]: /nfs/ca/dxi
For the medium installation fill in the next values for multiple NFS mounts.

Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'consoleEntryPoint': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Invalid default value: .
[Expected a string with at least 1 character.]
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:415)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1786)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:897)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)
        at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
        at com.ca.dxi.DownloaderApplication.main(DownloaderApplication.java:34)
        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.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:51)
        at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52)
Caused by: java.lang.IllegalArgumentException: Invalid default value: .
[Expected a string with at least 1 character.]
        at org.beryx.textio.InputReader.checkConfiguration(InputReader.java:540)
        at org.beryx.textio.StringInputReader.checkConfiguration(StringInputReader.java:71)
        at org.beryx.textio.InputReader.read(InputReader.java:379)
        at org.beryx.textio.InputReader.read(InputReader.java:368)
        at com.ca.dxi.console.collector.prompt.MultipleNfsMountsHostPrompt.showPrompts(MultipleNfsMountsHostPrompt.java:54)
        at com.ca.dxi.console.collector.prompt.MultipleNfsMountsHostPrompt.prompt(MultipleNfsMountsHostPrompt.java:37)
        at com.ca.dxi.console.collector.ValidatedPrompt.execute(ValidatedPrompt.java:184)
        at com.ca.dxi.console.collector.ValidatedPromptManager.setIndexes(ValidatedPromptManager.java:625)
        at com.ca.dxi.console.collector.ValidatedPromptManager.executePrompts(ValidatedPromptManager.java:612)
        at com.ca.dxi.console.collector.DxiDataCollector.process(DxiDataCollector.java:92)
        at com.ca.dxi.console.collector.DataCollector.run(DataCollector.java:46)
        at com.ca.dxi.console.ConsoleEntryPoint.run(ConsoleEntryPoint.java:42)
        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.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389)
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333)
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157)
        ... 23 more


 

Cause

Defect : DE524246: Failures caused by cached values in MultipleNfs prompt

The issue is that NFS hosts/folders in dxi.inputs.vars.yaml for es/kafka/etc. (not used in small installations) are set to empty strings. 

We are planning to fix this defect in next on-premise release

Environment

DX Platform Installer 21.3.1

Openshift

Resolution

Current Workaround:

Remove dxi.input.vars.yml and dxi.resume.yml  and restart installation.

Additional Information

https://knowledge.broadcom.com/external/article/190815/dx-aiops-troubleshooting-common-issues-a.html