[infinispan-issues] [JBoss JIRA] (ISPN-6286) Component registry should not allow registration during shutdown
Dan Berindei (JIRA)
issues at jboss.org
Mon Feb 29 06:26:00 EST 2016
Dan Berindei created ISPN-6286:
----------------------------------
Summary: 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