Event Configuration tool doesn't load event data

Document ID : KB000072545
Last Modified Date : 02/05/2018
Show Technical Document Details
Issue:
When I launch Event Configuration tool, it showed the Event list loading dialog but then suddenly it stopped and Event Configuration tool doesn't load any event data, the UI show blank (empty) event data. This symptoms happen on multiple client machines.

If I go to Windows Control Panel, open Java Control Panel and select to launch Java Console in Advance tab and launch OneClick Console and then Event Configuration tool to reproduce the problem, Java Console shows the following Java exception.

Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
 at com.aprisma.spectrum.app.ec.client.data.ECClientEventMapping.(ECClientEventMapping.java:45)
 at com.aprisma.spectrum.app.ec.client.ui.ECNavigationPanel.loadEventList(ECNavigationPanel.java:558)
 at com.aprisma.spectrum.app.ec.client.ui.ECMainView$2$1.run(ECMainView.java:1098)
 at java.awt.event.InvocationEvent.dispatch(Unknown Source)
 at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
 at java.awt.EventQueue.access$500(Unknown Source)
 at java.awt.EventQueue$3.run(Unknown Source)
 at java.awt.EventQueue$3.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
 at java.awt.WaitDispatchSupport$2.run(Unknown Source)
 at java.awt.WaitDispatchSupport$4.run(Unknown Source)
 at java.awt.WaitDispatchSupport$4.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.awt.WaitDispatchSupport.enter(Unknown Source)
 at java.awt.Dialog.show(Unknown Source)
 at java.awt.Component.show(Unknown Source)
 at java.awt.Component.setVisible(Unknown Source)
 at java.awt.Window.setVisible(Unknown Source)
 at java.awt.Dialog.setVisible(Unknown Source)
 at com.aprisma.spectrum.app.swing.window.ProgressDialog.showInt(ProgressDialog.java:159)
 at com.aprisma.spectrum.app.swing.window.ProgressDialog.show(ProgressDialog.java:178)
 at com.aprisma.spectrum.app.ec.client.ui.ECMainView.retrieveEvents(ECMainView.java:957)
 at com.aprisma.spectrum.app.ec.client.ui.ECMainView.loadEvents(ECMainView.java:807)
 at com.aprisma.spectrum.app.ec.client.ui.ECMainView.loadAllEvents(ECMainView.java:770)
 at com.aprisma.spectrum.app.ec.client.ui.ECMainView.loadData(ECMainView.java:761)
 at com.aprisma.spectrum.app.ec.client.action.ECMainAction.actionPerformed(ECMainAction.java:191)
 at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
 at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
 at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
 at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
 at javax.swing.AbstractButton.doClick(Unknown Source)
 at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
 at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
 at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
 at java.awt.Component.processMouseEvent(Unknown Source)
 at javax.swing.JComponent.processMouseEvent(Unknown Source)
 at java.awt.Component.processEvent(Unknown Source)
 at java.awt.Container.processEvent(Unknown Source)
 at java.awt.Component.dispatchEventImpl(Unknown Source)
 at java.awt.Container.dispatchEventImpl(Unknown Source)
 at java.awt.Component.dispatchEvent(Unknown Source)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
 at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
 at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
 at java.awt.Container.dispatchEventImpl(Unknown Source)
 at java.awt.Window.dispatchEventImpl(Unknown Source)
 at java.awt.Component.dispatchEvent(Unknown Source)
 at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
 at java.awt.EventQueue.access$500(Unknown Source)
 at java.awt.EventQueue$3.run(Unknown Source)
 at java.awt.EventQueue$3.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
 at java.awt.EventQueue$4.run(Unknown Source)
 at java.awt.EventQueue$4.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)
Environment:
Spectrum 10.2.3 on all platforms
Cause:
There is incorrect event code in the filename of Event Format file in $SPECROOT/custom/Events/CsEvFormat directory on OneClick Server machine. Event Format files have the following filename convention
   Event<event_code>_<locale info in language_region format>
where <event_code> is the 4-byte, hexadecimal event code assigned to the event. For example, an event with an event code of 0x12345678 has an event format file named Event12345678_en_US. If number of digit in <event_code> is wrong then this problem occurred.
Resolution:
Remove those incorrect Event Format files and relaunch Event Configuration tool. You may also want to restart OneClick Server during maintenance window to reflect the modification in Event Format files correctly.

If you have the same Event Format files within your SpectroSERVER machine, please do the same and restart Alarm Notifier.

Fixed with 10.02.03.PTF_10.2.318

Symptom: Event Configuration Editor(ECE) display blank and Java Console log show java.lang.NullPointerException. 
Resolution: Event Configuration Editor(ECE) will skip the incorrect custom event files if any and load the 
events smoothly. 
(DE349550, 00975480 ) 

If you would like a copy of the patch please open a ticket with Spectrum Support and it will be provided. When opening the case please let us know which Operating System(s) you would like the patch for.
Additional Information:
https://docops.ca.com/ca-spectrum/10-2-3/en/managing-network/event-configuration/event-format-files