[SNMP4J] ConcurrentModificationException / Bug

Pete Haidinyak javamann at cox.net
Tue Oct 31 01:49:05 CET 2006


I just joined this list today but I would guess it's the same frickin way  
you got on this list.

http://lists.agentpp.org/mailman/listinfo/snmp4j


On Mon, 30 Oct 2006 16:34:09 -0800, Ken Cannon <kenster at columbus.rr.com>  
wrote:

> Frank Fock wrote:
>> 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
>>
> How do I get off this frickin' list?  Man...
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j





More information about the SNMP4J mailing list