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

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


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)


More information about the infinispan-issues mailing list