java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@/data/nexus-work-oss/indexer/comgooglecodecharpa-006-remote: files: null

Sonatype JIRA | Juven Xu | 6 years ago
  1. 0

    search is now totally broken on oss stacktrace {noformat} 2010-09-08 09:04:06 ERROR [p-14980779-3089] - o.s.n.i.DefaultInde~ - Got I/O exception while searching for query "(((g:junit g:junit*^0.8) (groupId:junit*))^2.0) (((a:junit a:junit*^0.8) (artifactId:junit*))^2.0)" java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@/data/nexus-work-oss/indexer/comgooglecodecharpa-006-remote: files: null at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:604) at org.apache.lucene.index.SegmentInfos.readCurrentVersion(SegmentInfos.java:366) at org.apache.lucene.index.DirectoryIndexReader.isCurrent(DirectoryIndexReader.java:237) at org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexReader(DefaultIndexingContext.java:441) at org.sonatype.nexus.index.DefaultSearchEngine.searchIteratorPaged(DefaultSearchEngine.java:311) at org.sonatype.nexus.index.DefaultSearchEngine.searchIteratorPaged(DefaultSearchEngine.java:270) at org.sonatype.nexus.index.DefaultNexusIndexer.searchIterator(DefaultNexusIndexer.java:399) at org.sonatype.nexus.index.DefaultIndexerManager.searchArtifactIterator(DefaultIndexerManager.java:2244) at org.sonatype.nexus.index.KeywordSearcher.flatIteratorSearch(KeywordSearcher.java:81) at org.sonatype.nexus.rest.indexng.SearchNGIndexPlexusResource.searchByTerms(SearchNGIndexPlexusResource.java:426) at org.sonatype.nexus.rest.indexng.SearchNGIndexPlexusResource.get(SearchNGIndexPlexusResource.java:290) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:276) at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:34) at org.restlet.resource.Resource.getRepresentation(Resource.java:302) at org.restlet.resource.Resource.handleGet(Resource.java:464) at org.restlet.Finder.handle(Finder.java:353) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) .... .... 2010-09-08 09:04:06 ERROR [p-14980779-3089] - o.s.n.e.r.DefaultEr~ - Detected Error in Nexus java.lang.NullPointerException at org.sonatype.nexus.rest.indexng.SearchNGIndexPlexusResource.repackIteratorSearchResponse(SearchNGIndexPlexusResource.java:643) at org.sonatype.nexus.rest.indexng.SearchNGIndexPlexusResource.get(SearchNGIndexPlexusResource.java:301) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:276) at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:34) at org.restlet.resource.Resource.getRepresentation(Resource.java:302) at org.restlet.resource.Resource.handleGet(Resource.java:464) at org.restlet.Finder.handle(Finder.java:353) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) {noformat}

    Sonatype JIRA | 6 years ago | Juven Xu
    java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@/data/nexus-work-oss/indexer/comgooglecodecharpa-006-remote: files: null
  2. 0

    search is now totally broken on oss stacktrace {noformat} 2010-09-08 09:04:06 ERROR [p-14980779-3089] - o.s.n.i.DefaultInde~ - Got I/O exception while searching for query "(((g:junit g:junit*^0.8) (groupId:junit*))^2.0) (((a:junit a:junit*^0.8) (artifactId:junit*))^2.0)" java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@/data/nexus-work-oss/indexer/comgooglecodecharpa-006-remote: files: null at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:604) at org.apache.lucene.index.SegmentInfos.readCurrentVersion(SegmentInfos.java:366) at org.apache.lucene.index.DirectoryIndexReader.isCurrent(DirectoryIndexReader.java:237) at org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexReader(DefaultIndexingContext.java:441) at org.sonatype.nexus.index.DefaultSearchEngine.searchIteratorPaged(DefaultSearchEngine.java:311) at org.sonatype.nexus.index.DefaultSearchEngine.searchIteratorPaged(DefaultSearchEngine.java:270) at org.sonatype.nexus.index.DefaultNexusIndexer.searchIterator(DefaultNexusIndexer.java:399) at org.sonatype.nexus.index.DefaultIndexerManager.searchArtifactIterator(DefaultIndexerManager.java:2244) at org.sonatype.nexus.index.KeywordSearcher.flatIteratorSearch(KeywordSearcher.java:81) at org.sonatype.nexus.rest.indexng.SearchNGIndexPlexusResource.searchByTerms(SearchNGIndexPlexusResource.java:426) at org.sonatype.nexus.rest.indexng.SearchNGIndexPlexusResource.get(SearchNGIndexPlexusResource.java:290) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:276) at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:34) at org.restlet.resource.Resource.getRepresentation(Resource.java:302) at org.restlet.resource.Resource.handleGet(Resource.java:464) at org.restlet.Finder.handle(Finder.java:353) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) .... .... 2010-09-08 09:04:06 ERROR [p-14980779-3089] - o.s.n.e.r.DefaultEr~ - Detected Error in Nexus java.lang.NullPointerException at org.sonatype.nexus.rest.indexng.SearchNGIndexPlexusResource.repackIteratorSearchResponse(SearchNGIndexPlexusResource.java:643) at org.sonatype.nexus.rest.indexng.SearchNGIndexPlexusResource.get(SearchNGIndexPlexusResource.java:301) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:276) at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:34) at org.restlet.resource.Resource.getRepresentation(Resource.java:302) at org.restlet.resource.Resource.handleGet(Resource.java:464) at org.restlet.Finder.handle(Finder.java:353) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) {noformat}

    Sonatype JIRA | 6 years ago | Juven Xu
    java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@/data/nexus-work-oss/indexer/comgooglecodecharpa-006-remote: files: null
  3. 0

    start a clean nexus, upload an artifact into 3rd party repo, then do a search with related keyword, result is ok then create a new repo _test_ and delete it, now search again, result is empty here is the stacktrace: {noformat} 2009-11-10 22:43:35 ERROR [64@qtp-610720-2] - o.s.n.i.ComposableI~:lucene - Got I/O exception while searching for query "ant" java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@/home/juven/dev_tools/nexus-pro/sonatype-work/nexus/indexer/test-local: files: null at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:587) at org.apache.lucene.index.SegmentInfos.readCurrentVersion(SegmentInfos.java:349) at org.apache.lucene.index.DirectoryIndexReader.isCurrent(DirectoryIndexReader.java:150) at org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexReader(DefaultIndexingContext.java:421) at org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexSearcher(DefaultIndexingContext.java:440) at org.sonatype.nexus.index.DefaultSearchEngine.searchFlat(DefaultSearchEngine.java:148) at org.sonatype.nexus.index.DefaultSearchEngine.searchFlatPaged(DefaultSearchEngine.java:95) at org.sonatype.nexus.index.DefaultSearchEngine.searchFlatPaged(DefaultSearchEngine.java:73) at org.sonatype.nexus.index.DefaultNexusIndexer.searchFlat(DefaultNexusIndexer.java:388) at org.sonatype.nexus.index.DefaultIndexerManager.searchArtifactFlat(DefaultIndexerManager.java:1514) at org.sonatype.nexus.index.KeywordSearcher.flatSearch(KeywordSearcher.java:60) at org.sonatype.nexus.rest.index.AbstractIndexPlexusResource.searchByTerms(AbstractIndexPlexusResource.java:193) at org.sonatype.nexus.rest.index.AbstractIndexPlexusResource.get(AbstractIndexPlexusResource.java:122) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:263) at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:34) at org.restlet.resource.Resource.getRepresentation(Resource.java:302) at org.restlet.resource.Resource.handleGet(Resource.java:464) at org.restlet.Finder.handle(Finder.java:353) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) at org.restlet.Application.handle(Application.java:341) at org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at org.restlet.Component.handle(Component.java:673) at org.restlet.Server.handle(Server.java:331) at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) 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:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) {noformat}

    Sonatype JIRA | 7 years ago | Juven Xu
    java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@/home/juven/dev_tools/nexus-pro/sonatype-work/nexus/indexer/test-local: files: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    We had a file system issue which resulted in the .nexus/work/indexer folder contents being removed. Following removal, a full reindex fails. If the repo's index folder is missing during a full reindex, it should be replaced instead of throwing a FileNotFoundException. 09:13:13,205 INFO [STDOUT] 2010-07-08 09:13:13 INFO - o.s.n.f.DefaultFeed~ - Reindexing repository group Public Snapshot Repositories (group) from path null and below. : Process started on Thu Jul 08 09:13:13 CDT 2010, not yet finished. 09:13:13,206 INFO [STDOUT] 2010-07-08 09:13:13 INFO - o.s.n.i.DefaultInde~ - Remerging group 'public-snapshots' 09:13:17,213 INFO [STDOUT] 2010-07-08 09:13:17 INFO - o.s.n.f.DefaultFeed~ - Reindexing repository group Public Snapshot Repositories (group) from path null and below. : Process started on Thu Jul 08 09:13:13 CDT 2010, finished on Thu Jul 08 09:13:17 CDT 2010 with error. Error message is: java.io.FileNotFoundException, no segments* file found in org.apache.lucene.store.FSDirectory@/web/data/.nexus/work/indexer/snapshots-remote: files: Strack trace: java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@/web/data/.nexus/work/indexer/snapshots-remote: files: at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:604) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:272) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1088) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:924) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:35) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:29) at org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexWriter(DefaultIndexingContext.java:413) at org.sonatype.nexus.index.context.DefaultIndexingContext.optimize(DefaultIndexingContext.java:499) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:1021) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:906) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:882) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepositoryGroup(ReindexTaskHandlerLegacy.java:69) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:61) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:192) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@/web/data/.nexus/work/indexer/snapshots-remote: files: at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:604) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:272) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1088) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:924) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:35) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:29) at org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexWriter(DefaultIndexingContext.java:413) at org.sonatype.nexus.index.context.DefaultIndexingContext.optimize(DefaultIndexingContext.java:499) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:1021) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:906) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:882) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepositoryGroup(ReindexTaskHandlerLegacy.java:69) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:61) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:192) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

    Sonatype JIRA | 6 years ago | Bobby Hubbard
    java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@/web/data/.nexus/work/indexer/snapshots-remote: files:
  6. 0

    Scheduled task for Reindex of all repositories kicks off, and errors are logged in the server. Scheduled task page reflects a status of Broken for the task as well. From the log: 009-03-03 15:10:59 INFO [ool-1-thread-15] - o.s.n.f.FeedRecorder:default - Reindexing all registered repositories : Process started on Tue Mar 03 15:10:59 MST 2009, not yet finished. 2009-03-03 15:10:59 INFO [ool-1-thread-20] - o.s.n.f.FeedRecorder:default - Reindexing all registered repositories : Process started on Tue Mar 03 15:10:59 MST 2009, not yet finished. 2009-03-03 15:10:59 INFO [ool-1-thread-20] - o.s.n.f.FeedRecorder:default - Reindexing all registered repositories : Process started on Tue Mar 03 15:10:59 MST 2009, finished on Tue Mar 03 15:10:59 MST 2009 with error. Error message is: java.io.IOException, Cannot delete C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote\_0.cfs Strack trace: java.io.IOException: Cannot delete C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote\_0.cfs at org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:357) at org.sonatype.nexus.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIndexingContext.java:272) at org.sonatype.nexus.index.context.DefaultIndexingContext.purge(DefaultIndexingContext.java:432) at org.sonatype.nexus.index.DefaultIndexerManager.purgeRepositoryGroupIndex(DefaultIndexerManager.java:801) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:676) at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1364) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:44) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) java.io.IOException: Cannot delete C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote\_0.cfs at org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:357) at org.sonatype.nexus.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIndexingContext.java:272) at org.sonatype.nexus.index.context.DefaultIndexingContext.purge(DefaultIndexingContext.java:432) at org.sonatype.nexus.index.DefaultIndexerManager.purgeRepositoryGroupIndex(DefaultIndexerManager.java:801) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:676) at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1364) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:44) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 2009-03-03 15:10:59 INFO [ool-1-thread-15] - o.s.n.f.FeedRecorder:default - Reindexing all registered repositories : Process started on Tue Mar 03 15:10:59 MST 2009, finished on Tue Mar 03 15:10:59 MST 2009 with error. Error message is: java.io.FileNotFoundException, no segments* file found in org.apache.lucene.store.FSDirectory@C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote: files: _0.cfs Strack trace: java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote: files: _0.cfs at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:587) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:251) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:710) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:614) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:38) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:30) at org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexWriter(DefaultIndexingContext.java:358) at org.sonatype.nexus.index.context.IndexUtils.setGroups(IndexUtils.java:240) at org.sonatype.nexus.index.context.IndexUtils.setRootGroups(IndexUtils.java:196) at org.sonatype.nexus.index.context.IndexUtils.rebuildGroups(IndexUtils.java:176) at org.sonatype.nexus.index.context.DefaultIndexingContext.rebuildGroups(DefaultIndexingContext.java:592) at org.sonatype.nexus.index.context.DefaultIndexingContext.purge(DefaultIndexingContext.java:443) at org.sonatype.nexus.index.DefaultIndexerManager.purgeRepositoryGroupIndex(DefaultIndexerManager.java:801) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:676) at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1364) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:44) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote: files: _0.cfs at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:587) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:251) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:710) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:614) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:38) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:30) at org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexWriter(DefaultIndexingContext.java:358) at org.sonatype.nexus.index.context.IndexUtils.setGroups(IndexUtils.java:240) at org.sonatype.nexus.index.context.IndexUtils.setRootGroups(IndexUtils.java:196) at org.sonatype.nexus.index.context.IndexUtils.rebuildGroups(IndexUtils.java:176) at org.sonatype.nexus.index.context.DefaultIndexingContext.rebuildGroups(DefaultIndexingContext.java:592) at org.sonatype.nexus.index.context.DefaultIndexingContext.purge(DefaultIndexingContext.java:443) at org.sonatype.nexus.index.DefaultIndexerManager.purgeRepositoryGroupIndex(DefaultIndexerManager.java:801) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:676) at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1364) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:44) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote: files: _0.cfs

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

      no segments* file found in org.apache.lucene.store.FSDirectory@/data/nexus-work-oss/indexer/comgooglecodecharpa-006-remote: files: null

      at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run()
    2. Lucene
      DirectoryIndexReader.isCurrent
      1. org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:604)
      2. org.apache.lucene.index.SegmentInfos.readCurrentVersion(SegmentInfos.java:366)
      3. org.apache.lucene.index.DirectoryIndexReader.isCurrent(DirectoryIndexReader.java:237)
      3 frames
    3. Sonatype Nexus Indexer
      KeywordSearcher.flatIteratorSearch
      1. org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexReader(DefaultIndexingContext.java:441)
      2. org.sonatype.nexus.index.DefaultSearchEngine.searchIteratorPaged(DefaultSearchEngine.java:311)
      3. org.sonatype.nexus.index.DefaultSearchEngine.searchIteratorPaged(DefaultSearchEngine.java:270)
      4. org.sonatype.nexus.index.DefaultNexusIndexer.searchIterator(DefaultNexusIndexer.java:399)
      5. org.sonatype.nexus.index.DefaultIndexerManager.searchArtifactIterator(DefaultIndexerManager.java:2244)
      6. org.sonatype.nexus.index.KeywordSearcher.flatIteratorSearch(KeywordSearcher.java:81)
      6 frames
    4. org.sonatype.nexus
      SearchNGIndexPlexusResource.get
      1. org.sonatype.nexus.rest.indexng.SearchNGIndexPlexusResource.searchByTerms(SearchNGIndexPlexusResource.java:426)
      2. org.sonatype.nexus.rest.indexng.SearchNGIndexPlexusResource.get(SearchNGIndexPlexusResource.java:290)
      2 frames
    5. ${project.groupId}:${project.artifactId}
      RestletResource.represent
      1. org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:276)
      1 frame
    6. Nexus Core
      NexusRestletResource.represent
      1. org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:34)
      1 frame
    7. org.restlet.resource
      Resource.handleGet
      1. org.restlet.resource.Resource.getRepresentation(Resource.java:302)
      2. org.restlet.resource.Resource.handleGet(Resource.java:464)
      2 frames
    8. org.restlet
      Filter.doHandle
      1. org.restlet.Finder.handle(Finder.java:353)
      2. org.restlet.Filter.doHandle(Filter.java:150)
      3. org.restlet.Filter.handle(Filter.java:195)
      4. org.restlet.Router.handle(Router.java:504)
      5. org.restlet.Filter.doHandle(Filter.java:150)
      6. org.restlet.Filter.handle(Filter.java:195)
      7. org.restlet.Router.handle(Router.java:504)
      8. org.restlet.Filter.doHandle(Filter.java:150)
      9. org.restlet.Filter.handle(Filter.java:195)
      10. org.restlet.Filter.doHandle(Filter.java:150)
      10 frames
    9. ${project.groupId}:${project.artifactId}
      RetargetableRestlet.doHandle
      1. org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39)
      1 frame