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

Sonatype JIRA | Rich Seddon | 5 years ago
  1. 0

    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}

    Sonatype JIRA | 5 years ago | Rich Seddon
    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
  2. 0

    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}

    Sonatype JIRA | 5 years ago | Rich Seddon
    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
  3. 0

    Cannot delete old index file

    GitHub | 5 years ago | ajermakovics
    java.io.IOException: Cannot delete P:\.metadata\.plugins\it.unibz.instasearch\searchindex\_0.cfs
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 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

    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 E:\nexus\sonatype-work\nexus\indexer\jboss-repository-ctx\_dx.fdt

      at org.apache.lucene.store.FSDirectory.deleteFile()
    2. Lucene
      FSDirectory.deleteFile
      1. org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:305)
      1 frame
    3. Maven :: Indexer Core
      DefaultNexusIndexer.scan
      1. org.apache.maven.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIndexingContext.java:366)
      2. org.apache.maven.index.context.DefaultIndexingContext.replace(DefaultIndexingContext.java:830)
      3. org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:321)
      3 frames
    4. Sonatype Nexus Indexer
      DefaultIndexerManager.reindexRepository
      1. org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:900)
      2. org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:841)
      3. org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:836)
      4. org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:836)
      5. org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:815)
      5 frames
    5. ${project.groupId}:${project.artifactId}
      AbstractNexusTask.call
      1. org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:60)
      2. org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:72)
      3. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:159)
      3 frames
    6. ${project.groupId}:${project.artifactId}
      DefaultScheduledTask.call
      1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:437)
      1 frame
    7. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      7. java.lang.Thread.run(Thread.java:619)
      7 frames