java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@C:\srv\liferay\lucene\5: files:

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Sonatype JIRA by Bobby Hubbard, 1 year ago
no segments* file found in org.apache.lucene.store.FSDirectory@/web/data/.nexus/work/indexer/snapshots-remote: files:
via Sonatype JIRA by Kristine O'Connor, 1 year ago
no segments* file found in org.apache.lucene.store.FSDirectory@C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote: files: _0.cfs
via Sonatype JIRA by Kristine O'Connor, 1 year ago
no segments* file found in org.apache.lucene.store.FSDirectory@C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote: files: _0.cfs
via lucene-general by Pedro Bezunartea López, 1 year ago
no segments* file found in org.apache.lucene.store.NIOFSDirectory@/path/to/index/directory: files:
via lucene-general by Pedro Bezunartea López, 1 year ago
no segments* file found in org.apache.lucene.store.NIOFSDirectory@/path/to/index/directory: files:
via Sonatype JIRA by Kristine O'Connor, 1 year ago
no segments* file found in org.apache.lucene.store.FSDirectory@C:\Nexus\sonatype-work\nexus\indexer\releases-local: files: _0.cfs _0_1.del _1.cfs _2.cfs _3.cfs
java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@C:\srv\liferay\lucene\5: files:
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:516)
at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:243)
at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:616)
at org.apache.lucene.index.IndexWriter.(IndexWriter.java:410)
at com.liferay.portal.search.lucene.IndexWriterFactory.getWriter(IndexWriterFactory.java:190)
at com.liferay.portal.search.lucene.LuceneUtil.getWriter(LuceneUtil.java:294)
at com.liferay.portal.search.lucene.LuceneUtil.getWriter(LuceneUtil.java:288)
at com.liferay.portal.search.lucene.LuceneIndexWriterImpl.addDocument(LuceneIndexWriterImpl.java:52)
at com.liferay.portal.search.lucene.LuceneSearchEngineUtil.addDocument(LuceneSearchEngineUtil.java:50)
at com.liferay.portal.search.lucene.messaging.LuceneWriterMessageListener.doReceive(LuceneWriterMessageListener.java:64)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:69)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.