org.apache.lucene.index.MergePolicy$MergeException

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.

  • 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}
    via by Igor Fedorenko,
  • 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}
    via by Igor Fedorenko,
  • 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)
    via by Deleted User,
  • 2008年6月10日 随笔档案 - - BlogJava
    via by Unknown author,
  • Elasticsearch Users - Too Many Open Files
    via by Unknown author,
  • help,ImageIO
    via by Unknown author,
  • comp.dsp | help,ImageIO
    via by Unknown author,
    • org.apache.lucene.index.MergePolicy$MergeException: java.io.FileNotFoundException: /workspaces/junit-workspace/.metadata/.plugins/org.maven.ide.eclipse
    • exus/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
    • exus/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)

    Users with the same issue

    rprp
    1 times, last one,
    johnxflyjohnxfly
    4 times, last one,
    MarkMark
    3 times, last one,
    andyglickandyglick
    3 times, last one,
    Andreas HäberAndreas Häber
    1 times, last one,
    32 more bugmates