java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)
    via by Kristine O'Connor,
  • 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)
    via by Kristine O'Connor,
  • I was testing some proxy server settings, and blocked central on my local proxy server, i then launched nexus, and marked central to download remote indexes, which then failed as i would expect. I then attempted to reindex, and all reindex attempts from this point forward, result in the following error s Strack trace: java.io.IOException: Cannot delete C:\Development\Code\nexus-commercial\nexus-enterprise-webapp\target\sonatype-work\nexus\indexer\central-local\_4.cfs jvm 1 | at org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:357) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIndexingContext.java:283) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.replace(DefaultIndexingContext.java:501) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:978) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:922) jvm 1 | at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1399) jvm 1 | at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:47) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:147) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:345) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) jvm 1 | at java.util.concurrent.FutureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) jvm 1 | at java.lang.Thread.run(Unknown Source) jvm 1 | jvm 1 | java.io.IOException: Cannot delete C:\Development\Code\nexus-commercial\nexus-enterprise-webapp\target\sonatype-work\nexus\indexer\central-local\_4.cfs jvm 1 | at org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:357) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIndexingContext.java:283) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.replace(DefaultIndexingContext.java:501) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:978) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:922) jvm 1 | at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1399) jvm 1 | at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:47) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:147) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:345) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) jvm 1 | at java.util.concurrent.FutureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) jvm 1 | at java.lang.Thread.run(Unknown Source)
    via by Brian Demers,
  • Changed the Download Remote Indexes to True for Maven Central => Noted an error generated in the log files and the status of the internal task reflects Broken in the UI. From the log file: 2008-11-14 14:31:11.238 INFO [qtp0-16:] - org.sonatype.nexus.proxy.registry.RepositoryRegistry:default: Updated repository ID=central (contentClass=maven2) 2008-11-14 14:31:11.238 INFO [qtp0-16:] - org.sonatype.nexus.configuration.application.NexusConfiguration:default: Applying Nexus Configuration... 2008-11-14 14:31:11.238 INFO [qtp0-16:] - org.sonatype.nexus.timeline.Timeline:default: Stopping Timeline... 2008-11-14 14:31:11.238 INFO [qtp0-16:] - org.sonatype.nexus.timeline.Timeline:default: Starting Timeline... 2008-11-14 14:31:11.801 INFO [pxpool-1-thread-2:] - org.sonatype.nexus.feeds.FeedRecorder:default: Reindexing repository with ID=central : Process started on Fri Nov 14 14:31:11 MST 2008, not yet finished. 2008-11-14 14:31:12.051 INFO [pxpool-1-thread-2:] - org.sonatype.nexus.feeds.FeedRecorder:default: Reindexing repository with ID=central : Process started on Fri Nov 14 14:31:11 MST 2008, finished on Fri Nov 14 14:31:11 MST 2008 with error. Error message is: java.io.IOException, Cannot delete C:\Nexus\sonatype-work\nexus\indexer\central-local\_0.cfs Strack trace: java.io.IOException: Cannot delete C:\Nexus\sonatype-work\nexus\indexer\central-local\_0.cfs at org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:357) at org.sonatype.nexus.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIndexingContext.java:284) at org.sonatype.nexus.index.context.DefaultIndexingContext.replace(DefaultIndexingContext.java:471) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:1040) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:989) at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1387) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:47) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:142) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:345) 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\central-local\_0.cfs at org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:357) at org.sonatype.nexus.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIndexingContext.java:284) at org.sonatype.nexus.index.context.DefaultIndexingContext.replace(DefaultIndexingContext.java:471) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:1040) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:989) at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1387) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:47) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:142) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:345) 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)
    via by Kristine O'Connor,
  • Changed the Download Remote Indexes to True for Maven Central => Noted an error generated in the log files and the status of the internal task reflects Broken in the UI. From the log file: 2008-11-14 14:31:11.238 INFO [qtp0-16:] - org.sonatype.nexus.proxy.registry.RepositoryRegistry:default: Updated repository ID=central (contentClass=maven2) 2008-11-14 14:31:11.238 INFO [qtp0-16:] - org.sonatype.nexus.configuration.application.NexusConfiguration:default: Applying Nexus Configuration... 2008-11-14 14:31:11.238 INFO [qtp0-16:] - org.sonatype.nexus.timeline.Timeline:default: Stopping Timeline... 2008-11-14 14:31:11.238 INFO [qtp0-16:] - org.sonatype.nexus.timeline.Timeline:default: Starting Timeline... 2008-11-14 14:31:11.801 INFO [pxpool-1-thread-2:] - org.sonatype.nexus.feeds.FeedRecorder:default: Reindexing repository with ID=central : Process started on Fri Nov 14 14:31:11 MST 2008, not yet finished. 2008-11-14 14:31:12.051 INFO [pxpool-1-thread-2:] - org.sonatype.nexus.feeds.FeedRecorder:default: Reindexing repository with ID=central : Process started on Fri Nov 14 14:31:11 MST 2008, finished on Fri Nov 14 14:31:11 MST 2008 with error. Error message is: java.io.IOException, Cannot delete C:\Nexus\sonatype-work\nexus\indexer\central-local\_0.cfs Strack trace: java.io.IOException: Cannot delete C:\Nexus\sonatype-work\nexus\indexer\central-local\_0.cfs at org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:357) at org.sonatype.nexus.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIndexingContext.java:284) at org.sonatype.nexus.index.context.DefaultIndexingContext.replace(DefaultIndexingContext.java:471) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:1040) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:989) at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1387) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:47) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:142) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:345) 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\central-local\_0.cfs at org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:357) at org.sonatype.nexus.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIndexingContext.java:284) at org.sonatype.nexus.index.context.DefaultIndexingContext.replace(DefaultIndexingContext.java:471) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:1040) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:989) at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1387) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:47) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:142) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:345) 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)
    via by Kristine O'Connor,
  • I was testing some proxy server settings, and blocked central on my local proxy server, i then launched nexus, and marked central to download remote indexes, which then failed as i would expect. I then attempted to reindex, and all reindex attempts from this point forward, result in the following error s Strack trace: java.io.IOException: Cannot delete C:\Development\Code\nexus-commercial\nexus-enterprise-webapp\target\sonatype-work\nexus\indexer\central-local\_4.cfs jvm 1 | at org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:357) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIndexingContext.java:283) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.replace(DefaultIndexingContext.java:501) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:978) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:922) jvm 1 | at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1399) jvm 1 | at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:47) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:147) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:345) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) jvm 1 | at java.util.concurrent.FutureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) jvm 1 | at java.lang.Thread.run(Unknown Source) jvm 1 | jvm 1 | java.io.IOException: Cannot delete C:\Development\Code\nexus-commercial\nexus-enterprise-webapp\target\sonatype-work\nexus\indexer\central-local\_4.cfs jvm 1 | at org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:357) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIndexingContext.java:283) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.replace(DefaultIndexingContext.java:501) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:978) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:922) jvm 1 | at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1399) jvm 1 | at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:47) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:147) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:345) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) jvm 1 | at java.util.concurrent.FutureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) jvm 1 | at java.lang.Thread.run(Unknown Source)
    via by Brian Demers,
  • Update index task failed on windows due to inability to delete a lucene index file. Possibly related, all search queries started to fail the next day due to IllegalMonitorStateException's. Symptoms of corrupted indexes may include IllegalMonitorStateException in logs while searching, 500 errors in Nexus UI while searching. Logs attached {noformat} 2011-11-02 22:29:10 INFO [ool-1-thread-16] - o.s.n.f.DefaultFeed~ - Updating repository index "Reference Cache" from path and below. : Process started on Wed Nov 02 21:00:02 CET 2011, finished on Wed Nov 02 22:29:10 CET 2011 with error. Error message is: java.io.IOException, Error scanning context jboss-repository-ctx: java.io.IOException: Cannot delete E:\nexus\sonatype-work\nexus\indexer\jboss-repository-ctx\_dx.fdt Strack trace: java.io.IOException: Error scanning context jboss-repository-ctx: java.io.IOException: Cannot delete E:\nexus\sonatype-work\nexus\indexer\jboss-repository-ctx\_dx.fdt at org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:327) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:900) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:841) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:836) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:836) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:815) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:60) at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:72) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:159) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:437) 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) Caused by: java.io.IOException: Cannot delete E:\nexus\sonatype-work\nexus\indexer\jboss-repository-ctx\_dx.fdt at org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:305) at org.apache.maven.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIndexingContext.java:366) at org.apache.maven.index.context.DefaultIndexingContext.replace(DefaultIndexingContext.java:830) at org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:321) ... 16 more java.io.IOException: Error scanning context jboss-repository-ctx: java.io.IOException: Cannot delete E:\nexus\sonatype-work\nexus\indexer\jboss-repository-ctx\_dx.fdt at org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:327) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:900) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:841) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:836) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:836) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:815) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:60) at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:72) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:159) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:437) 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) Caused by: java.io.IOException: Cannot delete E:\nexus\sonatype-work\nexus\indexer\jboss-repository-ctx\_dx.fdt at org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:305) at org.apache.maven.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIndexingContext.java:366) at org.apache.maven.index.context.DefaultIndexingContext.replace(DefaultIndexingContext.java:830) at org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:321) ... 16 more {noformat}
    via by Rich Seddon,
  • Update index task failed on windows due to inability to delete a lucene index file. Possibly related, all search queries started to fail the next day due to IllegalMonitorStateException's. Symptoms of corrupted indexes may include IllegalMonitorStateException in logs while searching, 500 errors in Nexus UI while searching. Logs attached {noformat} 2011-11-02 22:29:10 INFO [ool-1-thread-16] - o.s.n.f.DefaultFeed~ - Updating repository index "Reference Cache" from path and below. : Process started on Wed Nov 02 21:00:02 CET 2011, finished on Wed Nov 02 22:29:10 CET 2011 with error. Error message is: java.io.IOException, Error scanning context jboss-repository-ctx: java.io.IOException: Cannot delete E:\nexus\sonatype-work\nexus\indexer\jboss-repository-ctx\_dx.fdt Strack trace: java.io.IOException: Error scanning context jboss-repository-ctx: java.io.IOException: Cannot delete E:\nexus\sonatype-work\nexus\indexer\jboss-repository-ctx\_dx.fdt at org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:327) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:900) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:841) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:836) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:836) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:815) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:60) at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:72) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:159) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:437) 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) Caused by: java.io.IOException: Cannot delete E:\nexus\sonatype-work\nexus\indexer\jboss-repository-ctx\_dx.fdt at org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:305) at org.apache.maven.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIndexingContext.java:366) at org.apache.maven.index.context.DefaultIndexingContext.replace(DefaultIndexingContext.java:830) at org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:321) ... 16 more java.io.IOException: Error scanning context jboss-repository-ctx: java.io.IOException: Cannot delete E:\nexus\sonatype-work\nexus\indexer\jboss-repository-ctx\_dx.fdt at org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:327) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:900) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:841) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:836) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:836) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:815) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:60) at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:72) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:159) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:437) 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) Caused by: java.io.IOException: Cannot delete E:\nexus\sonatype-work\nexus\indexer\jboss-repository-ctx\_dx.fdt at org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:305) at org.apache.maven.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIndexingContext.java:366) at org.apache.maven.index.context.DefaultIndexingContext.replace(DefaultIndexingContext.java:830) at org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:321) ... 16 more {noformat}
    via by Rich Seddon,
    • 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)
    No Bugmate found.