0 Replies Latest reply on Sep 25, 2007 7:49 AM by magic.moose

    List of objects in pojocache - null elements appear randomly

    magic.moose

      Hey,

      Not sure how to describe the problem, it's really random stuff, so far I couldn't track the way to reproduce on demand.
      Anyway, configuration:
      jboss-cache 1.4
      java 5.

      imagine list of objects stored under custom fqn/region in pojocache. default AopLRUEvictionPolicy. timetolive 60secs. Every element of the list is an initialized object. Not aspected, but serialized. The elements are stored as separated tree nodes (that's the behavior of cached collections). So far so good.
      When I start hitting the cache i am getting, very randomly, a list (AOPProxy) where some (not all) elements are null ! I was suspecting eviction process, but nulls do not appear with the same frequency as region eviction. I do not modify the list in any way from any other thread (like reordering) or at least I haven't found such place.

      I realize more info may be required, but at this point, has anyone ever bumped into something similar?
      Thanks,
      mm