[infinispan-issues] [JBoss JIRA] (ISPN-9124) Uncaught exception in CounterConfigurationManager.startCounterCache
Dan Berindei (JIRA)
issues at jboss.org
Fri May 4 11:19:00 EDT 2018
Dan Berindei created ISPN-9124:
----------------------------------
Summary: 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
Fix For: 9.3.0.CR1
{{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}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list