[infinispan-issues] [JBoss JIRA] (ISPN-5957) Simple cache fails to start when statistics is enabled

Radim Vansa (JIRA) issues at jboss.org
Thu Nov 12 16:45:01 EST 2015


     [ https://issues.jboss.org/browse/ISPN-5957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radim Vansa reassigned ISPN-5957:
---------------------------------

    Assignee: Radim Vansa


> Simple cache fails to start when statistics is enabled
> ------------------------------------------------------
>
>                 Key: ISPN-5957
>                 URL: https://issues.jboss.org/browse/ISPN-5957
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 8.0.1.Final
>            Reporter: Paul Ferraro
>            Assignee: Radim Vansa
>            Priority: Critical
>             Fix For: 8.0.2.Final
>
>
> Failure also happens with statistics are disabled, but still available.
> {noformat}
> 31m13:29:08,909 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 25) MSC000001: Failed to start service jboss.infinispan.hibernate.local-query: org.jboss.msc.service.StartException in service jboss.infinispan.hibernate.local-query: 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
> 	at org.infinispan.factories.AbstractComponentRegistry.instantiateFactory(AbstractComponentRegistry.java:350)
> 	at org.infinispan.factories.AbstractComponentRegistry.createComponentFactoryInternal(AbstractComponentRegistry.java:321)
> 	at org.infinispan.factories.ComponentRegistry.createComponentFactoryInternal(ComponentRegistry.java:198)
> 	at org.infinispan.factories.AbstractComponentRegistry.getFactory(AbstractComponentRegistry.java:304)
> 	at org.infinispan.factories.ComponentRegistry.getFactory(ComponentRegistry.java:179)
> 	at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:270)
> 	at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:152)
> 	at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:227)
> 	at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:65)
> 	at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:797)
> 	at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:201)
> 	at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:189)
> 	at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:156)
> 	at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:277)
> 	at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:152)
> 	at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:227)
> 	at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:65)
> 	at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:797)
> 	at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:201)
> 	at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:189)
> 	at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:156)
> 	at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:277)
> 	at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:152)
> 	at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:227)
> 	at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:65)
> 	at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:797)
> 	at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:201)
> 	at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:189)
> 	at org.infinispan.factories.AbstractComponentRegistry.registerNonVolatileComponent(AbstractComponentRegistry.java:164)
> 	at org.infinispan.factories.ComponentRegistry.<init>(ComponentRegistry.java:85)
> 	... 14 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list