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 Wed, 12 Apr 2006 22:36:14 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 eric@pandora.com  2006-04-12 23:36 -------
I'm currently experiencing an identical problem to what Jan has already reported.

> uname -a
Linux <snip> 2.6.13.1-20050914 #2 SMP Wed Sep 14 13:54:47 PDT 2005 i686 GNU/Linux

> vmjava -version
java version "1.4.1_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_07-b02)
Java HotSpot(TM) Client VM (build 1.4.1_07-b02, mixed mode)

I'm running Jakarta Commons Collections 3.1.

Like Jan, the NPE occurs when calling LRUMap.put(). The key is immutable
(String), and we're only using the put() and get() methods. The offending LRUMap
is contructed using the LRUMap(int) constructor.

Once the NPE exception within LRUMap.put occurs, all subsequent calls to that
method also provoke a NPE.

We *are* decorating our LRUMap using Collections.synchronizedMap, and the
problem still occurs.

-- 
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