org.apache.lucene.index.MergePolicy$MergeException: java.io.FileNotFoundException: /workspaces/junit-workspace/.metadata/.plugins/org.maven.ide.eclipse/nexus/8d9136f47c931df7a04e0f23abd26287/_0.cfs (No such file or directory)

Sonatype JIRA | Igor Fedorenko | 7 years ago
  1. 0

    When running m2e tests we often see exception like below in the logs. {noformat} Exception in thread "Thread-18" org.apache.lucene.index.MergePolicy$MergeException: java.io.FileNotFoundException: /workspaces/junit-workspace/.metadata/.plugins/org.maven.ide.eclipse/nexus/8d9136f47c931df7a04e0f23abd26287/_0.cfs (No such file or directory) at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:271) Caused by: java.io.FileNotFoundException: /workspaces/junit-workspace/.metadata/.plugins/org.maven.ide.eclipse/nexus/8d9136f47c931df7a04e0f23abd26287/_0.cfs (No such file or directory) 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:506) at org.apache.lucene.store.FSDirectory$FSIndexInput.<init>(FSDirectory.java:536) at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:445) at org.apache.lucene.index.CompoundFileReader.<init>(CompoundFileReader.java:70) at org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:277) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:262) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:221) at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:3263) at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:2968) at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:240) {noformat}

    Sonatype JIRA | 7 years ago | Igor Fedorenko
    org.apache.lucene.index.MergePolicy$MergeException: java.io.FileNotFoundException: /workspaces/junit-workspace/.metadata/.plugins/org.maven.ide.eclipse/nexus/8d9136f47c931df7a04e0f23abd26287/_0.cfs (No such file or directory)
  2. 0

    When running m2e tests we often see exception like below in the logs. {noformat} Exception in thread "Thread-18" org.apache.lucene.index.MergePolicy$MergeException: java.io.FileNotFoundException: /workspaces/junit-workspace/.metadata/.plugins/org.maven.ide.eclipse/nexus/8d9136f47c931df7a04e0f23abd26287/_0.cfs (No such file or directory) at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:271) Caused by: java.io.FileNotFoundException: /workspaces/junit-workspace/.metadata/.plugins/org.maven.ide.eclipse/nexus/8d9136f47c931df7a04e0f23abd26287/_0.cfs (No such file or directory) 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:506) at org.apache.lucene.store.FSDirectory$FSIndexInput.<init>(FSDirectory.java:536) at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:445) at org.apache.lucene.index.CompoundFileReader.<init>(CompoundFileReader.java:70) at org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:277) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:262) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:221) at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:3263) at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:2968) at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:240) {noformat}

    Sonatype JIRA | 7 years ago | Igor Fedorenko
    org.apache.lucene.index.MergePolicy$MergeException: java.io.FileNotFoundException: /workspaces/junit-workspace/.metadata/.plugins/org.maven.ide.eclipse/nexus/8d9136f47c931df7a04e0f23abd26287/_0.cfs (No such file or directory)
  3. 0

    Today after updating the central index I noticed some error messages in the console: 9/10/08 4:37:24 PM EEST: Error on adding indexing context central; /home/joonas/workspace/.metadata/.plugins/org.maven.ide.eclipse/nexus/central/_9.fdt (No such file or directory) I tried uninstalling the central index feature, removing the org.maven.ide.eclipse/nexus/central directory (which resulted redownloading the index, then the same issue again). No idea how to fix this; no errors are reported while downloading the index (http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.zip).. Could the index file be broken? Long exception trace was outputted to console running eclipse: Exception in thread "Thread-6" org.apache.lucene.index.MergePolicy$MergeException: java.io.FileNotFoundException: /home/joonas/workspace/.metadata/.plugins/org.maven.ide.eclipse/nexus/central/_9.fdt (No such file or directory) at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:271) Caused by: java.io.FileNotFoundException: /home/joonas/workspace/.metadata/.plugins/org.maven.ide.eclipse/nexus/central/_9.fdt (No such file or directory) 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:506) at org.apache.lucene.store.FSDirectory$FSIndexInput.<init>(FSDirectory.java:536) at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:445) at org.apache.lucene.index.FieldsReader.<init>(FieldsReader.java:75) at org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:308) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:262) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:221) at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:3099) at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:2834) at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:240)

    Sonatype JIRA | 8 years ago | Deleted User
    org.apache.lucene.index.MergePolicy$MergeException: java.io.FileNotFoundException: /home/joonas/workspace/.metadata/.plugins/org.maven.ide.eclipse/nexus/central/_9.fdt (No such file or directory)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    2008年6月10日 随笔档案 - - BlogJava

    blogjava.net | 6 months ago
    org.apache.lucene.index.MergePolicy$MergeException: java.io.FileNotFoundException: /doc/lucene/_5zk.fnm (没有该文件或目录 (errno:2))
  6. 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]

  1. Andreas Häber 1 times, last 2 weeks ago
  2. tyson925 5 times, last 7 months ago
  3. rp 13 times, last 8 months ago
30 unregistered visitors
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

    /workspaces/junit-workspace/.metadata/.plugins/org.maven.ide.eclipse/nexus/8d9136f47c931df7a04e0f23abd26287/_0.cfs (No such file or directory)

    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
    ConcurrentMergeScheduler$MergeThread.run
    1. org.apache.lucene.store.FSDirectory$FSIndexInput$Descriptor.<init>(FSDirectory.java:506)
    2. org.apache.lucene.store.FSDirectory$FSIndexInput.<init>(FSDirectory.java:536)
    3. org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:445)
    4. org.apache.lucene.index.CompoundFileReader.<init>(CompoundFileReader.java:70)
    5. org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:277)
    6. org.apache.lucene.index.SegmentReader.get(SegmentReader.java:262)
    7. org.apache.lucene.index.SegmentReader.get(SegmentReader.java:221)
    8. org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:3263)
    9. org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:2968)
    10. org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:240)
    10 frames