net.sf.ehcache.CacheException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Terracotta Project Issue Tracker
    via by Unknown author,
  • 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
    via by Manuel Dominguez Sarmiento,
  • 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
    via by Manuel Dominguez Sarmiento,
  • JavaFX - CSS can't be load in Linux
    via Stack Overflow by Leonardo
    ,
  • EOFException thrown by a Hadoop pipes program
    via Stack Overflow by peng
    ,
    • 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

    Users with the same issue

    poroszd
    4 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    12 more bugmates