java.lang.IllegalStateException

RestartStore is not ready for mutations. Current state INIT

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

  • Stack trace

    • java.lang.IllegalStateException: RestartStore is not ready for mutations. Current state INIT at com.terracottatech.frs.RestartStoreImpl.checkReadyState(RestartStoreImpl.java:109)[ehcache-ee-2.6.2.jar:na] at com.terracottatech.frs.RestartStoreImpl.beginAutoCommitTransaction(RestartStoreImpl.java:103)[ehcache-ee-2.6.2.jar:na] at net.sf.ehcache.store.restartability.ControlledTransactionRestartStore.beginAutoCommitTransaction(ControlledTransactionRestartStore.java:53)[ehcache-ee-2.6.2.jar:na] at net.sf.ehcache.store.restartability.ControlledTransactionRestartStore.beginTransaction(ControlledTransactionRestartStore.java:47)[ehcache-ee-2.6.2.jar:na] at net.sf.ehcache.store.heap.RestartableSelectableConcurrentHashMap$RestartableSegment.postInstall(RestartableSelectableConcurrentHashMap.java:302)[ehcache-ee-2.6.2.jar:na] at net.sf.ehcache.store.chm.SelectableConcurrentHashMap$Segment.put(SelectableConcurrentHashMap.java:826)[ehcache-ee-2.6.2.jar:na] at net.sf.ehcache.store.chm.SelectableConcurrentHashMap.put(SelectableConcurrentHashMap.java:419)[ehcache-ee-2.6.2.jar:na] at net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:257)[ehcache-ee-2.6.2.jar:na] at net.sf.ehcache.store.FrontEndCacheTier.put(FrontEndCacheTier.java:261)[ehcache-ee-2.6.2.jar:na] at net.sf.ehcache.Cache.putInternal(Cache.java:1459)[ehcache-ee-2.6.2.jar:na] at net.sf.ehcache.Cache.put(Cache.java:1387)[ehcache-ee-2.6.2.jar:na] at net.sf.ehcache.Cache.put(Cache.java:1352)[ehcache-ee-2.6.2.jar:na] at mytestpackage.cache.MyTestCacheLoader.init(MyTestCacheLoader.java:151)[classes/:na] at net.sf.ehcache.Cache.initialiseRegisteredCacheLoaders(Cache.java:2512)[ehcache-ee-2.6.2.jar:na] at net.sf.ehcache.Cache.initialise(Cache.java:1140)[ehcache-ee-2.6.2.jar:na] at net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1306)[ehcache-ee-2.6.2.jar:na] at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1337)[ehcache-ee-2.6.2.jar:na] at net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:758)[ehcache-ee-2.6.2.jar:na] at net.sf.ehcache.CacheManager.doInit(CacheManager.java:459)[ehcache-ee-2.6.2.jar:na] at net.sf.ehcache.CacheManager.init(CacheManager.java:377)[ehcache-ee-2.6.2.jar:na] at net.sf.ehcache.CacheManager.<init>(CacheManager.java:339)[ehcache-ee-2.6.2.jar:na] at org.springframework.cache.ehcache.EhCacheManagerFactoryBean.afterPropertiesSet(EhCacheManagerFactoryBean.java:104)[spring-context-support-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1545)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1483)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1391)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1132)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:607)[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)[spring-context-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)[spring-context-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)[spring-context-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)[spring-context-3.2.0.RELEASE.jar:3.2.0.RELEASE]

    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.