[SNMP4J] ConcurrentModificationException / Bug
Frank Fock
fock at agentpp.com
Tue Oct 31 00:14:44 CET 2006
Hello Stefan,
May be upgrading to the latest version can fix this problem.
Best regards,
Frank
Stefan wrote:
> Hello all,
>
> I have a slight issue that I'm wondering if I can get some help with. I have
> a manger setup where it's sending async requests at a very fast speed (used
> as a benchmark system). However, often when I close the SNMP session I get
> an error:
>
> Exception in thread "AWT-EventQueue-0"
> java.util.ConcurrentModificationException
> at java.util.Hashtable$Enumerator.next(Hashtable.java:1020)
> at org.snmp4j.Snmp.close(Snmp.java:433)
> ... my code trace ...
>
>
> This only occurs when I'm sending async requests with significant frequency.
> The main problem may be because of the agent not responding in a timely
> fasion and I have a significant number of pending requests (the error occurs
> when iterating through the PendingRequests).
>
> So, my question is: Does anyone have any suggestions for a workaround? Could
> this be fixed in SNMP4J?
>
> Any advice would be helpful.
>
> Thanks,
> Stefan
>
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the SNMP4J
mailing list