You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lucenenet.apache.org by Nic Wise <Ni...@bbc.com> on 2008/08/26 13:14:38 UTC

"Index was outside the bounds of the array" - Lucene.NET

Hi there

 

I have a site which is showing up the stack trace below when we try to
do a search. It's been working for a while, but suddenly come up with
issues. Anyone seen this before (ie, while I try to get into the code
and debug/reproduce it). We are using 2.0.0.4 BTW.

 

I'm thinking it may be a deadlock situation. The call below is in a lock
statement, but the indexer is separate - it's a totally different
process.

 

If anyone has any thoughts, I'd love to know J

 

Thanks

 

N

 

2008-08-26 11:13:32,120 [5] DEBUG - The controller trapped the following
exception: Index was outside the bounds of the array. at 

Server stack trace: 

   at Lucene.Net.Search.TermScorer.Score()

   at Lucene.Net.Search.DisjunctionSumScorer.AdvanceAfterCurrent()

   at Lucene.Net.Search.DisjunctionSumScorer.SkipTo(Int32 target)

   at Lucene.Net.Search.BooleanScorer2.SkipTo(Int32 target)

   at Lucene.Net.Search.ConjunctionScorer.DoNext()

   at Lucene.Net.Search.ConjunctionScorer.Next()

   at Lucene.Net.Search.BooleanScorer2.Score(HitCollector hc)

   at Lucene.Net.Search.IndexSearcher.Search(Weight weight, Filter
filter, HitCollector results)

   at Lucene.Net.Search.IndexSearcher.Search(Weight weight, Filter
filter, Int32 nDocs)

   at Lucene.Net.Search.Hits.GetMoreDocs(Int32 min)

   at Lucene.Net.Search.Hits..ctor(Searcher s, Query q, Filter f)

   at Lucene.Net.Search.Searcher.Search(Query query, Filter filter)

   at Lucene.Net.Search.Searcher.Search(Query query)

   at
Bbc.Ww.DigitalDelivery.TopGear.Model.Search.LuceneMetadataIndex.GetTopTe
rmUsage(String searchCriteria, Int32 count, String field) in
xxxxxx\Bbc.Ww.DigitalDelivery.TopGear.Model\Search\LuceneMetadataIndex.c
s:line 290

(more of our stacktrace deleted)

 

 

 

Nic Wise - Application Architect - BBC Worldwide Digital Delivery

e. nic.wise@bbc.com / nicw@fastchicken.co.nz

t. 07788.592.806 / x32835

b. http://www.fastchicken.co.nz/

BBC Worldwide MC2C1, 201 Wood Lane, London W12 7TQ 
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
 
Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this

This e-mail has been sent by one of the following wholly-owned subsidiaries of the BBC:
 
BBC Worldwide Limited, Registration Number: 1420028 England, Registered Address: BBC Media Centre, 201 Wood Lane, London, W12 7TQ
BBC World News Limited, Registration Number: 04514407 England, Registered Address: Woodlands, BBC Media Centre, 201 Wood Lane, London, W12 7TQ
BBC World Distribution Limited, Registration Number: 04514408, Registered Address: Woodlands, BBC Media Centre, 201 Wood Lane, London, W12 7TQ