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

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 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, 2 months ago
java.io.FileNotFoundException: C:\Documents and Settings\brian\liferay\lucene\10108\_1.fnm (The system cannot find the file specified)
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:
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
at org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:516)
at org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:531)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:564)
at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:69)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:476)
at com.liferay.portal.search.lucene.IndexWriterFactory.deleteDocuments(IndexWriterFactory.java:148)
at com.liferay.portal.search.lucene.LuceneUtil.deleteDocuments(LuceneUtil.java:376)
at com.liferay.portal.search.lucene.LuceneIndexWriterImpl.deleteDocument(LuceneIndexWriterImpl.java:78)
at com.liferay.portal.search.lucene.LuceneIndexWriterImpl.updateDocument(LuceneIndexWriterImpl.java:104)
at com.liferay.portal.search.lucene.messaging.LuceneWriterMessageListener.doReceive(LuceneWriterMessageListener.java:91)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:70)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

You are the first who have seen this exception.

Write tip

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