[SNMP4J] v3 NPE

Zhan Yi zhanyi at vanlink.com.cn
Mon Jun 7 12:24:12 CEST 2004


Hi,

I got NPE occasionally using snmp v3 and running multiple concurrent threads.
Can you give some hint on how to understand and solve this problem? Using v1 there is no problem.

java.lang.NullPointerException
        at org.snmp4j.MessageDispatcherImpl.sendPdu(MessageDispatcherImpl.java:330)
        at org.snmp4j.Snmp.send(Snmp.java:285)
        at org.snmp4j.Snmp$PendingRequest.run(Snmp.java:661)
        at java.util.TimerThread.mainLoop(Timer.java:432)
        at java.util.TimerThread.run(Timer.java:382)

Thank you!


Best Regards
Zhan Yi


More information about the SNMP4J mailing list