[infinispan-issues] [JBoss JIRA] (ISPN-5011) CacheManager not stopping when search factory not initialized
RH Bugzilla Integration (JIRA)
issues at jboss.org
Tue Nov 25 16:58:39 EST 2014
[ https://issues.jboss.org/browse/ISPN-5011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
RH Bugzilla Integration updated ISPN-5011:
------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1167874
> 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
> Assignee: Gustavo Fernandes
> Fix For: 7.1.0.Alpha1, 7.0.3.Final
>
>
> 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 lazily created, 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