net.sf.ehcache.CacheException: Failure while decoding key java.nio.HeapByteBuffer[pos=35 lim=35 cap=35]

Terracotta Project Issue Tracker | Manuel Dominguez Sarmiento | 4 years ago
  1. 0

    Terracotta Project Issue Tracker

    terracotta.org | 11 months ago
    net.sf.ehcache.CacheException: Failure while decoding key java.nio.HeapByteBuffer
  2. 0

    We're trying out BigMemory Go in one of our production servers with the Fast Restartable store, and we've since been randomly getting the following error log: [ERROR] 2012-09-30 00:00:05 [CacheStatisticsGatherer-cacheStatisticsGatherer] - Error calculating approx. in-memory byte size for cache com.renxo.cms.web.filter.EhCacheDistributedSessionManagementFilter.invalidatedSessionIds net.sf.ehcache.CacheException: Failure while decoding key java.nio.HeapByteBuffer[pos=35 lim=35 cap=35] at net.sf.ehcache.store.offheap.portability.EhcacheKeyPortability.decode(EhcacheKeyPortability.java:55) at net.sf.ehcache.store.offheap.portability.EhcacheKeyPortability.equals(EhcacheKeyPortability.java:60) at net.sf.ehcache.store.heap.RestartableSelectableConcurrentHashMap$RestartableSegment.getLsn(RestartableSelectableConcurrentHashMap.java:193) at net.sf.ehcache.store.heap.RestartableSelectableConcurrentHashMap$RestartableSegment.getLsn(RestartableSelectableConcurrentHashMap.java:60) at com.terracottatech.frs.object.AbstractObjectManagerStripe.getLsn(AbstractObjectManagerStripe.java:26) at com.terracottatech.frs.object.AbstractObjectManager.getLsn(Unknown Source) at com.terracottatech.frs.RemoveAction.<init>(RemoveAction.java:41) at com.terracottatech.frs.RestartStoreImpl$AutoCommitTransaction.remove(RestartStoreImpl.java:168) at com.terracottatech.frs.RestartStoreImpl$AutoCommitTransaction.remove(RestartStoreImpl.java:117) at net.sf.ehcache.store.heap.RestartableSelectableConcurrentHashMap$RestartableSegment.preRemove(RestartableSelectableConcurrentHashMap.java:278) at net.sf.ehcache.store.chm.SelectableConcurrentHashMap$Segment.remove(SelectableConcurrentHashMap.java:694) at net.sf.ehcache.store.chm.SelectableConcurrentHashMap.remove(SelectableConcurrentHashMap.java:429) at net.sf.ehcache.store.MemoryStore.remove(MemoryStore.java:331) at net.sf.ehcache.store.FrontEndCacheTier.remove(FrontEndCacheTier.java:314) at net.sf.ehcache.Cache.removeInternal(Cache.java:2335) at net.sf.ehcache.Cache.tryRemoveImmediately(Cache.java:2118) at net.sf.ehcache.Cache.elementStatsHelper(Cache.java:2079) at net.sf.ehcache.Cache.searchInStoreWithoutStats(Cache.java:2073) at net.sf.ehcache.Cache.getQuiet(Cache.java:1863) at com.renxo.cms.job.CacheStatisticsGatherer.execute(Unknown Source) at com.renxo.cms.process.JobMonitoredProcess$ProcessThread.run(Unknown Source) Caused by: java.io.EOFException at java.io.DataInputStream.readByte(DataInputStream.java:267) at net.sf.ehcache.store.offheap.portability.AbstractEhcachePortability.readObjects(AbstractEhcachePortability.java:72) at net.sf.ehcache.store.offheap.portability.EhcacheKeyPortability.decode(EhcacheKeyPortability.java:51) ... 20 more

    Terracotta Project Issue Tracker | 4 years ago | Manuel Dominguez Sarmiento
    net.sf.ehcache.CacheException: Failure while decoding key java.nio.HeapByteBuffer[pos=35 lim=35 cap=35]
  3. 0

    We're trying out BigMemory Go in one of our production servers with the Fast Restartable store, and we've since been randomly getting the following error log: [ERROR] 2012-09-30 00:00:05 [CacheStatisticsGatherer-cacheStatisticsGatherer] - Error calculating approx. in-memory byte size for cache com.renxo.cms.web.filter.EhCacheDistributedSessionManagementFilter.invalidatedSessionIds net.sf.ehcache.CacheException: Failure while decoding key java.nio.HeapByteBuffer[pos=35 lim=35 cap=35] at net.sf.ehcache.store.offheap.portability.EhcacheKeyPortability.decode(EhcacheKeyPortability.java:55) at net.sf.ehcache.store.offheap.portability.EhcacheKeyPortability.equals(EhcacheKeyPortability.java:60) at net.sf.ehcache.store.heap.RestartableSelectableConcurrentHashMap$RestartableSegment.getLsn(RestartableSelectableConcurrentHashMap.java:193) at net.sf.ehcache.store.heap.RestartableSelectableConcurrentHashMap$RestartableSegment.getLsn(RestartableSelectableConcurrentHashMap.java:60) at com.terracottatech.frs.object.AbstractObjectManagerStripe.getLsn(AbstractObjectManagerStripe.java:26) at com.terracottatech.frs.object.AbstractObjectManager.getLsn(Unknown Source) at com.terracottatech.frs.RemoveAction.<init>(RemoveAction.java:41) at com.terracottatech.frs.RestartStoreImpl$AutoCommitTransaction.remove(RestartStoreImpl.java:168) at com.terracottatech.frs.RestartStoreImpl$AutoCommitTransaction.remove(RestartStoreImpl.java:117) at net.sf.ehcache.store.heap.RestartableSelectableConcurrentHashMap$RestartableSegment.preRemove(RestartableSelectableConcurrentHashMap.java:278) at net.sf.ehcache.store.chm.SelectableConcurrentHashMap$Segment.remove(SelectableConcurrentHashMap.java:694) at net.sf.ehcache.store.chm.SelectableConcurrentHashMap.remove(SelectableConcurrentHashMap.java:429) at net.sf.ehcache.store.MemoryStore.remove(MemoryStore.java:331) at net.sf.ehcache.store.FrontEndCacheTier.remove(FrontEndCacheTier.java:314) at net.sf.ehcache.Cache.removeInternal(Cache.java:2335) at net.sf.ehcache.Cache.tryRemoveImmediately(Cache.java:2118) at net.sf.ehcache.Cache.elementStatsHelper(Cache.java:2079) at net.sf.ehcache.Cache.searchInStoreWithoutStats(Cache.java:2073) at net.sf.ehcache.Cache.getQuiet(Cache.java:1863) at com.renxo.cms.job.CacheStatisticsGatherer.execute(Unknown Source) at com.renxo.cms.process.JobMonitoredProcess$ProcessThread.run(Unknown Source) Caused by: java.io.EOFException at java.io.DataInputStream.readByte(DataInputStream.java:267) at net.sf.ehcache.store.offheap.portability.AbstractEhcachePortability.readObjects(AbstractEhcachePortability.java:72) at net.sf.ehcache.store.offheap.portability.EhcacheKeyPortability.decode(EhcacheKeyPortability.java:51) ... 20 more

    Terracotta Project Issue Tracker | 4 years ago | Manuel Dominguez Sarmiento
    net.sf.ehcache.CacheException: Failure while decoding key java.nio.HeapByteBuffer[pos=35 lim=35 cap=35]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. Aria Pahlavan 25 times, last 2 weeks ago
  2. poroszd 4 times, last 3 months ago
9 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.EOFException

    No message provided

    at java.io.DataInputStream.readByte()
  2. Java RT
    DataInputStream.readByte
    1. java.io.DataInputStream.readByte(DataInputStream.java:267)
    1 frame
  3. net.sf.ehcache
    RestartableSelectableConcurrentHashMap$RestartableSegment.getLsn
    1. net.sf.ehcache.store.offheap.portability.AbstractEhcachePortability.readObjects(AbstractEhcachePortability.java:72)
    2. net.sf.ehcache.store.offheap.portability.EhcacheKeyPortability.decode(EhcacheKeyPortability.java:51)
    3. net.sf.ehcache.store.offheap.portability.EhcacheKeyPortability.equals(EhcacheKeyPortability.java:60)
    4. net.sf.ehcache.store.heap.RestartableSelectableConcurrentHashMap$RestartableSegment.getLsn(RestartableSelectableConcurrentHashMap.java:193)
    5. net.sf.ehcache.store.heap.RestartableSelectableConcurrentHashMap$RestartableSegment.getLsn(RestartableSelectableConcurrentHashMap.java:60)
    5 frames
  4. com.terracottatech.frs
    RestartStoreImpl$AutoCommitTransaction.remove
    1. com.terracottatech.frs.object.AbstractObjectManagerStripe.getLsn(AbstractObjectManagerStripe.java:26)
    2. com.terracottatech.frs.object.AbstractObjectManager.getLsn(Unknown Source)
    3. com.terracottatech.frs.RemoveAction.<init>(RemoveAction.java:41)
    4. com.terracottatech.frs.RestartStoreImpl$AutoCommitTransaction.remove(RestartStoreImpl.java:168)
    5. com.terracottatech.frs.RestartStoreImpl$AutoCommitTransaction.remove(RestartStoreImpl.java:117)
    5 frames
  5. net.sf.ehcache
    RestartableSelectableConcurrentHashMap$RestartableSegment.preRemove
    1. net.sf.ehcache.store.heap.RestartableSelectableConcurrentHashMap$RestartableSegment.preRemove(RestartableSelectableConcurrentHashMap.java:278)
    1 frame
  6. Ehcache
    Cache.getQuiet
    1. net.sf.ehcache.store.chm.SelectableConcurrentHashMap$Segment.remove(SelectableConcurrentHashMap.java:694)
    2. net.sf.ehcache.store.chm.SelectableConcurrentHashMap.remove(SelectableConcurrentHashMap.java:429)
    3. net.sf.ehcache.store.MemoryStore.remove(MemoryStore.java:331)
    4. net.sf.ehcache.store.FrontEndCacheTier.remove(FrontEndCacheTier.java:314)
    5. net.sf.ehcache.Cache.removeInternal(Cache.java:2335)
    6. net.sf.ehcache.Cache.tryRemoveImmediately(Cache.java:2118)
    7. net.sf.ehcache.Cache.elementStatsHelper(Cache.java:2079)
    8. net.sf.ehcache.Cache.searchInStoreWithoutStats(Cache.java:2073)
    9. net.sf.ehcache.Cache.getQuiet(Cache.java:1863)
    9 frames
  7. com.renxo.cms
    JobMonitoredProcess$ProcessThread.run
    1. com.renxo.cms.job.CacheStatisticsGatherer.execute(Unknown Source)
    2. com.renxo.cms.process.JobMonitoredProcess$ProcessThread.run(Unknown Source)
    2 frames