org.apache.ignite.IgniteCheckedException: Failed to serialize object: DynamicCacheChangeBatch [reqs=[DynamicCacheChangeRequest [deploymentId=fe50a831751-4bc0a4f8-b6d8-40c8-ab49-ae4411be6b5e, startCfg=CacheConfiguration [name=ignite-sys-cache, storeConcurrentLoadAllThreshold=5, rebalancePoolSize=2, rebalanceTimeout=10000, evictPlc=null, evictSync=false, evictKeyBufSize=1024, evictSyncConcurrencyLvl=4, evictSyncTimeout=10000, evictFilter=null, evictMaxOverflowRatio=10.0, eagerTtl=true, dfltLockTimeout=0, startSize=1500000, nearCfg=null, writeSync=FULL_SYNC, storeFactory=null, storeKeepBinary=false, loadPrevVal=false, aff=org.apache.ignite.cache.affinity.rendezvous.RendezvousAffinityFunction@12299890, cacheMode=REPLICATED, atomicityMode=TRANSACTIONAL, atomicWriteOrderMode=null, backups=2147483647, invalidate=false, tmLookupClsName=null, rebalanceMode=SYNC, rebalanceOrder=-2, rebalanceBatchSize=524288, rebalanceBatchesPrefetchCount=2, offHeapMaxMem=-1, swapEnabled=false, maxConcurrentAsyncOps=500, writeBehindEnabled=false, writeBehindFlushSize=10240, writeBehindFlushFreq=5000, writeBehindFlushThreadCnt=1, writeBehindBatchSize=512, memMode=ONHEAP_TIERED, affMapper=org.apache.ignite.internal.processors.cache.GridCacheDefaultAffinityKeyMapper@5c18016b, rebalanceDelay=0, rebalanceThrottle=0, interceptor=null, longQryWarnTimeout=3000, readFromBackup=true, nodeFilter=org.apache.ignite.configuration.CacheConfiguration$IgniteAllNodesPredicate@2a7ed1f, sqlSchema=null, sqlEscapeAll=false, sqlOnheapRowCacheSize=10240, snapshotableIdx=false, cpOnRead=true, topValidator=null], cacheType=UTILITY, initiatingNodeId=null, nearCacheCfg=null, clientStartOnly=false, stop=false, close=false, failIfExists=false, template=false, rcvdFrom=587c3c96-0254-44bf-94d7-7abfaee0ba30, exchangeNeeded=false, cacheFutTopVer=null, cacheName=ignite-sys-cache], DynamicCacheChangeRequest [deploymentId=0f50a831751-4bc0a4f8-b6d8-40c8-ab49-ae4411be6b5e, startCfg=CacheConfiguration [name=ignite-atomics-sys-cache, storeConcurrentLoadAllThreshold=5, rebalancePoolSize=2, rebalanceTimeout=10000, evictPlc=null, evictSync=false, evictKeyBufSize=1024, evictSyncConcurrencyLvl=4, evictSyncTimeout=10000, evictFilter=null, evictMaxOverflowRatio=10.0, eagerTtl=true, dfltLockTimeout=0, startSize=1500000, nearCfg=null, writeSync=FULL_SYNC, storeFactory=null, storeKeepBinary=false, loadPrevVal=false, aff=org.apache.ignite.cache.affinity.rendezvous.RendezvousAffinityFunction@1522d8a0, cacheMode=PARTITIONED, atomicityMode=TRANSACTIONAL, atomicWriteOrderMode=null, backups=0, invalidate=false, tmLookupClsName=null, rebalanceMode=SYNC, rebalanceOrder=-1, rebalanceBatchSize=524288, rebalanceBatchesPrefetchCount=2, offHeapMaxMem=-1, swapEnabled=false, maxConcurrentAsyncOps=500, writeBehindEnabled=false, writeBehindFlushSize=10240, writeBehindFlushFreq=5000, writeBehindFlushThreadCnt=1, writeBehindBatchSize=512, memMode=ONHEAP_TIERED, affMapper=org.apache.ignite.internal.processors.cache.GridCacheDefaultAffinityKeyMapper@5644dc81, rebalanceDelay=0, rebalanceThrottle=0, interceptor=null, longQryWarnTimeout=3000, readFromBackup=true, nodeFilter=org.apache.ignite.configuration.CacheConfiguration$IgniteAllNodesPredicate@2a7ed1f, sqlSchema=null, sqlEscapeAll=false, sqlOnheapRowCacheSize=10240, snapshotableIdx=false, cpOnRead=true, topValidator=null], cacheType=INTERNAL, initiatingNodeId=null, nearCacheCfg=null, clientStartOnly=false, stop=false, close=false, failIfExists=false, template=false, rcvdFrom=587c3c96-0254-44bf-94d7-7abfaee0ba30, exchangeNeeded=false, cacheFutTopVer=null, cacheName=ignite-atomics-sys-cache], DynamicCacheChangeRequest [deploymentId=2f50a831751-4bc0a4f8-b6d8-40c8-ab49-ae4411be6b5e, startCfg=CacheConfiguration [name=TestTable1, storeConcurrentLoadAllThreshold=5, rebalancePoolSize=2, rebalanceTimeout=10000, evictPlc=null, evictSync=false, evictKeyBufSize=1024, evictSyncConcurrencyLvl=4, evictSyncTimeout=10000, evictFilter=null, evictMaxOverflowRatio=10.0, eagerTtl=true, dfltLockTimeout=0, startSize=1500000, nearCfg=null, writeSync=FULL_SYNC, storeFactory=javax.cache.configuration.FactoryBuilder$SingletonFactory@2a3888c1, storeKeepBinary=false, loadPrevVal=false, aff=org.apache.ignite.cache.affinity.rendezvous.RendezvousAffinityFunction@774698ab, cacheMode=PARTITIONED, atomicityMode=TRANSACTIONAL, atomicWriteOrderMode=null, backups=0, invalidate=false, tmLookupClsName=null, rebalanceMode=ASYNC, rebalanceOrder=0, rebalanceBatchSize=524288, rebalanceBatchesPrefetchCount=2, offHeapMaxMem=-1, swapEnabled=false, maxConcurrentAsyncOps=500, writeBehindEnabled=true, writeBehindFlushSize=10240, writeBehindFlushFreq=5000, writeBehindFlushThreadCnt=1, writeBehindBatchSize=512, memMode=ONHEAP_TIERED, affMapper=org.apache.ignite.internal.processors.cache.CacheDefaultBinaryAffinityKeyMapper@a4ca3f6, rebalanceDelay=0, rebalanceThrottle=0, interceptor=null, longQryWarnTimeout=3000, readFromBackup=true, nodeFilter=org.apache.ignite.configuration.CacheConfiguration$IgniteAllNodesPredicate@2a7ed1f, sqlSchema=null, sqlEscapeAll=false, sqlOnheapRowCacheSize=10240, snapshotableIdx=false, cpOnRead=true, topValidator=null], cacheType=USER, initiatingNodeId=null, nearCacheCfg=null, clientStartOnly=false, stop=false, close=false, failIfExists=false, template=false, rcvdFrom=587c3c96-0254-44bf-94d7-7abfaee0ba30, exchangeNeeded=false, cacheFutTopVer=null, cacheName=TestTable1], DynamicCacheChangeRequest [deploymentId=ee50a831751-4bc0a4f8-b6d8-40c8-ab49-ae4411be6b5e, startCfg=CacheConfiguration [name=ignite-marshaller-sys-cache, storeConcurrentLoadAllThreshold=5, rebalancePoolSize=2, rebalanceTimeout=10000, evictPlc=null, evictSync=false, evictKeyBufSize=1024, evictSyncConcurrencyLvl=4, evictSyncTimeout=10000, evictFilter=null, evictMaxOverflowRatio=10.0, eagerTtl=true, dfltLockTimeout=0, startSize=300, nearCfg=null, writeSync=FULL_SYNC, storeFactory=null, storeKeepBinary=false, loadPrevVal=false, aff=org.apache.ignite.cache.affinity.rendezvous.RendezvousAffinityFunction@51a9ad5e, cacheMode=REPLICATED, atomicityMode=ATOMIC, atomicWriteOrderMode=CLOCK, backups=2147483647, invalidate=false, tmLookupClsName=null, rebalanceMode=SYNC, rebalanceOrder=-2, rebalanceBatchSize=524288, rebalanceBatchesPrefetchCount=2, offHeapMaxMem=-1, swapEnabled=false, maxConcurrentAsyncOps=500, writeBehindEnabled=false, writeBehindFlushSize=10240, writeBehindFlushFreq=5000, writeBehindFlushThreadCnt=1, writeBehindBatchSize=512, memMode=ONHEAP_TIERED, affMapper=org.apache.ignite.internal.processors.cache.GridCacheDefaultAffinityKeyMapper@476b0ae6, rebalanceDelay=0, rebalanceThrottle=0, interceptor=null, longQryWarnTimeout=3000, readFromBackup=true, nodeFilter=org.apache.ignite.configuration.CacheConfiguration$IgniteAllNodesPredicate@2a7ed1f, sqlSchema=null, sqlEscapeAll=false, sqlOnheapRowCacheSize=10240, snapshotableIdx=false, cpOnRead=true, topValidator=null], cacheType=MARSHALLER, initiatingNodeId=null, nearCacheCfg=null, clientStartOnly=false, stop=false, close=false, failIfExists=false, template=false, rcvdFrom=587c3c96-0254-44bf-94d7-7abfaee0ba30, exchangeNeeded=false, cacheFutTopVer=null, cacheName=ignite-marshaller-sys-cache], DynamicCacheChangeRequest [deploymentId=1f50a831751-4bc0a4f8-b6d8-40c8-ab49-ae4411be6b5e, startCfg=CacheConfiguration [name=TestTable, storeConcurrentLoadAllThreshold=5, rebalancePoolSize=2, rebalanceTimeout=10000, evictPlc=null, evictSync=false, evictKeyBufSize=1024, evictSyncConcurrencyLvl=4, evictSyncTimeout=10000, evictFilter=null, evictMaxOverflowRatio=10.0, eagerTtl=true, dfltLockTimeout=0, startSize=1500000, nearCfg=null, writeSync=FULL_SYNC, storeFactory=javax.cache.configuration.FactoryBuilder$SingletonFactory@51c693d, storeKeepBinary=false, loadPrevVal=false, aff=org.apache.ignite.cache.affinity.rendezvous.RendezvousAffinityFunction@18025ced, cacheMode=PARTITIONED, atomicityMode=TRANSACTIONAL, atomicWriteOrderMode=null, backups=0, invalidate=false, tmLookupClsName=null, rebalanceMode=ASYNC, rebalanceOrder=0, rebalanceBatchSize=524288, rebalanceBatchesPrefetchCount=2, offHeapMaxMem=-1, swapEnabled=false, maxConcurrentAsyncOps=500, writeBehindEnabled=true, writeBehindFlushSize=10240, writeBehindFlushFreq=5000, writeBehindFlushThreadCnt=1, writeBehindBatchSize=512, memMode=ONHEAP_TIERED, affMapper=org.apache.ignite.internal.processors.cache.CacheDefaultBinaryAffinityKeyMapper@3a3e4aff, rebalanceDelay=0, rebalanceThrottle=0, interceptor=null, longQryWarnTimeout=3000, readFromBackup=true, nodeFilter=org.apache.ignite.configuration.CacheConfiguration$IgniteAllNodesPredicate@2a7ed1f, sqlSchema=null, sqlEscapeAll=false, sqlOnheapRowCacheSize=10240, snapshotableIdx=false, cpOnRead=true, topValidator=null], cacheType=USER, initiatingNodeId=null, nearCacheCfg=null, clientStartOnly=false, stop=false, close=false, failIfExists=false, template=false, rcvdFrom=587c3c96-0254-44bf-94d7-7abfaee0ba30, exchangeNeeded=false, cacheFutTopVer=null, cacheName=TestTable]], clientNodes={TestTable1={587c3c96-0254-44bf-94d7-7abfaee0ba30=false, d352bef5-875e-4f3c-bfb4-91786f286258=false}, ignite-marshaller-sys-cache={587c3c96-0254-44bf-94d7-7abfaee0ba30=false, d352bef5-875e-4f3c-bfb4-91786f286258=false}, TestTable={587c3c96-0254-44bf-94d7-7abfaee0ba30=false, d352bef5-875e-4f3c-bfb4-91786f286258=false}, ignite-sys-cache={587c3c96-0254-44bf-94d7-7abfaee0ba30=false, d352bef5-875e-4f3c-bfb4-91786f286258=false}, ignite-atomics-sys-cache={587c3c96-0254-44bf-94d7-7abfaee0ba30=false, d352bef5-875e-4f3c-bfb4-91786f286258=false}}, id=3160a831751-4bc0a4f8-b6d8-40c8-ab49-ae4411be6b5e, clientReconnect=false]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Stack Overflow by Matthias

Your object contains member variables which are themselves not serializable 'ReportDataStoreRegion'. If you really want to serialize your object. One option would be to declare the variable as transient so that it is not serialized.

,
via Stack Overflow by Marcos Roriz Junior

There is no way to serialize a method object in a portable way since it doesn't contain all the necessary information to restore it. Instead, you should serialize the name of the class, the method name and the parameter types.

Solutions on the web

via nabble.com by Unknown author, 11 months ago
, rebalancePoolSize=2, rebalanceTimeout=10000, evictPlc=null, evictSync=false, evictKeyBufSize=1024, evictSyncConcurrencyLvl=4, evictSyncTimeout=10000, evictFilter=null, evictMaxOverflowRatio=10.0, eagerTtl=true, dfltLockTimeout=0, startSize=1500000, nearCfg=null
java.io.NotSerializableException: org.apache.ignite.internal.processors.cache.store.GridCacheStoreManagerAdapter$ThreadLocalSession
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
at java.util.ArrayList.writeObject(ArrayList.java:762)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1028)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
at org.apache.ignite.marshaller.jdk.JdkMarshaller.marshal(JdkMarshaller.java:77)
at org.apache.ignite.marshaller.AbstractMarshaller.marshal(AbstractMarshaller.java:62)
at org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.collectExchangeData(TcpDiscoverySpi.java:1683)
at org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.processNodeAddedMessage(ServerImpl.java:3779)
at org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.processJoinRequestMessage(ServerImpl.java:3427)
at org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.processMessage(ServerImpl.java:2293)
at org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.processMessage(ServerImpl.java:2121)
at org.apache.ignite.spi.discovery.tcp.ServerImpl$MessageWorkerAdapter.body(ServerImpl.java:6007)
at org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.body(ServerImpl.java:2208)
at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62)

Users with the same issue

2 times, 3 weeks ago
Once, 1 month ago
5 times, 3 months ago
6 times, 7 months ago
44 times, 9 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.