A security breach required a customer to change the password of ITPAM and that required a password change on the DX NetOps Spectrum AlarmNotifier/ITPAM Remedy integration. The following error was seen running the ConfigSpectrumITPAM.sh script to change the password:
Exception in thread "main" java.lang.NullPointerException
at com.ca.itpam.configspectrum.ConfigSpectrumITPAM.createConfigEntryFields(ConfigSpectrumITPAM.java:237)
at com.ca.itpam.configspectrum.ConfigSpectrumITPAM.makePane(ConfigSpectrumITPAM.java:166)
at com.ca.itpam.configspectrum.ConfigSpectrumITPAM.createAndShowGUI(ConfigSpectrumITPAM.java:129)
at com.ca.itpam.configspectrum.ConfigSpectrumITPAM.main(ConfigSpectrumITPAM.java:102)
[[email protected] ITPAM]$ export SPECROOT=/opt/CA/Spectrum
I believe the issue is that ConfigSpectrumITPAM.sh script does not set the $SPECROOT variable so the ConfigSpectrumITPAM utility fails to launch.
Release : 10.4
Component : Spectrum Core / SpectroSERVER
Component: ITPAM
Running the following commands from the command line resolved the issue:
export SPECROOT=/opt/CA/Spectrum
/opt/CA/Spectrum/Java/bin/java -cp ConfigITPAM.jar com.ca.itpam.configspectrum.