We're updating the issue view to help you get more done. 

org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed

Description

16/02/2015 12.45.19:com.jthink.jaikoz.indexed.DataIndexer:resetReaderAndSearcher:SEVERE: Problem with ResetReaderAndSearcher:null
java.nio.channels.ClosedByInterruptException
at java.nio.channels.spi.AbstractInterruptibleChannel.end(Unknown Source)
at sun.nio.ch.FileChannelImpl.map(Unknown Source)
at org.apache.lucene.store.MMapDirectory.map(MMapDirectory.java:283)
at org.apache.lucene.store.MMapDirectory$MMapIndexInput.<init>(MMapDirectory.java:228)
at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:195)
at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:285)
at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:56)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:783)
at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:52)
at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:66)
at com.jthink.jaikoz.indexed.DataIndexer.resetReaderAndSearcher(DataIndexer.java:103)
at com.jthink.jaikoz.indexed.DataIndexer.updateRowInIndex(DataIndexer.java:429)
at com.jthink.jaikoz.indexed.DataIndexerManager$RedoRow.run(DataIndexerManager.java:147)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
16/02/2015 12.45.20:com.jthink.jaikoz.indexed.DataIndexer:updateRowsInIndex:SEVERE: Updating 10 rows
16/02/2015 12.45.20:com.jthink.jaikoz.EventDispatchThreadExceptionHandler:handle:SEVERE: Uncaught throwable caught by EventDispatchThreadExceptionHandler:this IndexReader is closed
org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed
at org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:252)
at org.apache.lucene.index.AtomicReader.getContext(AtomicReader.java:59)
at org.apache.lucene.index.AtomicReader.getContext(AtomicReader.java:47)
at org.apache.lucene.search.TermCollectingRewrite.collectTerms(TermCollectingRewrite.java:49)
at org.apache.lucene.search.ConstantScoreAutoRewrite.rewrite(ConstantScoreAutoRewrite.java:95)
at org.apache.lucene.search.MultiTermQuery$ConstantScoreAutoRewrite.rewrite(MultiTermQuery.java:220)
at org.apache.lucene.search.MultiTermQuery.rewrite(MultiTermQuery.java:288)
at org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:616)
at org.apache.lucene.search.IndexSearcher.createNormalizedWeight(IndexSearcher.java:663)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:281)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:269)
at com.jthink.jaikoz.indexed.DataIndexer.getValues(DataIndexer.java:521)
at com.jthink.jaikoz.tagbrowser.TagBrowser.updateGenreData(TagBrowser.java:110)
at com.jthink.jaikoz.indexed.DataIndexerManager$RedoRow$1.run(DataIndexerManager.java:162)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
16/02/2015 12.45.20:com.jthink.jaikoz.EventDispatchThreadExceptionHandler:handle:SEVERE: this IndexReader is closed
org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed
at org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:252)
at org.apache.lucene.index.AtomicReader.getContext(AtomicReader.java:59)
at org.apache.lucene.index.AtomicReader.getContext(AtomicReader.java:47)
at org.apache.lucene.search.TermCollectingRewrite.collectTerms(TermCollectingRewrite.java:49)
at org.apache.lucene.search.ConstantScoreAutoRewrite.rewrite(ConstantScoreAutoRewrite.java:95)
at org.apache.lucene.search.MultiTermQuery$ConstantScoreAutoRewrite.rewrite(MultiTermQuery.java:220)
at org.apache.lucene.search.MultiTermQuery.rewrite(MultiTermQuery.java:288)
at org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:616)
at org.apache.lucene.search.IndexSearcher.createNormalizedWeight(IndexSearcher.java:663)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:281)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:269)
at com.jthink.jaikoz.indexed.DataIndexer.getValues(DataIndexer.java:521)
at com.jthink.jaikoz.tagbrowser.TagBrowser.updateGenreData(TagBrowser.java:110)
at com.jthink.jaikoz.indexed.DataIndexerManager$RedoRow$1.run(DataIndexerManager.java:162)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
16/02/2015 12.45.21:com.jthink.jaikoz.JaikozThreadGroup:uncaughtException:SEVERE: Uncaught throwable:this IndexReader is closed on thread:Thread-27 caught by JaikozThreadGroup
16/02/2015 12.45.21:com.jthink.jaikoz.JaikozThreadGroup:uncaughtException:SEVERE: RuntimeException occurred in application
org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed
at org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:252)
at org.ap

Environment

None

Status

Assignee

Unassigned

Reporter

Paul Taylor

Labels

None

Forum Username

JeremyCrews

os

None

Affects versions

8.2.1

Priority

Major