commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32573] - [collections] NPE: map.LRUMap.reuseMapping(LRUMap.java:272)
Date Sat, 19 Mar 2005 19:13:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32573>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32573





------- Additional Comments From endo@sb.net  2005-03-19 20:13 -------
Hello I am reporting a similar problem which makes LRUMap useless.  I am using 
LRUMap as a synchronizedMap.  I can confirm that this problem only occurs when 
the LRUMap becomes full, but not right away.  The problem may or may not arise 
(there is no pattern).  I am using LRUMap in a web environment to cache some 
stuff - the cache size is 40000.  Once the problem starts the problem 
continues with each next put.

java.lang.NullPointerException 
org/apache/commons/collections/map/LRUMap.addMapping
(IILjava/lang/Object;Ljava/lang/Object;)V+0 (LRUMap.java:227) 
org/apache/commons/collections/map/AbstractHashedMap.put
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+0 
(AbstractHashedMap.java:269) 
java/util/Collections$SynchronizedMap.put(Ljava/lang/Object;Ljava/lang/Object;)
Ljava/lang/Object;+11 (Collections.java:1432) 


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message