[
https://issues.jboss.org/browse/ISPN-1006?page=com.atlassian.jira.plugin....
]
Manik Surtani commented on ISPN-1006:
-------------------------------------
This is probably because the component is volatile and is cleaned up (removed from the
component registry) by the time cacheStopped() is called.
Annotate your component with @NonVolatile to prevent this from happening, but this means
your component doesn't need rebuilding/reinjecting if the cache were to restart.
During Lifecycle method cacheStopped is missing some components from
the registry
---------------------------------------------------------------------------------
Key: ISPN-1006
URL:
https://issues.jboss.org/browse/ISPN-1006
Project: Infinispan
Issue Type: Bug
Reporter: Sanne Grinovero
Fix For: 5.0.0.BETA2
To reproduce: In Query module, class org.infinispan.query.impl.LifecycleManager
If you move the method body from cacheStopping into cacheStopped you'll notice that
org.infinispan.query.blackbox.SearchFactoryShutdownTest will fail, as shutdown won't
happen as it can't find the needed components in the ComponentRegistry.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira