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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Terracotta by dhrp, 1 year ago
java.io.StreamCorruptedException: invalid stream header
net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header
at net.sf.ehcache.store.disk.DiskStorageFactory.retrieve(DiskStorageFactory.java:964)
at net.sf.ehcache.store.disk.Segment.decodeHit(Segment.java:178)
at net.sf.ehcache.store.disk.Segment.get(Segment.java:216)
at net.sf.ehcache.store.disk.DiskStore.get(DiskStore.java:504)
at net.sf.ehcache.store.disk.DiskStore.getQuiet(DiskStore.java:511)
at net.sf.ehcache.store.FrontEndCacheTier.getQuiet(FrontEndCacheTier.java:196)
at net.sf.ehcache.Cache.searchInStoreWithoutStats(Cache.java:2101)
at net.sf.ehcache.Cache.get(Cache.java:1630)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.