-
Bug
-
Resolution: Done
-
Major
-
8.2.0.Beta2
-
None
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.