com.liferay.portal.kernel.search.SearchException: 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

Solutions on the web

via liferay.com by Unknown author, 1 year ago
java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@C:\srv\liferay\lucene\5: files:
via Oracle Community by 2791315, 1 year ago
java.io.IOException: directory '/home/oracle/Ext/Oracle/Middleware/user_projects/domains/data/lucene/0' exists and is a directory, but cannot be listed: list() returned null
via Liferay Issues by Brian Chan, 1 month ago
java.io.FileNotFoundException: C:\Documents and Settings\brian\liferay\lucene\10108\_1.fnm (The system cannot find the file specified)
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.IndexReader.open(IndexReader.java:185)
at com.liferay.portal.search.lucene.IndexWriterFactory.deleteDocuments(IndexWriterFactory.java:147)
at com.liferay.portal.search.lucene.LuceneUtil.deleteDocuments(LuceneUtil.java:262)
at com.liferay.portal.search.lucene.LuceneIndexWriterImpl.deleteDocument(LuceneIndexWriterImpl.java:70)
at com.liferay.portal.search.lucene.LuceneSearchEngineUtil.deleteDocument(LuceneSearchEngineUtil.java:56)
at com.liferay.portal.search.lucene.messaging.LuceneWriterMessageListener.doReceive(LuceneWriterMessageListener.java:67)
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 month ago
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.