Java exception to update PSK´s hash table
Server OS: Linux RedHat Enterprise 6
Open NMS version: 1.12.6
We have implemented a passive monitoring system where several tools send events via XMLs using socket 5817.
The XML contains the required fields to present the event in the OpenNMS Web console.
All events that have an UEI (the UEI make the event as unique) and correspond with the specific conditions, it generates an event. This event corresponding with the passive monitoring:
The steps to generate the event would be the following:
A new event is created.
Is checked against the various definitions of UEIs.
The parameters are verified to check that are correct.
The event has been cloned and new one is defined with the correct parameters to update the PSK Hash table.
My problem is that when the event would be cloned, in order to update the PSK´s hash table it generates a Java exception, so it doesn't finish creating the event and the passive monitoring doesn't work
The Java exception that shows is:
The Java exception is this:
2014-08-27 04:19:36,466 ERROR [OpenNMS.EventTranslator-Thread] EventUtil: Exception cloning event
I've tested with constant events without parameter. The JDK version that is specifically recommended by OpenNMS is installed, but still fails.
Any idea how to fix this problem?