net.sf.ehcache.CacheException: Failed while decoding element java.nio.HeapByteBufferR[pos=870563 lim=870568 cap=870568]

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

Solutions on the web

via Terracotta Project Issue Tracker by Lee Gilbert, 1 year ago
Failed while decoding element java.nio.HeapByteBufferR[pos=870563 lim=870568 cap=870568]
via Terracotta Project Issue Tracker by Lee Gilbert, 1 year ago
Failed while decoding element java.nio.HeapByteBufferR[pos=870563 lim=870568 cap=870568]
net.sf.ehcache.CacheException: Failed while decoding element java.nio.HeapByteBufferR[pos=870563 lim=870568 cap=870568]
at net.sf.ehcache.store.offheap.portability.EhcacheElementPortability.decode(EhcacheElementPortability.java:125)
at net.sf.ehcache.store.offheap.portability.EhcacheElementPortability.decode(EhcacheElementPortability.java:29)
at com.terracottatech.offheapstore.storage.PortabilityBasedStorageEngine.readValue(PortabilityBasedStorageEngine.java:93)
at com.terracottatech.offheapstore.OffHeapHashMap.remove(OffHeapHashMap.java:727)
at com.terracottatech.offheapstore.AbstractLockedOffHeapHashMap.remove(AbstractLockedOffHeapHashMap.java:165)
at com.terracottatech.offheapstore.AbstractOffHeapClockCache.remove(AbstractOffHeapClockCache.java:293)
at com.terracottatech.offheapstore.concurrent.AbstractConcurrentOffHeapMap.remove(AbstractConcurrentOffHeapMap.java:206)
at net.sf.ehcache.store.offheap.cachingtier.OffHeapCachingTier.remove(OffHeapCachingTier.java:117)
at net.sf.ehcache.store.CacheStore.put(CacheStore.java:138)
at net.sf.ehcache.Cache.putInternal(Cache.java:1500)
at net.sf.ehcache.Cache.put(Cache.java:1426)
at net.sf.ehcache.Cache.put(Cache.java:1391)

Users with the same issue

You are the first who have seen this exception.

Write tip

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