Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-13603

Cache associated with default module throws NPE on start

    Details

      Description

       2020-06-11 13:57:16,198 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 90) MSC000001: Failed to start service org.wildfly.clustering.infinispan.cache.security.MyApplicationRealm: org.jboss.msc.service.StartException in service org.wildfly.clustering.infinispan.cache.security.MyApplicationRealm: org.infinispan.commons.CacheConfigurationException: Failed to construct component org.infinispan.container.impl.InternalDataContainer, path org.infinispan.container.impl.InternalDataContainer
        << org.infinispan.stats.impl.StatsCollector
        << org.infinispan.AdvancedCache
          at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:66)
          at org.wildfly.clustering.service.AsyncServiceConfigurator$AsyncService.lambda$start$0(AsyncServiceConfigurator.java:117)
          at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
          at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
          at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
          at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
          at java.lang.Thread.run(Thread.java:748)
          at org.jboss.threads.JBossThread.run(JBossThread.java:485)
      Caused by: org.infinispan.commons.CacheConfigurationException: Failed to construct component org.infinispan.container.impl.InternalDataContainer, path org.infinispan.container.impl.InternalDataContainer
        << org.infinispan.stats.impl.StatsCollector
        << org.infinispan.AdvancedCache
          at org.infinispan.factories.impl.BasicComponentRegistryImpl.doInstantiateWrapper(BasicComponentRegistryImpl.java:189)
          at org.infinispan.factories.impl.BasicComponentRegistryImpl.instantiateWrapper(BasicComponentRegistryImpl.java:176)
          at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:141)
          at org.infinispan.factories.impl.WireContext.get(WireContext.java:20)
          at org.infinispan.stats.impl.CorePackageImpl$2.wire(CorePackageImpl.java:43)
          at org.infinispan.stats.impl.CorePackageImpl$2.wire(CorePackageImpl.java:39)
          at org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:334)
          at org.infinispan.factories.impl.BasicComponentRegistryImpl.doWireWrapper(BasicComponentRegistryImpl.java:231)
          at org.infinispan.factories.impl.BasicComponentRegistryImpl.wireWrapper(BasicComponentRegistryImpl.java:212)
          at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:147)
          at org.infinispan.factories.impl.WireContext.get(WireContext.java:20)
          at org.infinispan.cache.impl.CorePackageImpl$3.wire(CorePackageImpl.java:75)
          at org.infinispan.cache.impl.CorePackageImpl$3.wire(CorePackageImpl.java:73)
          at org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:334)
          at org.infinispan.factories.impl.BasicComponentRegistryImpl.wireDependencies(BasicComponentRegistryImpl.java:242)
          at org.infinispan.cache.impl.EncoderCache.wireRealCache(EncoderCache.java:125)
          at org.infinispan.cache.impl.CorePackageImpl$4.wire(CorePackageImpl.java:94)
          at org.infinispan.cache.impl.CorePackageImpl$4.wire(CorePackageImpl.java:90)
          at org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:334)
          at org.infinispan.factories.impl.BasicComponentRegistryImpl.doWireWrapper(BasicComponentRegistryImpl.java:231)
          at org.infinispan.factories.impl.BasicComponentRegistryImpl.wireWrapper(BasicComponentRegistryImpl.java:212)
          at org.infinispan.factories.impl.BasicComponentRegistryImpl.registerComponent(BasicComponentRegistryImpl.java:371)
          at org.infinispan.factories.impl.BasicComponentRegistry.registerComponent(BasicComponentRegistry.java:100)
          at org.infinispan.factories.InternalCacheFactory.createSimpleCache(InternalCacheFactory.java:151)
          at org.infinispan.factories.InternalCacheFactory.createCache(InternalCacheFactory.java:81)
          at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:696)
          at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:645)
          at org.infinispan.manager.DefaultCacheManager.internalGetCache(DefaultCacheManager.java:530)
          at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:511)
          at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:504)
          at org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:92)
          at org.wildfly.clustering.infinispan.spi.service.CacheServiceConfigurator.get(CacheServiceConfigurator.java:77)
          at org.wildfly.clustering.infinispan.spi.service.CacheServiceConfigurator.get(CacheServiceConfigurator.java:55)
          at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:63)
          ... 7 more
      Caused by: java.lang.NullPointerException
          at org.wildfly.clustering.infinispan.spi.DataContainerFactory.createBoundedDataContainer(DataContainerFactory.java:113)
          at org.wildfly.clustering.infinispan.spi.DataContainerFactory.construct(DataContainerFactory.java:72)
          at org.infinispan.factories.impl.BasicComponentRegistryImpl.doInstantiateWrapper(BasicComponentRegistryImpl.java:186)
          ... 40 more
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pferraro Paul Ferraro
                  Reporter:
                  pferraro Paul Ferraro
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: