lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Strange Exception
Date Fri, 18 Apr 2008 14:56:14 GMT

Some sort of index corruption seems likely.  Is it expected that the  
docs in this index only have 2 fields?  The exception is happening  
because TermBuffer is trying to look up the field name for  
fieldNumber=3.

What version of Lucene is this?

How was the index produced?

Were there any other exceptions before this?

Mike

eks dev wrote:
>
> does anyone have an idea what the reason for this could be? corrupt  
> index? (this is RAMDirectoryloaded from FSDirectory!?)
> unfortunately I have very limited possibilities to access this  
> system to dig deeper....
>
> thanks!
>
> INFO   | jvm 49   | 2008/04/10 11:30:41 | 080410 113041 SEVERE  
> Server handler 0 on 4326 call error:  
> java.lang.IndexOutOfBoundsException: Index: 3, Size: 2
> INFO   | jvm 49   | 2008/04/10 11:30:41 |  
> java.lang.IndexOutOfBoundsException: Index: 3, Size: 2
> INFO   | jvm 49   | 2008/04/10 11:30:41 |  at  
> java.util.ArrayList.RangeCheck(ArrayList.java:547)
> INFO   | jvm 49   | 2008/04/10 11:30:41 |  at  
> java.util.ArrayList.get(ArrayList.java:322)
> INFO   | jvm 49   | 2008/04/10 11:30:41 |  at  
> org.apache.lucene.index.FieldInfos.fieldInfo(Unknown Source)
> INFO   | jvm 49   | 2008/04/10 11:30:41 |  at  
> org.apache.lucene.index.FieldInfos.fieldName(Unknown Source)
> INFO   | jvm 49   | 2008/04/10 11:30:41 |  at  
> org.apache.lucene.index.TermBuffer.read(Unknown Source)
> INFO   | jvm 49   | 2008/04/10 11:30:41 |  at  
> org..apache.lucene.index.SegmentTermEnum.next(Unknown Source)
> INFO   | jvm 49   | 2008/04/10 11:30:41 |  at  
> org.apache.lucene.index.SegmentTermEnum.scanTo(Unknown Source)
> INFO   | jvm 49   | 2008/04/10 11:30:41 |  at  
> org.apache.lucene.index.TermInfosReader.scanEnum(Unknown Source)
> INFO   | jvm 49   | 2008/04/10 11:30:41 |  at  
> org.apache.lucene.index.TermInfosReader.get(Unknown Source)
> INFO   | jvm 49   | 2008/04/10 11:30:41 |  at  
> org.apache.lucene.index.SegmentReader.docFreq(Unknown Source)
> INFO   | jvm 49   | 2008/04/10 11:30:41 |  at  
> org.apache.lucene.search.IndexSearcher.docFreq(Unknown Source)
> INFO   | jvm 49   | 2008/04/10 11:30:41 |  at  
> org.apache.lucene.search.Similarity.idf(Unknown Source)
> INFO   | jvm 49   | 2008/04/10 11:30:41 |  at  
> org.apache.lucene.search.TermQuery$TermWeight.<init>(Unknown Source)
> INFO   | jvm 49   | 2008/04/10 11:30:41 |  at  
> org.apache.lucene.search.TermQuery.createWeight(Unknown Source)
> INFO   | jvm 49   | 2008/04/10 11:30:41 |  at  
> org.apache.lucene.search.BooleanQuery$BooleanWeight.<init>(Unknown  
> Source)
> INFO   | jvm 49   | 2008/04/10 11:30:41 |  at  
> org.apache..lucene.search.BooleanQuery.createWeight(Unknown Source)
> INFO   | jvm 49   | 2008/04/10 11:30:41 |  at  
> org.apache.lucene.search.Query.weight(Unknown Source)
> INFO   | jvm 49   | 2008/04/10 11:30:41 |  at  
> org.apache.lucene.search.Searcher.createWeight(Unknown Source)
> INFO   | jvm 49   | 2008/04/10 11:30:41 |  at  
> org.apache.lucene.search.Searcher.search(Unknown Source)
>
>
>
>       __________________________________________________________
> Sent from Yahoo! Mail.
> A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message