java.io.EOFException: reached end of stream after reading 0 bytes; 717339 bytes expected

sling-users | Julian Sedding | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: How to reindex lucene

    sling-users | 1 year ago | Julian Sedding
    java.io.EOFException: reached end of stream after reading 0 bytes; 717339 bytes expected
  2. 0

    Re: How to reindex lucene

    sling-users | 1 year ago | Julian Sedding
    java.io.EOFException: reached end of stream after reading 0 bytes; 717339 bytes expected
  3. 0

    Re: How to reindex lucene

    sling-users | 1 year ago | Julian Sedding
    java.io.EOFException: reached end of stream after reading 0 bytes; 717339 bytes expected
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: How to reindex lucene

    sling-users | 1 year ago | Roy Teeuwen
    java.io.EOFException: reached end of stream after reading 0 bytes; 717339 bytes expected
  6. 0

    Re: How to reindex lucene

    sling-users | 1 year ago | Chetan Mehrotra
    java.io.EOFException: reached end of stream after reading 0 bytes; 717339 bytes expected

    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. java.io.EOFException

      reached end of stream after reading 0 bytes; 717339 bytes expected

      at com.google.common.io.ByteStreams.readFully()
    2. Guava
      ByteStreams.readFully
      1. com.google.common.io.ByteStreams.readFully(ByteStreams.java:697)
      1 frame
    3. org.apache.jackrabbit
      OakDirectory$OakIndexInput.readByte
      1. org.apache.jackrabbit.oak.plugins.index.lucene.OakDirectory$OakIndexFile.loadBlob(OakDirectory.java:261)
      2. org.apache.jackrabbit.oak.plugins.index.lucene.OakDirectory$OakIndexFile.readBytes(OakDirectory.java:307)
      3. org.apache.jackrabbit.oak.plugins.index.lucene.OakDirectory$OakIndexInput.readBytes(OakDirectory.java:404)
      4. org.apache.jackrabbit.oak.plugins.index.lucene.OakDirectory$OakIndexInput.readByte(OakDirectory.java:411)
      4 frames
    4. Lucene
      DirectoryReader.open
      1. org.apache.lucene.store.DataInput.readVInt(DataInput.java:108)
      2. org.apache.lucene.store.CompoundFileDirectory.readEntries(CompoundFileDirectory.java:137)
      3. org.apache.lucene.store.CompoundFileDirectory.<init>(CompoundFileDirectory.java:104)
      4. org.apache.lucene.index.SegmentReader.readFieldInfos(SegmentReader.java:202)
      5. org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:95)
      6. org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:62)
      7. org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:843)
      8. org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:52)
      9. org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:66)
      9 frames
    5. org.apache.jackrabbit
      MembershipProvider$1.getNext
      1. org.apache.jackrabbit.oak.plugins.index.lucene.IndexNode.<init>(IndexNode.java:94)
      2. org.apache.jackrabbit.oak.plugins.index.lucene.IndexNode.open(IndexNode.java:62)
      3. org.apache.jackrabbit.oak.plugins.index.lucene.IndexTracker.findIndexNode(IndexTracker.java:162)
      4. org.apache.jackrabbit.oak.plugins.index.lucene.IndexTracker.acquireIndexNode(IndexTracker.java:137)
      5. org.apache.jackrabbit.oak.plugins.index.lucene.LucenePropertyIndex.getPlans(LucenePropertyIndex.java:202)
      6. org.apache.jackrabbit.oak.query.QueryImpl.getBestSelectorExecutionPlan(QueryImpl.java:837)
      7. org.apache.jackrabbit.oak.query.QueryImpl.getBestSelectorExecutionPlan(QueryImpl.java:783)
      8. org.apache.jackrabbit.oak.query.ast.SelectorImpl.prepare(SelectorImpl.java:282)
      9. org.apache.jackrabbit.oak.query.QueryImpl.prepare(QueryImpl.java:563)
      10. org.apache.jackrabbit.oak.query.QueryEngineImpl.executeQuery(QueryEngineImpl.java:177)
      11. org.apache.jackrabbit.oak.plugins.identifier.IdentifierManager.getReferences(IdentifierManager.java:221)
      12. org.apache.jackrabbit.oak.security.user.MembershipProvider.getMembership(MembershipProvider.java:157)
      13. org.apache.jackrabbit.oak.security.user.MembershipProvider.access$000(MembershipProvider.java:103)
      14. org.apache.jackrabbit.oak.security.user.MembershipProvider$1.getNext(MembershipProvider.java:197)
      15. org.apache.jackrabbit.oak.security.user.MembershipProvider$1.getNext(MembershipProvider.java:161)
      15 frames
    6. Jackrabbit JCR Commons
      AbstractLazyIterator.hasNext
      1. org.apache.jackrabbit.commons.iterator.AbstractLazyIterator.hasNext(AbstractLazyIterator.java:39)
      1 frame
    7. org.apache.jackrabbit
      MembershipProvider$1.getNext
      1. org.apache.jackrabbit.oak.security.user.MembershipProvider$1.getNext(MembershipProvider.java:173)
      2. org.apache.jackrabbit.oak.security.user.MembershipProvider$1.getNext(MembershipProvider.java:161)
      2 frames
    8. Jackrabbit JCR Commons
      AbstractLazyIterator.hasNext
      1. org.apache.jackrabbit.commons.iterator.AbstractLazyIterator.hasNext(AbstractLazyIterator.java:39)
      1 frame
    9. Guava
      AbstractIterator.hasNext
      1. com.google.common.collect.Iterators$5.hasNext(Iterators.java:542)
      2. com.google.common.collect.TransformedIterator.hasNext(TransformedIterator.java:43)
      3. com.google.common.collect.Iterators$7.computeNext(Iterators.java:645)
      4. com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
      5. com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
      5 frames
    10. org.apache.jackrabbit
      AuthorizableIterator.hasNext
      1. org.apache.jackrabbit.oak.security.user.AuthorizableIterator.hasNext(AuthorizableIterator.java:58)
      1 frame
    11. Jackrabbit JCR Commons
      RangeIteratorAdapter.hasNext
      1. org.apache.jackrabbit.commons.iterator.RangeIteratorAdapter.hasNext(RangeIteratorAdapter.java:132)
      1 frame
    12. org.apache.jackrabbit
      TokenLoginModule.login
      1. org.apache.jackrabbit.oak.security.principal.PrincipalProviderImpl.getGroupMembership(PrincipalProviderImpl.java:151)
      2. org.apache.jackrabbit.oak.security.principal.PrincipalProviderImpl.getPrincipals(PrincipalProviderImpl.java:102)
      3. org.apache.jackrabbit.oak.spi.security.principal.CompositePrincipalProvider.getPrincipals(CompositePrincipalProvider.java:66)
      4. org.apache.jackrabbit.oak.spi.security.authentication.AbstractLoginModule.getPrincipals(AbstractLoginModule.java:493)
      5. org.apache.jackrabbit.oak.security.authentication.token.TokenLoginModule.login(TokenLoginModule.java:141)
      5 frames
    13. Apache Felix JAAS Support
      ProxyLoginModule.login
      1. org.apache.felix.jaas.boot.ProxyLoginModule.login(ProxyLoginModule.java:52)
      1 frame
    14. Java RT
      LoginContext.login
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      5. javax.security.auth.login.LoginContext.invoke(LoginContext.java:755)
      6. javax.security.auth.login.LoginContext.access$000(LoginContext.java:195)
      7. javax.security.auth.login.LoginContext$4.run(LoginContext.java:682)
      8. javax.security.auth.login.LoginContext$4.run(LoginContext.java:680)
      9. java.security.AccessController.doPrivileged(Native Method)
      10. javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
      11. javax.security.auth.login.LoginContext.login(LoginContext.java:587)
      11 frames
    15. org.apache.jackrabbit
      RepositoryImpl.login
      1. org.apache.jackrabbit.oak.core.ContentRepositoryImpl.login(ContentRepositoryImpl.java:161)
      2. org.apache.jackrabbit.oak.jcr.repository.RepositoryImpl.login(RepositoryImpl.java:261)
      2 frames
    16. com.adobe.granite
      CRX3RepositoryImpl.login
      1. com.adobe.granite.repository.impl.CRX3RepositoryImpl.login(CRX3RepositoryImpl.java:92)
      1 frame
    17. org.apache.jackrabbit
      RepositoryImpl.login
      1. org.apache.jackrabbit.oak.jcr.repository.RepositoryImpl.login(RepositoryImpl.java:200)
      1 frame
    18. org.apache.sling
      SlingAuthenticator.handleSecurity
      1. org.apache.sling.jcr.base.AbstractSlingRepository2.login(AbstractSlingRepository2.java:297)
      2. org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProviderFactory.getResourceProviderInternal(JcrResourceProviderFactory.java:297)
      3. org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProviderFactory.getResourceProvider(JcrResourceProviderFactory.java:209)
      4. org.apache.sling.resourceresolver.impl.tree.ResourceProviderFactoryHandler.login(ResourceProviderFactoryHandler.java:164)
      5. org.apache.sling.resourceresolver.impl.tree.RootResourceProviderEntry.loginToRequiredFactories(RootResourceProviderEntry.java:95)
      6. org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.getResourceResolverInternal(CommonResourceResolverFactoryImpl.java:250)
      7. org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.getResourceResolver(CommonResourceResolverFactoryImpl.java:152)
      8. org.apache.sling.resourceresolver.impl.ResourceResolverFactoryImpl.getResourceResolver(ResourceResolverFactoryImpl.java:99)
      9. org.apache.sling.auth.core.impl.SlingAuthenticator.getResolver(SlingAuthenticator.java:760)
      10. org.apache.sling.auth.core.impl.SlingAuthenticator.doHandleSecurity(SlingAuthenticator.java:483)
      11. org.apache.sling.auth.core.impl.SlingAuthenticator.handleSecurity(SlingAuthenticator.java:438)
      11 frames
    19. com.day.crx
      AuthHttpContext.handleSecurity
      1. com.day.crx.delite.impl.AuthHttpContext.handleSecurity(AuthHttpContext.java:71)
      1 frame
    20. Felix Http Bridge
      HttpFilterChain.doFilter
      1. org.apache.felix.http.base.internal.context.ServletContextImpl.handleSecurity(ServletContextImpl.java:335)
      2. org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:337)
      3. org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:300)
      4. org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:93)
      5. org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:50)
      6. org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
      6 frames
    21. org.apache.sling
      I18NFilter.doFilter
      1. org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:128)
      1 frame
    22. Felix Http Bridge
      HttpFilterChain.doFilter
      1. org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108)
      2. org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80)
      3. org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46)
      4. org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
      4 frames
    23. Apache Felix Http SSL Filter
      SslFilter.doFilter
      1. org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:89)
      1 frame
    24. Felix Http Bridge
      HttpFilterChain.doFilter
      1. org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108)
      2. org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80)
      3. org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46)
      4. org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
      4 frames
    25. com.adobe.granite
      LicenseCheckFilter.doFilter
      1. com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:300)
      1 frame
    26. Felix Http Bridge
      HttpFilterChain.doFilter
      1. org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108)
      2. org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80)
      3. org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46)
      4. org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
      4 frames
    27. Apache Felix Http SSL Filter
      SslFilter.doFilter
      1. org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:55)
      1 frame
    28. Felix Http Bridge
      HttpFilterChain.doFilter
      1. org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108)
      2. org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80)
      3. org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46)
      4. org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
      4 frames
    29. org.apache.sling
      ReferrerFilter.doFilter
      1. org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:290)
      1 frame
    30. Felix Http Bridge
      HttpFilterChain.doFilter
      1. org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108)
      2. org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80)
      3. org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46)
      4. org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
      4 frames
    31. org.apache.sling
      FeatureManager.doFilter
      1. org.apache.sling.featureflags.impl.FeatureManager.doFilter(FeatureManager.java:115)
      1 frame
    32. Felix Http Bridge
      HttpFilterChain.doFilter
      1. org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108)
      2. org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80)
      3. org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46)
      4. org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
      4 frames
    33. org.apache.sling
      RequestLoggerFilter.doFilter
      1. org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75)
      1 frame
    34. Felix Http Bridge
      DispatcherServlet.service
      1. org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:108)
      2. org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:80)
      3. org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46)
      4. org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
      5. org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:84)
      6. org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:46)
      7. org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:31)
      8. org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:76)
      9. org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:49)
      10. org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)
      10 frames
    35. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      1 frame
    36. Jetty
      AsyncHttpConnection.handle
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
      3. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)
      4. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
      5. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
      6. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
      7. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
      8. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      9. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
      10. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      11. org.eclipse.jetty.server.Server.handle(Server.java:370)
      12. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
      13. org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
      14. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
      15. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
      16. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
      17. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
      17 frames
    37. GWT dev
      SelectChannelEndPoint$1.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)
      2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
      2 frames
    38. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
      2 frames
    39. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame