java.io.FileNotFoundException: D:\Data\Nexus\sonatype-work\nexus\indexer\public-local\_x5.cfs (The system cannot find the file specified)

Sonatype JIRA | Chandra mohan | 1 year ago
  1. 0

    During reindex job, getting notification of task failure with below errors continuously. ======================================================================= Task ID: 2 Task Name: Reindex Stack trace: java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.purgeCurrentIndex(DefaultIndexerManager.java:1037) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:1000) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:858) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexAllRepositories(ReindexTaskHandlerLegacy.java:43) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:65) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:192) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338) at java.util.concurrent.FutureTask$Sync.innerRun(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) ======================================================================= Task ID: 2 Task Name: Reindex Stack trace: java.io.FileNotFoundException: D:\Data\Nexus\sonatype-work\nexus\indexer\public-local\_x5.cfs (The system cannot find the file specified) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212) at org.apache.lucene.store.FSDirectory$FSIndexInput$Descriptor.<init>(FSDirectory.java:552) at org.apache.lucene.store.FSDirectory$FSIndexInput.<init>(FSDirectory.java:582) at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:488) at org.apache.lucene.index.CompoundFileReader.<init>(CompoundFileReader.java:70) at org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:321) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:306) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:236) at org.apache.lucene.index.DocumentsWriter.applyDeletes(DocumentsWriter.java:915) at org.apache.lucene.index.IndexWriter.applyDeletes(IndexWriter.java:4339) at org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:3579) at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3450) at org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3363) at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3408) at org.sonatype.nexus.index.context.DefaultIndexingContext.merge(DefaultIndexingContext.java:670) at org.sonatype.nexus.index.context.DefaultIndexingContext.merge(DefaultIndexingContext.java:607) at org.sonatype.nexus.index.DefaultIndexerManager.mergeRepositoryGroupIndexWithMember(DefaultIndexerManager.java:1375) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:1026) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:858) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexAllRepositories(ReindexTaskHandlerLegacy.java:43) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:65) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:192) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) For java.io.FileNotFoundException: D:\Data\Nexus\sonatype-work\nexus\indexer\public-local\_x5.cfs (The system cannot find the file specified), its occuring for diff different files everytime like sometime we are getting notification for someother file - Task ID: 2 Task Name: Reindex Stack trace: java.io.FileNotFoundException: D:\Data\Nexus\sonatype-work\nexus\indexer\public-local\_b2.cfs (The system cannot find the file specified) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.<init>(Unknown Source)

    Sonatype JIRA | 1 year ago | Chandra mohan
    java.io.FileNotFoundException: D:\Data\Nexus\sonatype-work\nexus\indexer\public-local\_x5.cfs (The system cannot find the file specified)
  2. 0

    Search failing when cluster busy

    GitHub | 7 years ago | clintongormley
    org.elasticsearch.index.gateway.IndexShardGatewaySnapshotFailedException: [ia_object_1270046679][0] Failed to append snapshot translog into [/opt/elasticsearch/data/iAnnounce/ia_object_1270046679/0/translog/translog-3]
  3. 0

    java.io.IOException: Invalid argument and Too many open files

    Stack Overflow | 6 years ago | purple
    java.io.FileNotFoundException: /root/TorrentStealer/downloads/MAME - Update ROMs (v0.141 to v0.141u2)/lah_l104.zip (Too many open files)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Elasticsearch Users - Too Many Open Files

    nabble.com | 5 months ago
    org.elasticsearch.index.engine.RefreshFailedEngineException: [visibiz-test][2] Refresh failed
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    D:\Data\Nexus\sonatype-work\nexus\indexer\public-local\_x5.cfs (The system cannot find the file specified)

    at java.io.RandomAccessFile.open()
  2. Java RT
    RandomAccessFile.<init>
    1. java.io.RandomAccessFile.open(Native Method)
    2. java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
    2 frames
  3. Lucene
    IndexWriter.commit
    1. org.apache.lucene.store.FSDirectory$FSIndexInput$Descriptor.<init>(FSDirectory.java:552)
    2. org.apache.lucene.store.FSDirectory$FSIndexInput.<init>(FSDirectory.java:582)
    3. org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:488)
    4. org.apache.lucene.index.CompoundFileReader.<init>(CompoundFileReader.java:70)
    5. org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:321)
    6. org.apache.lucene.index.SegmentReader.get(SegmentReader.java:306)
    7. org.apache.lucene.index.SegmentReader.get(SegmentReader.java:236)
    8. org.apache.lucene.index.DocumentsWriter.applyDeletes(DocumentsWriter.java:915)
    9. org.apache.lucene.index.IndexWriter.applyDeletes(IndexWriter.java:4339)
    10. org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:3579)
    11. org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3450)
    12. org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3363)
    13. org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3408)
    13 frames
  4. Sonatype Nexus Indexer
    DefaultIndexerManager.reindexAllRepositories
    1. org.sonatype.nexus.index.context.DefaultIndexingContext.merge(DefaultIndexingContext.java:670)
    2. org.sonatype.nexus.index.context.DefaultIndexingContext.merge(DefaultIndexingContext.java:607)
    3. org.sonatype.nexus.index.DefaultIndexerManager.mergeRepositoryGroupIndexWithMember(DefaultIndexerManager.java:1375)
    4. org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:1026)
    5. org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:858)
    5 frames
  5. ${project.groupId}:${project.artifactId}
    AbstractNexusTask.call
    1. org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexAllRepositories(ReindexTaskHandlerLegacy.java:43)
    2. org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:65)
    3. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:192)
    3 frames
  6. ${project.groupId}:${project.artifactId}
    DefaultScheduledTask.call
    1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338)
    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