class com.ca.im.installanywhere.action.CreateDataSource.install() runtime exception: when installing CAPC

Document ID : KB000112652
Last Modified Date : 06/09/2018
Show Technical Document Details
Issue:
Doing a clean install of PC Installing 3.6.1 on rhel 74 The install ended with 1 NonFatalError. We can see that after the install, the EventManager data source is not registered in CAPC. The error from the logs is:
Execute Custom Code class com.ca.im.installanywhere.action.CreateDataSource.install() runtime exception: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:657) at java.util.ArrayList.get(ArrayList.java:433) at com.ca.im.installanywhere.action.CreateDataSource.createEMDataSource(CreateDataSource.java:149) at com.ca.im.installanywhere.action.CreateDataSource.install(CreateDataSource.java:81) at com.zerog.ia.installer.actions.CustomAction.installSelf(Unknown Source) at com.zerog.ia.installer.InstallablePiece.install(Unknown Source) at com.zerog.ia.installer.InstallablePiece.install(Unknown Source) at com.zerog.ia.installer.GhostDirectory.install(Unknown Source) at com.zerog.ia.installer.InstallablePiece.install(Unknown Source) at com.zerog.ia.installer.Installer.install(Unknown Source) at com.zerog.ia.installer.LifeCycleManager.consoleInstallMain(Unknown Source) at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source) at com.zerog.ia.installer.Main.main(Unknown Source) 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 com.zerog.lax.LAX.launch(Unknown Source) at com.zerog.lax.LAX.main(Unknown Source) Passed services
Resolution:
Brought all the CAPC services up and added the event manager data source manually.