net.sf.ehcache.CacheException

Failed while decoding element java.nio.HeapByteBufferR[pos=870563 lim=870568 cap=870568]

Solutions on the web45

  • via Terracotta Project Issue Tracker by Lee Gilbert, 11 months 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]
  • via Terracotta Project Issue Tracker by Fiona OShea, 1 year ago
    Failure while decoding key java.nio.HeapByteBuffer[pos=0 lim=0 cap=0]
  • Stack trace

    • 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)[:]

    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

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.