org.apache.lucene.store.NoSuchDirectoryException: directory '/opt/solr/cores/shard_f/data/index' does not exist

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 Apache's JIRA Issue Tracker by Markus Jelsma, 1 year ago
directory '/opt/solr/cores/shard_f/data/index' does not exist
via Apache's JIRA Issue Tracker by Markus Jelsma, 1 year ago
directory '/opt/solr/cores/shard_f/data/index' does not exist
via GitHub by clintongormley
, 2 years ago
directory '/Users/clinton/workspace/elasticsearch/data/elasticsearch/nodes/0/indices/test-weird-index-??/4/index' does not exist
via GitHub by dmitrizagidulin
, 2 years ago
directory '/Users/dmitri/riak/riak-yokozuna-0.6.0-src/rel/riak/data/yz/_yz_default/data/index' does not exist
via Eclipse Bugzilla by marcel.bruch, 1 year ago
directory '/Users/marcel/Desktop/demo/ws/.metadata/.plugins/com.codetrails.connect.codesearch/index' does not exist
org.apache.lucene.store.NoSuchDirectoryException: directory '/opt/solr/cores/shard_f/data/index' does not exist
at org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:217)
at org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:240)
at org.apache.lucene.store.NRTCachingDirectory.listAll(NRTCachingDirectory.java:132)
at org.apache.solr.core.DirectoryFactory.sizeOfDirectory(DirectoryFactory.java:146)
at org.apache.solr.handler.ReplicationHandler.getIndexSize(ReplicationHandler.java:472)
at org.apache.solr.handler.ReplicationHandler.getReplicationDetails(ReplicationHandler.java:568)
at org.apache.solr.handler.ReplicationHandler.handleRequestBody(ReplicationHandler.java:213)
at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:144)
at org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:240)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1830)
at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:476)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:744)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

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

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