After NetOps Portal install completes with Event Manager not added as a data source
search cancel

After NetOps Portal install completes with Event Manager not added as a data source

book

Article ID: 186928

calendar_today

Updated On:

Products

CA Infrastructure Management CA Performance Management Network Observability

Issue/Introduction

If notice that your NetOps Portal install completed with errors and find that the NetOps Portal page loads but that Event Manager is not added as a data source wit the below error in the DX_NetOps_Portal_Install_xx_xx_xxxx_xx_xx_xx.log:

Detecting Datasource: EVENT_MANAGER

Custom Action:            com.ca.im.installanywhere.action.CreateDataSource
                                    Status: ERROR
                                    Additional Notes: ERROR -     class com.ca.im.installanywhere.action.CreateDataSource.install() runtime exception:

By searching for the action that failed, com.ca.im.installanywhere.action.CreateDataSource, you should be able to find the stack trace showing:

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)

In this case, the error was due to the installer being unable to obtain the system's IP Address from Java and returned a java.lang.IndexOutOfBoundsException message instead.

Environment

NetOps Portal all versions

Resolution

As long as this is the ONLY error seen in the installation, access the Performance Center GUI and manually add an Event Manager Data Source utilizing the IP address or DNS name of the NetOps Portal server. It should add without issue.