You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "huang (JIRA)" <ji...@apache.org> on 2015/09/29 12:01:04 UTC

[jira] [Created] (AMBARI-13267) How to solve this ERROR that occurred during SNMPv3 trap dispatching?

huang created AMBARI-13267:
------------------------------

             Summary: How to solve this ERROR  that occurred during SNMPv3 trap dispatching?
                 Key: AMBARI-13267
                 URL: https://issues.apache.org/jira/browse/AMBARI-13267
             Project: Ambari
          Issue Type: Test
          Components: alerts
    Affects Versions: 2.0.0
         Environment: cenOS6.5
            Reporter: huang


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?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)