[infinispan-issues] [JBoss JIRA] (ISPN-9627) Removing a listener after cache manager stop throws an exception

Paul Ferraro (Jira) issues at jboss.org
Mon Oct 22 12:25:00 EDT 2018


    [ https://issues.jboss.org/browse/ISPN-9627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13651241#comment-13651241 ] 

Paul Ferraro edited comment on ISPN-9627 at 10/22/18 12:24 PM:
---------------------------------------------------------------

I understand the reasoning - I only pointed this out as an issue of compatibility.  -Note that previously, listener registration was also allowed prior to starting the cache manager.-


was (Author: pferraro):
I understand the reasoning - I only pointed this out as an issue of compatibility.  Note that previously, listener registration was also allowed prior to starting the cache manager.

> Removing a listener after cache manager stop throws an exception
> ----------------------------------------------------------------
>
>                 Key: ISPN-9627
>                 URL: https://issues.jboss.org/browse/ISPN-9627
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 9.4.0.Final
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>            Priority: Major
>             Fix For: 9.4.1.Final
>
>
> {{DefaultCacheManager.removeListener()}} needs the {{CacheManagerNotifier}} component and fails if the component can't be accessed, e.g. because the manager is stopped. Since listeners are removed automatically on stop, a {{DefaultCacheManager.removeListener()}} call after stop should be a no-op.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list