I performed a fresh installation with debian squeeze 32Bit and 64Bit and even with Ubunto 64Bit tried an example event with autoaction in eventconfiguration.
The Event processing is working fine, but there is no script execution.
Here the Actiond - logfile:
2013-01-15 13:49:12,907 INFO [Actiond:BroadcastEventProcessor] EventIpcManagerDefaultImpl: run: calling onEvent on Actiond:BroadcastEventProcessor for event uei.opennms.org/NCM/ATS dbid 25 with time Tuesday, 15 January 2013 12:49:12 o'clock GMT 2013-01-15 13:49:12,907 WARN [Actiond:BroadcastEventProcessor] EventIpcManagerDefaultImpl: run: an unexpected error occured during ListenerThread Actiond:BroadcastEventProcessor run: java.lang.NullPointerException java.lang.NullPointerException at org.opennms.netmgt.actiond.BroadcastEventProcessor.onEvent(BroadcastEventProcessor.java:97) at org.opennms.netmgt.eventd.EventIpcManagerDefaultImpl$ListenerThread.run(EventIpcManagerDefaultImpl.java:175) at java.lang.Thread.run(Thread.java:662)
Environment
Debian or Ubuntu
Acceptance / Success Criteria
None
Lucidchart Diagrams
Activity
Show:
Seth Leger February 27, 2013 at 12:06 PM
I fixed this problem by reversing a string constant equals comparison. As a workaround for older versions, please make sure that all <auto-action> tags in your eventconf have state="on" or state="off" XML attributes. If the "state" attribute is missing, this problem will occur. Marking as fixed.
issue with the autoaction.
I performed a fresh installation with debian squeeze 32Bit and 64Bit and even with Ubunto 64Bit tried an example event with autoaction in eventconfiguration.
The Event processing is working fine, but there is no script execution.
Here the Actiond - logfile:
2013-01-15 13:49:12,907 INFO [Actiond:BroadcastEventProcessor] EventIpcManagerDefaultImpl: run: calling onEvent on Actiond:BroadcastEventProcessor for event uei.opennms.org/NCM/ATS dbid 25 with time Tuesday, 15 January 2013 12:49:12 o'clock GMT
2013-01-15 13:49:12,907 WARN [Actiond:BroadcastEventProcessor] EventIpcManagerDefaultImpl: run: an unexpected error occured during ListenerThread Actiond:BroadcastEventProcessor run: java.lang.NullPointerException
java.lang.NullPointerException
at org.opennms.netmgt.actiond.BroadcastEventProcessor.onEvent(BroadcastEventProcessor.java:97)
at org.opennms.netmgt.eventd.EventIpcManagerDefaultImpl$ListenerThread.run(EventIpcManagerDefaultImpl.java:175)
at java.lang.Thread.run(Thread.java:662)