Invalid handle?

2006-08-27 Thread zhu jiang
Hi all, I use multi-threads to do indexing work, sometimes I get invalid handle exception. I am certain that I use the hit results before closing the reader. What's wrong with me? Pls help me! -- Thanks, Jiang

Re: The handle is invalid

2006-08-01 Thread zhu jiang
Hi Erik, It is really beacause of the IndexReader. I correct it and it's OK now. Thank a lot! Best Regards, Jiang 2006/8/2, zhu jiang <[EMAIL PROTECTED]>: Yep, I close the IndexReader before navigating Hits. Isn't it permitted? 2006/8/2, Erik Hatcher <[EMAIL PROT

Re: The handle is invalid

2006-08-01 Thread zhu jiang
Yep, I close the IndexReader before navigating Hits. Isn't it permitted? 2006/8/2, Erik Hatcher <[EMAIL PROTECTED]>: Are you perhaps closing IndexReader or IndexSearcher before or while navigating Hits? Erik On Aug 1, 2006, at 1:05 PM, zhu jiang wrote: > Hi Erik, >

Re: The handle is invalid

2006-08-01 Thread zhu jiang
be the "java.lang.IllegalArgumentException: Argument cannot be null" the cause of your problem. Rootcauses of exceptions are always the bottom aren't they? simon On 8/1/06, zhu jiang <[EMAIL PROTECTED]> wrote: > Hi Erik, > > I use multi-threads to add lots

Re: The handle is invalid

2006-08-01 Thread zhu jiang
11:34 PM, zhu jiang wrote: >When I query, I got this exception:The handle is invalid. What > should I > do? You should give us a much more complete error message, including the stack trace. :) Erik - To unsu

The handle is invalid

2006-07-31 Thread zhu jiang
Hi All, When I query, I got this exception:The handle is invalid. What should I do? Thanks, Jiang