I attempted to use the new jars you suggested in my last letter.  No luck - 
same error at a different line number.  Thank you for your assistance.



        java.lang.NullPointerException

        at org.snmp4j.smi.OctetString.<init>(OctetString.java:56)

        at 
org.snmp4j.agent.mo.snmp.NotificationOriginatorImpl.notify(NotificationOriginatorImpl.java:335)

        at 
org.snmp4j.agent.mo.snmp.NotificationOriginatorImpl.notify(NotificationOriginatorImpl.java:136)

        at 
org.snmp4j.agent.AgentConfigManager.fireLaunchNotifications(AgentConfigManager.java:373)

        at 
org.snmp4j.agent.AgentConfigManager.launch(AgentConfigManager.java:365)

        at org.snmp4j.agent.AgentConfigManager.run(AgentConfigManager.java:242)

        ...



The code at NotificationOriginatorImpl.java:335 does new 
OctetString(targetMIB.getLocalEngineID()).

The call to getLocalEngineID() returns null because we have no MPv3 registered 
in the MessageDispatcher.

The OctetString constructor throws the NullPointerException because it rejects 
the null in the argument.


Dick Beck
_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j

Reply via email to