Re: ArrayIndexOutOfBoundsException in FastCharStream.readChar

2008-10-07 Thread Edwin Smith
I found it. My reader was returning 0 at the end of the stream instead of -1. Doh.   Thanks again for the suggestions. They did ultimately lead me to the right answer.   Ed - Original Message From: Edwin Smith <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Tuesday, O

Re: ArrayIndexOutOfBoundsException in FastCharStream.readChar

2008-10-07 Thread Edwin Smith
zer, do you then see the  same exception? Can you post the full stack trace on 2.3.2? Mike Edwin Smith wrote: > I upgraded to the latest, 3.3.2 and had the same problem, even  > though it was clearly a different lexer reading the text. > > I did find some problems with the reader

Re: ArrayIndexOutOfBoundsException in FastCharStream.readChar

2008-10-06 Thread Edwin Smith
ified, but the text coming in from it looks correct to me, so I don't know.   Very frustrating.   Ed - Original Message ---- From: Edwin Smith <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Monday, October 6, 2008 3:20:51 PM Subject: Re: ArrayIndexOu

Re: ArrayIndexOutOfBoundsException in FastCharStream.readChar

2008-10-06 Thread Edwin Smith
n't using 2.3.2 (the most recent release)? Steve On 10/06/2008 at 2:32 PM, Edwin Smith wrote: > Oh, and in case it matters, I'm using Lucene 2.2.0. > > Ed > > > > - Original Message > > > I am stumped and have not seen any other reference to this

ArrayIndexOutOfBoundsException in FastCharStream.readChar

2008-10-06 Thread Edwin Smith
I am stumped and have not seen any other reference to this problem. I am getting the following exception on everything I try to index. Does anyone know what my problem might be? Thanks, Ed java.lang.ArrayIndexOutOfBoundsException at org.apache.lucene.analysis.standard.FastCharStream.readChar(

Re: ArrayIndexOutOfBoundsException in FastCharStream.readChar

2008-10-06 Thread Edwin Smith
Oh, and in case it matters, I'm using Lucene 2.2.0. Ed - Original Message I am stumped and have not seen any other reference to this problem. I am getting the following exception on everything I try to index. Does anyone know what my problem might be? Thanks, Ed java.lang.ArrayI