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

Solutions on the web

via Sonatype JIRA by Tamás Cservenák, 1 year ago
net.sf.ehcache.CacheException: java.io.OptionalDataException
java.io.EOFException: null	at java.io.RandomAccessFile.readFully(RandomAccessFile.java:410)	at java.io.RandomAccessFile.readFully(RandomAccessFile.java:388)	at net.sf.ehcache.store.disk.DiskStorageFactory.read(DiskStorageFactory.java:372)	at net.sf.ehcache.store.disk.DiskStorageFactory.retrieve(DiskStorageFactory.java:937)	at net.sf.ehcache.store.disk.Segment.decode(Segment.java:167)	at net.sf.ehcache.store.disk.Segment.put(Segment.java:444)	at net.sf.ehcache.store.disk.DiskStore.put(DiskStore.java:477)	at net.sf.ehcache.store.FrontEndCacheTier.put(FrontEndCacheTier.java:257)	at net.sf.ehcache.Cache.putInternal(Cache.java:1489)	at net.sf.ehcache.Cache.put(Cache.java:1417)	at net.sf.ehcache.Cache.put(Cache.java:1382)	at org.apache.shiro.cache.ehcache.EhCache.put(EhCache.java:102)	at org.apache.shiro.session.mgt.eis.CachingSessionDAO.cache(CachingSessionDAO.java:247)	at org.apache.shiro.session.mgt.eis.CachingSessionDAO.cache(CachingSessionDAO.java:235)	at org.apache.shiro.session.mgt.eis.CachingSessionDAO.update(CachingSessionDAO.java:280)	at org.apache.shiro.session.mgt.DefaultSessionManager.onChange(DefaultSessionManager.java:212)	at org.apache.shiro.session.mgt.AbstractNativeSessionManager.touch(AbstractNativeSessionManager.java:193)	at org.apache.shiro.session.mgt.DelegatingSession.touch(DelegatingSession.java:120)	at org.apache.shiro.session.ProxiedSession.touch(ProxiedSession.java:100)	at org.apache.shiro.web.servlet.AbstractShiroFilter.updateSessionLastAccessTime(AbstractShiroFilter.java:315)	at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:364)	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:383)	at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)	at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)	at com.sonatype.nexus.licensing.internal.LicensingRedirectFilter.doFilter(LicensingRedirectFilter.java:135)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)	at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)	at com.yammer.metrics.web.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:76)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at org.sonatype.nexus.web.internal.CommonHeadersFilter.doFilter(CommonHeadersFilter.java:67)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at org.sonatype.nexus.web.internal.ErrorPageFilter.doFilter(ErrorPageFilter.java:71)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at org.sonatype.nexus.web.internal.BaseUrlHolderFilter.doFilter(BaseUrlHolderFilter.java:70)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)	at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)	at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterPipeline.dispatch(NexusGuiceFilter.java:56)	at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:132)	at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:129)	at com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:206)	at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:129)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)	at com.yammer.metrics.jetty.InstrumentedHandler.handle(InstrumentedHandler.java:200)	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)	at org.eclipse.jetty.server.Server.handle(Server.java:370)	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)	at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949)	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)	at java.lang.Thread.run(Thread.java:744)