Solutions on the web

java.io.OptionalDataException: at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349) at java.util.HashMap.readObject(HashMap.java:1029) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:969) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1775) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1327) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349) at net.sf.ehcache.SerializationModeElementData.create(SerializationModeElementData.java:28) at org.terracotta.modules.ehcache.store.ElementSerializationStrategy.deserialize(ElementSerializationStrategy.java:68) at org.terracotta.modules.ehcache.store.ElementSerializationStrategy.deserialize(ElementSerializationStrategy.java:29) at org.terracotta.modules.ehcache.store.ElementSerializationStrategy.deserialize(ElementSerializationStrategy.java:19) at org.terracotta.cache.serialization.SerializedEntry.getDeserializedValue(SerializedEntry.java:176) at org.terracotta.cache.serialization.SerializedEntry.getDeserializedValue(SerializedEntry.java:156) at org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization.createElement(ValueModeHandlerSerialization.java:119) at org.terracotta.modules.ehcache.store.ValueModeHandlerHibernate.createElement(ValueModeHandlerHibernate.java:8) at org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization.createElement(ValueModeHandlerSerialization.java:95) at org.terracotta.modules.ehcache.store.ValueModeHandlerHibernate.createElement(ValueModeHandlerHibernate.java:8) at org.terracotta.modules.ehcache.store.backend.NonStrictBackend.get(NonStrictBackend.java:184) at org.terracotta.modules.ehcache.store.ClusteredStore.doGet(ClusteredStore.java:421) at org.terracotta.modules.ehcache.store.ClusteredStore.get(ClusteredStore.java:407) at org.terracotta.modules.ehcache.store.ClusteredSafeStore.get(ClusteredSafeStore.java:682) at net.sf.ehcache.Cache.searchInStoreWithoutStats(Cache.java:2072) at net.sf.ehcache.Cache.get(Cache.java:1590) at net.sf.ehcache.Cache.get(Cache.java:1557) at grails.plugin.ehcachesession.EhCachePersisterManager.getSession(EhCachePersisterManager.groovy:88) at grails.plugin.ehcachesession.EhCachePersisterService.isValid(EhCachePersisterService.groovy:156) at grails.plugin.ehcachesession.SessionProxyFilter.proxySession(SessionProxyFilter.java:90) at grails.plugin.ehcachesession.SessionProxyFilter$1.getSession(SessionProxyFilter.java:47) at org.apache.shiro.web.servlet.ShiroHttpServletRequest.getSession(ShiroHttpServletRequest.java:141) at org.apache.shiro.web.servlet.ShiroHttpServletRequest.getSession(ShiroHttpServletRequest.java:163) at grails.plugin.ehcachesession.SessionFilters$_closure1_closure2_closure3.doCall(SessionFilters.groovy:25) at org.apache.shiro.grails.SavedRequestFilter.doFilter(SavedRequestFilter.java:55) at com.planetj.servlet.filter.compression.CompressingFilter.doFilter(CompressingFilter.java:270) at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:359) at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:275) at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:344) at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:272) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81) at com.studentsonly.grails.plugins.uiperformance.CacheFilter.doFilter(CacheFilter.java:67) at grails.plugin.ehcachesession.SessionProxyFilter.doFilterInternal(SessionProxyFilter.java:60) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662)

Users with the same issue

Unknown user

Once, 1 year ago

Unknown user

Once, 1 year ago

Unknown user

Once, 1 year ago

Write tip

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