jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandru Popescu" <the.mindstorm.mailingl...@gmail.com>
Subject IndexOutOfBoundsException in QueryImpl.execute
Date Tue, 16 May 2006 18:34:19 GMT
Hi!

I am having quite a complex query that gets executed against the JCR
content. From time to time I am seeing this exception:

[trace]
java.lang.IndexOutOfBoundsException: Index: 99, Size: 27
        at java.util.ArrayList.RangeCheck(ArrayList.java:546)
        at java.util.ArrayList.get(ArrayList.java:321)
        at org.apache.lucene.index.FieldInfos.fieldInfo(FieldInfos.java:155)
        at org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:66)
        at org.apache.lucene.index.SegmentReader.document(SegmentReader.java:237)
        at org.apache.lucene.index.FilterIndexReader.document(FilterIndexReader.java:103)
        at org.apache.lucene.index.FilterIndexReader.document(FilterIndexReader.java:103)
        at org.apache.lucene.index.FilterIndexReader.document(FilterIndexReader.java:103)
        at org.apache.lucene.index.MultiReader.document(MultiReader.java:108)
        at org.apache.jackrabbit.core.query.lucene.ChildAxisQuery$ChildAxisScorer.calculateChildren(ChildAxisQuery.java:308)
        at org.apache.jackrabbit.core.query.lucene.ChildAxisQuery$ChildAxisScorer.next(ChildAxisQuery.java:250)
        at org.apache.lucene.search.ConjunctionScorer.init(ConjunctionScorer.java:87)
        at org.apache.lucene.search.ConjunctionScorer.next(ConjunctionScorer.java:44)
        at org.apache.lucene.search.Scorer.score(Scorer.java:37)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:121)
        at org.apache.lucene.search.Hits.getMoreDocs(Hits.java:64)
        at org.apache.lucene.search.Hits.<init>(Hits.java:51)
        at org.apache.lucene.search.Searcher.search(Searcher.java:41)
        at org.apache.jackrabbit.core.query.lucene.SearchIndex.executeQuery(SearchIndex.java:374)
        at org.apache.jackrabbit.core.query.lucene.QueryImpl.execute(QueryImpl.java:174)
        at org.apache.jackrabbit.core.query.QueryImpl.execute(QueryImpl.java:130)
[/trace]

I really don't have any idea why this is happening. Do you have any pointers?

thanks very much in advance,

./alex
--
.w( the_mindstorm )p.

Mime
View raw message