Gustavo Fernandes created ISPN-5011:
---------------------------------------
Summary: CacheManager not stopping when search factory initialized
Key: ISPN-5011
URL:
https://issues.jboss.org/browse/ISPN-5011
Project: Infinispan
Issue Type: Bug
Reporter: Gustavo Fernandes
The situation can be reproduced in a simple test:
{code}
@Test
public void testStartAndStopWithoutIndexing() {
EmbeddedCacheManager cacheManager = ... // With indexing enabled, using infinispan
directory
cacheManager.getCache();
cacheManager.stop();
assertEquals(ComponentStatus.TERMINATED, cacheManager.getStatus());
}
{code}
The issue is that query related caches are not started, and the stop() method fails with
NPE
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)