I ran into this error with below configuration(IgniteSpringBean) I set * defaultDataRegionConfiguration* as * <property name="persistenceEnabled" value="false"/>* for unit test. If I set this to true then everything goes well.
<property name="dataStorageConfiguration"> <bean class="org.apache.ignite.configuration.DataStorageConfiguration"> <property name="storagePath" value="${ignite.storage.storagePath}"/> <property name="walPath" value="${ignite.storage.walPath}"/> <property name="walArchivePath" value="${ignite.storage.walArchivePath}"/> <property name="dataRegionConfigurations"> <list> <bean class="org.apache.ignite.configuration.DataRegionConfiguration"> <property name="name" value="r20g"/> <property name="initialSize" value='#{${ignite.storage.dataRegion.region_uat.initialSize}}'/> <property name="maxSize" value='#{${ignite.storage.dataRegion.region_uat.maxSize}}'/> * <property name="persistenceEnabled" value="true"/>* </bean> <bean class="org.apache.ignite.configuration.DataRegionConfiguration"> <property name="name" value="r5g"/> <property name="initialSize" value='#{${ignite.storage.dataRegion.region_sc.initialSize}}'/> <property name="maxSize" value='#{${ignite.storage.dataRegion.region_sc.maxSize}}'/> * <property name="persistenceEnabled" value="true"/>* </bean> </list> </property> <property name="defaultDataRegionConfiguration"> <bean class="org.apache.ignite.configuration.DataRegionConfiguration"> <property name="name" value="Default_Region"/> <property name="maxSize" value="#{40L * 1024 * 1024}"/> * <property name="persistenceEnabled" value="false"/>* </bean> </property> </bean> </property> here is the full error stack Caused by: class org.apache.ignite.IgniteException: Failed to activate cluster at org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:990) at org.apache.ignite.internal.cluster.IgniteClusterImpl.active(IgniteClusterImpl.java:315) at org.apache.ignite.internal.IgniteKernal.active(IgniteKernal.java:3399) at org.apache.ignite.IgniteSpringBean.active(IgniteSpringBean.java:615) at com.nfhd.data.Application.lambda$commandLineRunner$0(Application.java:90) at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:797) ... 30 more Caused by: class org.apache.ignite.IgniteCheckedException: Failed to activate cluster Suppressed: java.lang.ClassCastException: org.apache.ignite.internal.pagemem.impl.PageMemoryNoStoreImpl cannot be cast to org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryEx at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.getPageMemoryForCacheGroup(GridCacheDatabaseSharedManager.java:2154) at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restoreMemory(GridCacheDatabaseSharedManager.java:2007) at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restoreMemory(GridCacheDatabaseSharedManager.java:1929) at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.readCheckpointAndRestoreMemory(GridCacheDatabaseSharedManager.java:755) at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onClusterStateChangeRequest(GridDhtPartitionsExchangeFuture.java:894) at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:641) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2419) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2299) at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) at java.lang.Thread.run(Thread.java:748) -- Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/