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 Re: IndexOutOfBoundsException in QueryImpl.execute
Date Wed, 17 May 2006 07:43:25 GMT
I've been looking about this exception on Lucene ML and JIRA but
couldn't find something very very close. However, most of the reports
about IndexOutOfBoundsException are coming from index merging
operations. I am wondering if the exception I am seeing here may be
caused by the following scenario:

- the indexing processes merges indexes
- a parallel process/thread executes a query

Is this the problem?

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


On 5/16/06, Alexandru Popescu <the.mindstorm.mailinglist@gmail.com> wrote:
> 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