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

Terracotta Project Issue Tracker | Lee Gilbert | 4 years ago
  1. 0

    Under heavy read/write load we get the following trace: {code} 2013-04-26 16:48:12,776 ERROR [com.pfmclient.trans.AbstractTCMSQL] (TRNRunner-5-t-11) net.sf.ehcache.CacheException: Failed while decoding element java.nio.HeapByteBufferR[pos=870563 lim=870568 cap=870568] (TRNRunner-5-t-11) [AbstractPortfolioData{id=184712, code=190532, currency=NZD, 32}] SQLExceptionException in getTransactions() 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) [:] {code}

    Terracotta Project Issue Tracker | 4 years ago | Lee Gilbert
    net.sf.ehcache.CacheException: Failed while decoding element java.nio.HeapByteBufferR[pos=870563 lim=870568 cap=870568]
  2. 0

    Under heavy read/write load we get the following trace: {code} 2013-04-26 16:48:12,776 ERROR [com.pfmclient.trans.AbstractTCMSQL] (TRNRunner-5-t-11) net.sf.ehcache.CacheException: Failed while decoding element java.nio.HeapByteBufferR[pos=870563 lim=870568 cap=870568] (TRNRunner-5-t-11) [AbstractPortfolioData{id=184712, code=190532, currency=NZD, 32}] SQLExceptionException in getTransactions() 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) [:] {code}

    Terracotta Project Issue Tracker | 4 years ago | Lee Gilbert
    net.sf.ehcache.CacheException: Failed while decoding element java.nio.HeapByteBufferR[pos=870563 lim=870568 cap=870568]
  3. 0

    EHCACHE : Error configuring from input stream. Initial cause was null

    terracotta.org | 1 year ago
    net.sf.ehcache.CacheException: Error configuring from input stream. Initial cause was null:13: Could not create nested element <diskStore>.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Element &lt;cache&gt; does not allow attribute "maxElementsOnDisk"

    Terracotta | 7 years ago | avarg
    net.sf.ehcache.CacheException: Error configuring from file:/C://ehcache.xml. Initial cause was Error configuring from input stream. Initial cause was null:295: Element does not allow attribute "maxElementsOnDisk".
  6. 0

    Messages posted by rune66

    terracotta.org | 12 months ago
    net.sf.ehcache.CacheException: Failed to serialize element due to ConcurrentModificationException. This is frequently the result of inappropriately sharing thread unsafe object (eg. ArrayList, HashMap, etc) between threads

    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. 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()
    2. net.sf.ehcache
      EhcacheElementPortability.decode
      1. net.sf.ehcache.store.offheap.portability.EhcacheElementPortability.decode(EhcacheElementPortability.java:125)[:]
      2. net.sf.ehcache.store.offheap.portability.EhcacheElementPortability.decode(EhcacheElementPortability.java:29)[:]
      2 frames
    3. com.terracottatech.offheapstore
      AbstractConcurrentOffHeapMap.remove
      1. com.terracottatech.offheapstore.storage.PortabilityBasedStorageEngine.readValue(PortabilityBasedStorageEngine.java:93)[:]
      2. com.terracottatech.offheapstore.OffHeapHashMap.remove(OffHeapHashMap.java:727)[:]
      3. com.terracottatech.offheapstore.AbstractLockedOffHeapHashMap.remove(AbstractLockedOffHeapHashMap.java:165)[:]
      4. com.terracottatech.offheapstore.AbstractOffHeapClockCache.remove(AbstractOffHeapClockCache.java:293)[:]
      5. com.terracottatech.offheapstore.concurrent.AbstractConcurrentOffHeapMap.remove(AbstractConcurrentOffHeapMap.java:206)[:]
      5 frames
    4. net.sf.ehcache
      OffHeapCachingTier.remove
      1. net.sf.ehcache.store.offheap.cachingtier.OffHeapCachingTier.remove(OffHeapCachingTier.java:117)[:]
      1 frame
    5. Ehcache
      Cache.put
      1. net.sf.ehcache.store.CacheStore.put(CacheStore.java:138)[:]
      2. net.sf.ehcache.Cache.putInternal(Cache.java:1500)[:]
      3. net.sf.ehcache.Cache.put(Cache.java:1426)[:]
      4. net.sf.ehcache.Cache.put(Cache.java:1391)[:]
      4 frames