org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.apache.lucene.store.AlreadyClosedException: this Directory is closed]

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 opensearchserve by neuner
, 1 year ago
Job threw an unhandled exception. [See nested exception: org.apache.lucene.store.AlreadyClosedException: this Directory is closed]
via emc.com by Unknown author, 1 year ago
Job threw an unhandled exception. [See nested exception: com.ibatis.sqlmap.client.SqlMapException: There is no statement named getDbCurrentTime in this SqlMap.]
via Coderanch by Rafael Ra, 1 year ago
Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
via GitHub by jberthoux
, 1 year ago
Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
via GitHub by tomekszy
, 1 year ago
Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
via GitHub by sobotkav
, 11 months ago
Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.apache.lucene.store.AlreadyClosedException: this Directory is closed]
at org.apache.lucene.store.Directory.ensureOpen(Directory.java:255)
at org.apache.lucene.store.FSDirectory.fileExists(FSDirectory.java:548)
at org.apache.lucene.index.SegmentInfo.addIfExists(SegmentInfo.java:574)
at org.apache.lucene.index.SegmentInfo.files(SegmentInfo.java:600)
at org.apache.lucene.index.SegmentInfos.files(SegmentInfos.java:803)
at org.apache.lucene.index.IndexFileDeleter.incRef(IndexFileDeleter.java:458)
at org.apache.lucene.index.IndexWriter.startCommit(IndexWriter.java:5576)
at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:4160)
at org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:2260)
at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:2204)
at com.jaeksoft.searchlib.index.WriterLocal.close(WriterLocal.java:94)
at com.jaeksoft.searchlib.index.WriterLocal.optimizeNoLock(WriterLocal.java:321)
at com.jaeksoft.searchlib.index.WriterLocal.optimize(WriterLocal.java:329)
at com.jaeksoft.searchlib.index.IndexSingle.optimize(IndexSingle.java:105)
at com.jaeksoft.searchlib.Client.optimize(Client.java:218)
at com.jaeksoft.searchlib.scheduler.task.TaskOptimizeIndex.execute(TaskOptimizeIndex.java:61)
at com.jaeksoft.searchlib.scheduler.TaskItem.run(TaskItem.java:89)
at com.jaeksoft.searchlib.scheduler.TaskManager.execute(TaskManager.java:221)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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