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

RH Bugzilla Integration (JIRA) issues at jboss.org
Wed Jan 28 08:32:51 EST 2015


    [ https://issues.jboss.org/browse/ISPN-5011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035833#comment-13035833 ] 

RH Bugzilla Integration commented on ISPN-5011:
-----------------------------------------------

Dave Stahl <dstahl at redhat.com> changed the Status of [bug 1167874|https://bugzilla.redhat.com/show_bug.cgi?id=1167874] from VERIFIED to CLOSED

> 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.11#6341)


More information about the infinispan-issues mailing list