[infinispan-issues] [JBoss JIRA] (ISPN-6286) Component registry should not allow registration during shutdown

William Burns (JIRA) issues at jboss.org
Mon Feb 29 13:28:00 EST 2016


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

William Burns updated ISPN-6286:
--------------------------------
        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


> Component registry should not allow registration during shutdown
> ----------------------------------------------------------------
>
>                 Key: ISPN-6286
>                 URL: https://issues.jboss.org/browse/ISPN-6286
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 8.2.0.Beta2
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>             Fix For: 8.2.0.CR1
>
>
> {{AbstractComponentRegistry.getOrCreateComponent()}} is able to create and register a component even while the cache/cache manager is shutting down. The component isn't started though, which sometimes leads to {{NullPointerExceptions}} (e.g. ISPN-6277, {{ClusterTopologyManagerImpl}}).
> It shouldn't be possible to re-create a component after the registry enters the {{STOPPING}} status, and {{getOrCreateComponent()}} should instead throw an {{IllegalLifecycleStateException}}.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list