java.io.IOException: read past EOF

Sonatype JIRA | Kristine O'Connor | 8 years ago
  1. 0

    Update the Maven Central repo and set the Download Remote Indexes to True => reindex the Maven Central repository => Before the reindex is completed, do a search for maven => An error is logged in the nexus.log: 2008-07-16 09:48:31.031 INFO [pxpool-1-thread-1:] - org.sonatype.nexus.feeds.FeedRecorder:default: Reindexing repository with ID=central : Process started on Wed Jul 16 09:48:31 MST 2008, not yet finished. 2008-07-16 09:48:31.125 INFO [pxpool-1-thread-1:] - org.sonatype.nexus.index.IndexerManager:default: Trying to get remote index for repository central 2008-07-16 09:48:31.562 INFO [pxpool-1-thread-1:] - org.sonatype.nexus.proxy.attributes.AttributeStorage:default: Attribute storage directory does not exists, creating it here: C:\Nexus\runtime\work\nexus\proxy\attributes 2008-07-16 09:48:58.312 INFO [pxpool-1-thread-2:] - org.sonatype.nexus.feeds.FeedRecorder:default: Rebuilding Attributes of repository with ID=central : Process started on Wed Jul 16 09:48:58 MST 2008, not yet finished. 2008-07-16 09:48:58.312 INFO [pxpool-1-thread-2:] - org.sonatype.nexus.proxy.repository.Repository:maven2: Recreating Maven attributes on repository central 2008-07-16 09:48:59.937 INFO [pxpool-1-thread-2:] - org.sonatype.nexus.feeds.FeedRecorder:default: Rebuilding Attributes of repository with ID=central : Process started on Wed Jul 16 09:48:58 MST 2008, finished succesfully on Wed Jul 16 09:48:59 MST 2008 2008-07-16 09:49:13.484 INFO [btpool0-14 - /nexus/service/local/logs?_dc=1216226953474:] - org.sonatype.nexus.Nexus:default: List log files. 2008-07-16 09:49:15.468 INFO [btpool0-5 - /nexus/service/local/logs/nexus.log?_dc=1216226955442:] - org.sonatype.nexus.Nexus:default: Retrieving nexus.log log file. 2008-07-16 09:50:07.609 INFO [btpool0-12 - /nexus/service/local/logs/nexus.log?_dc=1216227007593:] - org.sonatype.nexus.Nexus:default: Retrieving nexus.log log file. 2008-07-16 09:50:46.187 ERROR [btpool0-13 - /nexus/service/local/data_index?_dc=1216227045093&from=0&count=50&q=maven:] - org.sonatype.nexus.index.IndexerManager:default: Got I/O exception while searching for query "maven" java.io.IOException: read past EOF at org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java:130) at org.apache.lucene.index.CompoundFileReader$CSIndexInput.readInternal(CompoundFileReader.java:240) at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:152) at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:38) at org.apache.lucene.store.IndexInput.readInt(IndexInput.java:66) at org.apache.lucene.index.SegmentTermEnum.<init>(SegmentTermEnum.java:50) at org.apache.lucene.index.TermInfosReader.<init>(TermInfosReader.java:61) at org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:317) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:262) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:230) at org.apache.lucene.index.DirectoryIndexReader$1.doBody(DirectoryIndexReader.java:73) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:636) at org.apache.lucene.index.DirectoryIndexReader.open(DirectoryIndexReader.java:63) at org.apache.lucene.index.IndexReader.open(IndexReader.java:209) at org.apache.lucene.index.IndexReader.open(IndexReader.java:192) at org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexReader(DefaultIndexingContext.java:360) at org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexSearcher(DefaultIndexingContext.java:377) at org.sonatype.nexus.index.search.DefaultSearchEngine.searchFlat(DefaultSearchEngine.java:57) at org.sonatype.nexus.index.search.DefaultSearchEngine.searchFlatPaged(DefaultSearchEngine.java:167) at org.sonatype.nexus.index.DefaultNexusIndexer.searchFlat(DefaultNexusIndexer.java:641) at org.sonatype.nexus.index.DefaultIndexerManager.searchArtifactFlat(DefaultIndexerManager.java:890) at org.sonatype.nexus.DefaultNexus.searchArtifactFlat(DefaultNexus.java:1229) at org.sonatype.nexus.rest.index.IndexResourceHandler.getRepresentationHandler(IndexResourceHandler.java:105) at org.sonatype.nexus.rest.AbstractNexusResourceHandler.getRepresentation(AbstractNexusResourceHandler.java:402) at org.restlet.resource.Resource.handleGet(Resource.java:415) at org.sonatype.nexus.rest.AbstractNexusResourceHandler.handleGet(AbstractNexusResourceHandler.java:336) at org.restlet.Finder.handle(Finder.java:293) at org.sonatype.nexus.rest.NexusWriteAccessAuthenticationGuard.doHandle(NexusWriteAccessAuthenticationGuard.java:51) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Router.handle(Router.java:445) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Guard.accept(Guard.java:83) at org.restlet.Guard.doHandle(Guard.java:198) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Router.handle(Router.java:445) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Filter.doHandle(Filter.java:105) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:98) at org.restlet.Application.handle(Application.java:294) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Router.handle(Router.java:445) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Router.handle(Router.java:445) at org.restlet.Filter.doHandle(Filter.java:105) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at com.noelios.restlet.component.ComponentHelper.handle(ComponentHelper.java:120) at org.restlet.Component.handle(Component.java:231) at org.restlet.Server.handle(Server.java:282) at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:100) at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:94) at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:398) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:320) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) 2008-07-16 09:50:46.375 INFO [pxpool-1-thread-1:] - org.sonatype.nexus.index.IndexerManager:default: Remote indexes published and imported succesfully for repository central

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    java.io.IOException: read past EOF
  2. 0

    After a SWAP core (reindex -> live) my slave machine is corrupt

    Stack Overflow | 5 years ago | Kees Schepers
    org.apache.solr.common.SolrException: Index fetch failed :
  3. 0

    java.io.IOException: read past EOF Lucene in Java with Eclipse

    Stack Overflow | 1 year ago | hugh
    java.io.IOException: read past EOF
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.io.IOException: read past EOF non-corrupt index | Lucene | Java-User

    gossamer-threads.com | 7 months ago
    java.io.IOException: read past EOF

    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.IOException

      read past EOF

      at org.apache.lucene.store.BufferedIndexInput.readBytes()
    2. Lucene
      IndexReader.open
      1. org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java:130)
      2. org.apache.lucene.index.CompoundFileReader$CSIndexInput.readInternal(CompoundFileReader.java:240)
      3. org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:152)
      4. org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:38)
      5. org.apache.lucene.store.IndexInput.readInt(IndexInput.java:66)
      6. org.apache.lucene.index.SegmentTermEnum.<init>(SegmentTermEnum.java:50)
      7. org.apache.lucene.index.TermInfosReader.<init>(TermInfosReader.java:61)
      8. org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:317)
      9. org.apache.lucene.index.SegmentReader.get(SegmentReader.java:262)
      10. org.apache.lucene.index.SegmentReader.get(SegmentReader.java:230)
      11. org.apache.lucene.index.DirectoryIndexReader$1.doBody(DirectoryIndexReader.java:73)
      12. org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:636)
      13. org.apache.lucene.index.DirectoryIndexReader.open(DirectoryIndexReader.java:63)
      14. org.apache.lucene.index.IndexReader.open(IndexReader.java:209)
      15. org.apache.lucene.index.IndexReader.open(IndexReader.java:192)
      15 frames
    3. Sonatype Nexus Indexer
      DefaultIndexingContext.getIndexSearcher
      1. org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexReader(DefaultIndexingContext.java:360)
      2. org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexSearcher(DefaultIndexingContext.java:377)
      2 frames
    4. org.sonatype.nexus
      DefaultSearchEngine.searchFlatPaged
      1. org.sonatype.nexus.index.search.DefaultSearchEngine.searchFlat(DefaultSearchEngine.java:57)
      2. org.sonatype.nexus.index.search.DefaultSearchEngine.searchFlatPaged(DefaultSearchEngine.java:167)
      2 frames
    5. Sonatype Nexus Indexer
      DefaultIndexerManager.searchArtifactFlat
      1. org.sonatype.nexus.index.DefaultNexusIndexer.searchFlat(DefaultNexusIndexer.java:641)
      2. org.sonatype.nexus.index.DefaultIndexerManager.searchArtifactFlat(DefaultIndexerManager.java:890)
      2 frames
    6. ${project.groupId}:${project.artifactId}
      DefaultNexus.searchArtifactFlat
      1. org.sonatype.nexus.DefaultNexus.searchArtifactFlat(DefaultNexus.java:1229)
      1 frame
    7. org.sonatype.nexus
      IndexResourceHandler.getRepresentationHandler
      1. org.sonatype.nexus.rest.index.IndexResourceHandler.getRepresentationHandler(IndexResourceHandler.java:105)
      1 frame
    8. Nexus Core
      AbstractNexusResourceHandler.getRepresentation
      1. org.sonatype.nexus.rest.AbstractNexusResourceHandler.getRepresentation(AbstractNexusResourceHandler.java:402)
      1 frame
    9. org.restlet.resource
      Resource.handleGet
      1. org.restlet.resource.Resource.handleGet(Resource.java:415)
      1 frame
    10. Nexus Core
      AbstractNexusResourceHandler.handleGet
      1. org.sonatype.nexus.rest.AbstractNexusResourceHandler.handleGet(AbstractNexusResourceHandler.java:336)
      1 frame
    11. org.restlet
      Finder.handle
      1. org.restlet.Finder.handle(Finder.java:293)
      1 frame
    12. Nexus Core
      NexusWriteAccessAuthenticationGuard.doHandle
      1. org.sonatype.nexus.rest.NexusWriteAccessAuthenticationGuard.doHandle(NexusWriteAccessAuthenticationGuard.java:51)
      1 frame
    13. org.restlet
      Filter.doHandle
      1. org.restlet.Filter.handle(Filter.java:135)
      2. org.restlet.Filter.doHandle(Filter.java:105)
      3. org.restlet.Filter.handle(Filter.java:135)
      4. org.restlet.Router.handle(Router.java:445)
      5. org.restlet.Filter.doHandle(Filter.java:105)
      6. org.restlet.Guard.accept(Guard.java:83)
      7. org.restlet.Guard.doHandle(Guard.java:198)
      8. org.restlet.Filter.handle(Filter.java:135)
      9. org.restlet.Filter.doHandle(Filter.java:105)
      10. org.restlet.Filter.handle(Filter.java:135)
      11. org.restlet.Filter.doHandle(Filter.java:105)
      12. org.restlet.Filter.handle(Filter.java:135)
      13. org.restlet.Router.handle(Router.java:445)
      14. org.restlet.Filter.doHandle(Filter.java:105)
      15. org.restlet.Filter.handle(Filter.java:135)
      16. org.restlet.Filter.doHandle(Filter.java:105)
      16 frames
    14. com.noelios.restlet
      StatusFilter.doHandle
      1. com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89)
      1 frame
    15. org.restlet
      Filter.handle
      1. org.restlet.Filter.handle(Filter.java:135)
      2. org.restlet.Filter.doHandle(Filter.java:105)
      3. org.restlet.Filter.handle(Filter.java:135)
      3 frames
    16. com.noelios.restlet
      ApplicationHelper.handle
      1. com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:98)
      1 frame
    17. org.restlet
      Filter.doHandle
      1. org.restlet.Application.handle(Application.java:294)
      2. org.restlet.Filter.doHandle(Filter.java:105)
      3. org.restlet.Filter.handle(Filter.java:135)
      4. org.restlet.Router.handle(Router.java:445)
      5. org.restlet.Filter.doHandle(Filter.java:105)
      6. org.restlet.Filter.handle(Filter.java:135)
      7. org.restlet.Router.handle(Router.java:445)
      8. org.restlet.Filter.doHandle(Filter.java:105)
      8 frames
    18. com.noelios.restlet
      StatusFilter.doHandle
      1. com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89)
      1 frame
    19. org.restlet
      Filter.handle
      1. org.restlet.Filter.handle(Filter.java:135)
      2. org.restlet.Filter.doHandle(Filter.java:105)
      3. org.restlet.Filter.handle(Filter.java:135)
      3 frames
    20. com.noelios.restlet
      ComponentHelper.handle
      1. com.noelios.restlet.component.ComponentHelper.handle(ComponentHelper.java:120)
      1 frame
    21. org.restlet
      Server.handle
      1. org.restlet.Component.handle(Component.java:231)
      2. org.restlet.Server.handle(Server.java:282)
      2 frames
    22. com.noelios.restlet
      ServerServlet.service
      1. com.noelios.restlet.ServerHelper.handle(ServerHelper.java:100)
      2. com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:94)
      3. com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:398)
      3 frames
    23. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
      1 frame
    24. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
      8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      10. org.mortbay.jetty.Server.handle(Server.java:320)
      11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      12. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
      13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
      14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      16 frames
    25. Jetty Util
      BoundedThreadPool$PoolThread.run
      1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
      1 frame