java.io.IOException: Cannot delete C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote\_0.cfs

Sonatype JIRA | Kristine O'Connor | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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.IOException: Cannot delete C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote\_0.cfs
  2. 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.IOException: Cannot delete C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote\_0.cfs
  3. 0

    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)

    Sonatype JIRA | 8 years ago | Brian Demers
    java.io.IOException: Cannot delete C:\Development\Code\nexus-commercial\nexus-enterprise-webapp\target\sonatype-work\nexus\indexer\central-local\_4.cfs
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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)

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    java.io.IOException: Cannot delete C:\Nexus\sonatype-work\nexus\indexer\central-local\_0.cfs
  6. 0

    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)

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    java.io.IOException: Cannot delete C:\Nexus\sonatype-work\nexus\indexer\central-local\_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.IOException

      Cannot delete C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote\_0.cfs

      at org.apache.lucene.store.FSDirectory.deleteFile()
    2. Lucene
      FSDirectory.deleteFile
      1. org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:357)
      1 frame
    3. Sonatype Nexus Indexer
      DefaultIndexerManager.reindexAllRepositories
      1. org.sonatype.nexus.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIndexingContext.java:272)
      2. org.sonatype.nexus.index.context.DefaultIndexingContext.purge(DefaultIndexingContext.java:432)
      3. org.sonatype.nexus.index.DefaultIndexerManager.purgeRepositoryGroupIndex(DefaultIndexerManager.java:801)
      4. org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:676)
      4 frames
    4. ${project.groupId}:${project.artifactId}
      AbstractNexusTask.call
      1. org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1364)
      2. org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:44)
      3. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139)
      3 frames
    5. ${project.groupId}:${project.artifactId}
      DefaultScheduledTask.call
      1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342)
      1 frame
    6. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      2. java.util.concurrent.FutureTask.run(Unknown Source)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      7. java.lang.Thread.run(Unknown Source)
      7 frames