[SNMP4J] SNMP Response Null

Frank Fock fock at agentpp.com
Fri May 7 00:36:32 CEST 2010


Hi,

Please upgrade to the latest version. Version 1.1 is
very old ;-)

Best regards,
Frank

On 06.05.2010 12:05, Savio Domnic wrote:
>   	
> Hi there,
> I am using SNMP4jv1.1.0. I am trying to use the PDU.GET and if I have a
> main method in the same class, I get a valid response. But when I use a
> class without the main method I get this error,
>
> java.lang.NullPointerException
> at com.SNMPWidget.onResponse(SNMPWidget.java:529)
> at org.snmp4j.Snmp$PendingRequest.run(Snmp.java:1633)
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
>
> I tried to increase the timeout, but the error persists. can someone
> give me an idea what I should observe please ?
> thanks
> Domnic
>
> 	
>
>

-- 
AGENT++
http://www.agentpp.com
http://www.snmp4j.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list