Re: NIOFSDirectory and Thread.interrupt

2011-10-16 Thread Simon Willnauer
Are you using an ExecutorService somewhere or do you call Future#cancel() ? Somehow the streams must have been closed in your application due to an interrupt though. can you explain more what you are doing and give some details about the execution environment? simon On Sun, Oct 16, 2011 at 12:32

NIOFSDirectory and Thread.interrupt

2011-10-16 Thread Grzegorz TaƄczyk
Hello, I had some problem with this issue: https://issues.apache.org/jira/browse/LUCENE-2239 I was getting ClosedByInterruptException even though my application was not calling Thread.interrupt() anywhere. There were 2 scenarios of getting this exception: class MyThread extends Thread { p