net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header

Terracotta | dhrp | 5 years ago
  1. 0

    StreamCorruptedException while using ehcache 2.5 on RHEL 4 platform

    Terracotta | 5 years ago | dhrp
    net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header
  2. 0

    DateTimeZone and Stub subclass

    Stack Overflow | 5 years ago | Ilya
    net.sf.ehcache.CacheException: When configured copyOnRead or copyOnWrite, a Store will only accept Serializable values
  3. 0

    DiskStore E net.sf.ehcache.store.DiskStore Could not create disk store (The file access permissions do not allow the specified action.)

    Stack Overflow | 10 months ago | Brijesh
    net.sf.ehcache.CacheException: com.c2lbiz.symbiosys.insurance.businesscommon.dataobjects.product.FacetDO Cache: The Disk store is not active.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.io.InvalidClassException on intrface during deserialization

    Terracotta | 3 years ago | pomelko
    net.sf.ehcache.CacheException: java.lang.AssertionError: java.io.InvalidClassException: IProduct; local class incompatible: stream classdesc serialVersionUID = -57040766891247554, local class serialVersionUID = -3776498516536327490
  6. 0

    Re:StreamCorruptedException

    Terracotta | 5 years ago | mcintosh
    net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header

    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

      java.io.StreamCorruptedException: invalid stream header

      at net.sf.ehcache.store.disk.DiskStorageFactory.retrieve()
    2. Ehcache
      Cache.get
      1. net.sf.ehcache.store.disk.DiskStorageFactory.retrieve(DiskStorageFactory.java:964)
      2. net.sf.ehcache.store.disk.Segment.decodeHit(Segment.java:178)
      3. net.sf.ehcache.store.disk.Segment.get(Segment.java:216)
      4. net.sf.ehcache.store.disk.DiskStore.get(DiskStore.java:504)
      5. net.sf.ehcache.store.disk.DiskStore.getQuiet(DiskStore.java:511)
      6. net.sf.ehcache.store.FrontEndCacheTier.getQuiet(FrontEndCacheTier.java:196)
      7. net.sf.ehcache.Cache.searchInStoreWithoutStats(Cache.java:2101)
      8. net.sf.ehcache.Cache.get(Cache.java:1630)
      8 frames
    3. Spring Context Support
      EhCacheCache.get
      1. org.springframework.cache.ehcache.EhCacheCache.get(EhCacheCache.java:65)
      1 frame