Hello

Is this a defect ?

This is in remove(Serializable key) method in LRUMemoryCache .

If the key passed to this remove method is an instance of GroupID ,  the
code iterates through the entry set of the map. For each entry in the entry
set if the key matches then it removes the entry from the map. However the
code also calls removeNode method after this passing entry.Value. Since
this entry is already removed from map , the value passed to removeNode
method is null and hence throws a NullPointerException.

Thanks
Sunil



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to