]
Tristan Tarrant updated ISPN-9124:
----------------------------------
Fix Version/s: 9.4.8.Final
(was: 9.4.7.Final)
Uncaught exception in CounterConfigurationManager.startCounterCache
-------------------------------------------------------------------
Key: ISPN-9124
URL:
https://issues.jboss.org/browse/ISPN-9124
Project: Infinispan
Issue Type: Task
Components: Test Suite - Core
Affects Versions: 9.2.2.Final
Reporter: Dan Berindei
Priority: Major
Fix For: 9.4.8.Final
{{CounterConfigurationManager.startCounterCache}} starts the cache asynchronously, but a
short test may stop the cache manager before the worker thread got to do anything. The
worker thread doesn't catch the exception, so it's just logged on the console:
{noformat}
Exception in thread "async-thread--p132-t1"
org.infinispan.IllegalLifecycleStateException: Cache container has been stopped and cannot
be reused. Recreate the cache container.
at
org.infinispan.manager.DefaultCacheManager.assertIsNotTerminated(DefaultCacheManager.java:951)
at
org.infinispan.manager.DefaultCacheManager.internalGetCache(DefaultCacheManager.java:465)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:461)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:447)
at
org.infinispan.counter.impl.manager.CounterConfigurationManager.lambda$startCounterCache$5(CounterConfigurationManager.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
{noformat}