[infinispan-issues] [JBoss JIRA] (ISPN-7080) NPE in CacheNotifierImpl by LIRS eviction listener

ted won (JIRA) issues at jboss.org
Mon Dec 5 21:01:00 EST 2016


     [ https://issues.jboss.org/browse/ISPN-7080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ted won updated ISPN-7080:
--------------------------
    SourceForge Reference:   (was: https://c.na7.visual.force.com/apex/Case_View?sbstr=01709143)


> NPE in CacheNotifierImpl by LIRS eviction listener 
> ---------------------------------------------------
>
>                 Key: ISPN-7080
>                 URL: https://issues.jboss.org/browse/ISPN-7080
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Test Suite - Core
>    Affects Versions: 9.0.0.Alpha4
>         Environment: * Infinispan branch: Upstream master
>            Reporter: ted won
>            Assignee: William Burns
>              Labels: core, eviction, lirs
>             Fix For: 9.0.0.Beta1
>
>
> The LIRSEvictionFunctionalTest.testSimpleEvictionMaxEntries unit test method in core module fails and throws NPE in CacheNotifierImpl.notifyCacheEntriesEvicted method when trying to reinsert the first keys again.
> https://github.com/infinispan/infinispan/blob/master/core/src/test/java/org/infinispan/eviction/impl/LIRSEvictionFunctionalTest.java
> It reproduces only with LIRS eviction strategy and eviction listener.
> However, LRU and UNORDERED eviction strategies are working properly.
> It makes impossible the use of eviction listeners with LIRS eviction strategy.
> It's able to reproduce by:
> - inserting 20 keys - values in a 10 sized cache ( keys from key-1 to key-20),
> - and then reinsert the first 10 keys (key-1 to key-10)



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list