lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandru Popescu" <>
Subject java.lang.IndexOutOfBoundsException when querying Lucene
Date Tue, 16 May 2006 19:20:53 GMT

I am having quite a complex query that gets executed against the JCR
content (that used Lucene for indexing/searching). From time to time I
am seeing this exception:

java.lang.IndexOutOfBoundsException: Index: 99, Size: 27
       at java.util.ArrayList.RangeCheck(
       at java.util.ArrayList.get(
       at org.apache.lucene.index.FieldInfos.fieldInfo(
       at org.apache.lucene.index.FieldsReader.doc(
       at org.apache.lucene.index.SegmentReader.document(
       at org.apache.lucene.index.FilterIndexReader.document(
       at org.apache.lucene.index.FilterIndexReader.document(
       at org.apache.lucene.index.FilterIndexReader.document(
       at org.apache.lucene.index.MultiReader.document(
       at org.apache.jackrabbit.core.query.lucene.ChildAxisQuery$ChildAxisScorer.calculateChildren(
       at org.apache.jackrabbit.core.query.lucene.ChildAxisQuery$
       at org.apache.jackrabbit.core.query.lucene.SearchIndex.executeQuery(
       at org.apache.jackrabbit.core.query.lucene.QueryImpl.execute(
       at org.apache.jackrabbit.core.query.QueryImpl.execute(

I really don't have any idea why this is happening. Do you have any
pointers? I would like to understand what may go wrong so that I can
prevent at least in my application (that is based on Jackrabbit JCR
implementation, and so on Lucene) that this occurs (or at least I can
reliable catch the exception and understand what I have to do when it

The ML contains a couple of reported IndexOutOfBoundsException reports
but all of them are about index merging. Same on JIRA.

Any help, ideas, hints are highly appreciated,
thanks very much in advance,

.w( the_mindstorm )p.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message