java.lang.IllegalStateException: RestartStore is not ready for mutations. Current state INIT

Terracotta | ranga | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Unable to get cache to restart with previously stored values from disk

    terracotta.org | 9 months ago
    java.lang.IllegalStateException: RestartStore is not ready for mutations. Current state INIT
  2. 0

    Unable to get cache to restart with previously stored values from disk

    Terracotta | 4 years ago | ranga
    java.lang.IllegalStateException: RestartStore is not ready for mutations. Current state INIT

    Root Cause Analysis

    1. java.lang.IllegalStateException

      RestartStore is not ready for mutations. Current state INIT

      at com.terracottatech.frs.RestartStoreImpl.checkReadyState()
    2. com.terracottatech.frs
      RestartStoreImpl.beginAutoCommitTransaction
      1. com.terracottatech.frs.RestartStoreImpl.checkReadyState(RestartStoreImpl.java:109)[ehcache-ee-2.6.2.jar:na]
      2. com.terracottatech.frs.RestartStoreImpl.beginAutoCommitTransaction(RestartStoreImpl.java:103)[ehcache-ee-2.6.2.jar:na]
      2 frames
    3. net.sf.ehcache
      RestartableSelectableConcurrentHashMap$RestartableSegment.postInstall
      1. net.sf.ehcache.store.restartability.ControlledTransactionRestartStore.beginAutoCommitTransaction(ControlledTransactionRestartStore.java:53)[ehcache-ee-2.6.2.jar:na]
      2. net.sf.ehcache.store.restartability.ControlledTransactionRestartStore.beginTransaction(ControlledTransactionRestartStore.java:47)[ehcache-ee-2.6.2.jar:na]
      3. net.sf.ehcache.store.heap.RestartableSelectableConcurrentHashMap$RestartableSegment.postInstall(RestartableSelectableConcurrentHashMap.java:302)[ehcache-ee-2.6.2.jar:na]
      3 frames
    4. Ehcache
      Cache.put
      1. net.sf.ehcache.store.chm.SelectableConcurrentHashMap$Segment.put(SelectableConcurrentHashMap.java:826)[ehcache-ee-2.6.2.jar:na]
      2. net.sf.ehcache.store.chm.SelectableConcurrentHashMap.put(SelectableConcurrentHashMap.java:419)[ehcache-ee-2.6.2.jar:na]
      3. net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:257)[ehcache-ee-2.6.2.jar:na]
      4. net.sf.ehcache.store.FrontEndCacheTier.put(FrontEndCacheTier.java:261)[ehcache-ee-2.6.2.jar:na]
      5. net.sf.ehcache.Cache.putInternal(Cache.java:1459)[ehcache-ee-2.6.2.jar:na]
      6. net.sf.ehcache.Cache.put(Cache.java:1387)[ehcache-ee-2.6.2.jar:na]
      7. net.sf.ehcache.Cache.put(Cache.java:1352)[ehcache-ee-2.6.2.jar:na]
      7 frames
    5. mytestpackage.cache
      MyTestCacheLoader.init
      1. mytestpackage.cache.MyTestCacheLoader.init(MyTestCacheLoader.java:151)[classes/:na]
      1 frame
    6. Ehcache
      CacheManager.<init>
      1. net.sf.ehcache.Cache.initialiseRegisteredCacheLoaders(Cache.java:2512)[ehcache-ee-2.6.2.jar:na]
      2. net.sf.ehcache.Cache.initialise(Cache.java:1140)[ehcache-ee-2.6.2.jar:na]
      3. net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1306)[ehcache-ee-2.6.2.jar:na]
      4. net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1337)[ehcache-ee-2.6.2.jar:na]
      5. net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:758)[ehcache-ee-2.6.2.jar:na]
      6. net.sf.ehcache.CacheManager.doInit(CacheManager.java:459)[ehcache-ee-2.6.2.jar:na]
      7. net.sf.ehcache.CacheManager.init(CacheManager.java:377)[ehcache-ee-2.6.2.jar:na]
      8. net.sf.ehcache.CacheManager.<init>(CacheManager.java:339)[ehcache-ee-2.6.2.jar:na]
      8 frames
    7. Spring Context Support
      EhCacheManagerFactoryBean.afterPropertiesSet
      1. org.springframework.cache.ehcache.EhCacheManagerFactoryBean.afterPropertiesSet(EhCacheManagerFactoryBean.java:104)[spring-context-support-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      1 frame
    8. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1545)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1483)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      9. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      10. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      11. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1391)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      12. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1132)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      13. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      14. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      15. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      16. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      17. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      18. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      19. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:607)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      19 frames
    9. Spring Context
      ClassPathXmlApplicationContext.<init>
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)[spring-context-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)[spring-context-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      3. org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)[spring-context-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      4. org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)[spring-context-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      4 frames