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

,
Expert tip

Update Tomcat container adapters to 1.0.0.CR8 or further. If that doesn't work, 0D0A3C21 in ASCII is <!, first characters in a HTML file, so, check if you're not reading a different file or if there's an issue with your deserialization.

,
Expert tip

If you're using Liferay, check the steps in the last message on how to fix it: https://goo.gl/feXWKU

Solutions on the web

via Terracotta by mcintosh, 1 year ago
java.io.StreamCorruptedException: invalid stream header ------
net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header ------
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:764)
at java.io.ObjectInputStream.(ObjectInputStream.java:277)
at net.sf.ehcache.store.compound.factories.DiskStorageFactory$2.(DiskStorageFactory.java:272)
at net.sf.ehcache.store.compound.factories.DiskStorageFactory.read(DiskStorageFactory.java:272)
at net.sf.ehcache.store.compound.factories.DiskPersistentStorageFactory.retrieve(DiskPersistentStorageFactory.java:203)
at net.sf.ehcache.store.compound.factories.DiskPersistentStorageFactory.retrieve(DiskPersistentStorageFactory.java:211)
at net.sf.ehcache.store.compound.Segment.decode(Segment.java:177)
at net.sf.ehcache.store.compound.Segment.get(Segment.java:229)
at net.sf.ehcache.store.compound.CompoundStore.get(CompoundStore.java:169)
at net.sf.ehcache.Cache.searchInStoreWithStats(Cache.java:1899)
at net.sf.ehcache.Cache.get(Cache.java:1549)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

Users with the same issue

Once, 3 months ago
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago
Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
50 more bugmates

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