org.infinispan.commons.CacheException

Unable to construct a ComponentRegistry!

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via GitHub by wildfly-ci
    ,
  • via GitHub by wildfly-ci
    ,
  • Stack trace

    • org.infinispan.commons.CacheException: Unable to construct a ComponentRegistry! at org.wildfly.clustering.service.AsynchronousServiceBuilder$1.run(AsynchronousServiceBuilder.java:107) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: org.infinispan.commons.CacheException: Unable to construct a ComponentRegistry! at org.infinispan.factories.ComponentRegistry.<init>(ComponentRegistry.java:91) at org.infinispan.factories.InternalCacheFactory$1.<init>(InternalCacheFactory.java:89) at org.infinispan.factories.InternalCacheFactory.createSimpleCache(InternalCacheFactory.java:89) at org.infinispan.factories.InternalCacheFactory.createCache(InternalCacheFactory.java:54) at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:621) at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:580) at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:445) at org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:117) at org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:112) at org.wildfly.clustering.infinispan.spi.service.CacheBuilder.start(CacheBuilder.java:80) at org.wildfly.clustering.service.AsynchronousServiceBuilder$1.run(AsynchronousServiceBuilder.java:102) ... 4 more Caused by: org.infinispan.commons.CacheConfigurationException: Cannot auto-instantiate factory class org.infinispan.stats.impl.StatsCollector$Factory as it doesn't implement AutoInstantiableFactory! Debug stack: null org.jboss.as.test.integration.ee.injection.resource.infinispan.InfinispanResourceRefTestCase.test: javax.naming.NameNotFoundException: infinispan at org.jboss.as.ee.component.ViewManagedReferenceFactory.getReference(ViewManagedReferenceFactory.java:58) at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:143) at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:83) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:207) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:184) at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:237) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:193) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:189) at javax.naming.InitialContext.lookup(InitialContext.java:417) at javax.naming.InitialContext.lookup(InitialContext.java:417) at org.jboss.as.test.integration.ee.injection.resource.infinispan.InfinispanResourceRefTestCase.test(InfinispanResourceRefTestCase.java:60)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.