Details
-
Test
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.0.0
-
None
-
None
-
cenOS6.5
Description
When Ambari dispatched the SNMPv3 trap, error happened. In the logs, it shows :
ERROR [alert-dispatch-14] SNMPDispatcher:126 - Error occurred during SNMP trap dispatching.
java.lang.NullPointerException
at org.snmp4j.security.AuthGeneric.passwordToKey(AuthGeneric.java:205)
at org.snmp4j.security.SecurityProtocols.passwordToKey(SecurityProtocols.java:269)
at org.snmp4j.security.USM.getUser(USM.java:261)
at org.snmp4j.security.USM.generateResponseMessage(USM.java:355)
at org.snmp4j.security.USM.generateRequestMessage(USM.java:215)
at org.snmp4j.mp.MPv3.prepareOutgoingMessage(MPv3.java:767)
at org.snmp4j.MessageDispatcherImpl.sendPdu(MessageDispatcherImpl.java:437)
at org.snmp4j.Snmp.sendMessage(Snmp.java:1051)
at org.snmp4j.Snmp.send(Snmp.java:875)
at org.snmp4j.Snmp.send(Snmp.java:868)
at org.snmp4j.Snmp.send(Snmp.java:833)
at org.apache.ambari.server.notifications.dispatchers.SNMPDispatcher.sendTraps(SNMPDispatcher.java:203)
at org.apache.ambari.server.notifications.dispatchers.SNMPDispatcher.dispatch(SNMPDispatcher.java:120)
at org.apache.ambari.server.notifications.DispatchRunnable.run(DispatchRunnable.java:58)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
I don't know why it happens and how to solve the problem?