-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
The situation can be reproduced in a simple test:
@Test public void testStartAndStopWithoutIndexing() { EmbeddedCacheManager cacheManager = ... // With indexing enabled, using infinispan directory cacheManager.getCache(); cacheManager.stop(); assertEquals(ComponentStatus.TERMINATED, cacheManager.getStatus()); }
The issue is that query related caches are lazily created, and the stop( ) method fails with NPE