[infinispan-issues] [JBoss JIRA] (ISPN-5011) CacheManager not stopping when search factory not initialized

Gustavo Fernandes (JIRA) issues at jboss.org
Mon Nov 24 10:19:39 EST 2014


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

Gustavo Fernandes updated ISPN-5011:
------------------------------------
    Summary: CacheManager not stopping when search factory not initialized  (was: CacheManager not stopping when search factory initialized)


> CacheManager not stopping when search factory not 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)


More information about the infinispan-issues mailing list