You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Peixin Li (Jira)" <ji...@apache.org> on 2022/02/25 04:16:00 UTC

[jira] [Created] (LUCENE-10441) ArrayIndexOutOfBoundsException during indexing

Peixin Li created LUCENE-10441:
----------------------------------

             Summary: ArrayIndexOutOfBoundsException during indexing
                 Key: LUCENE-10441
                 URL: https://issues.apache.org/jira/browse/LUCENE-10441
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Peixin Li


Hi experts!, i have facing ArrayIndexOutOfBoundsException during indexing and committing documents, this exception gives me no clue about what happened so i have little information for debugging, can i have some suggest about what could be and how to fix this error? 
{code:java}
java.lang.ArrayIndexOutOfBoundsException: -1
    at org.apache.lucene.util.BytesRefHash$1.get(BytesRefHash.java:179)
    at org.apache.lucene.util.StringMSBRadixSorter$1.get(StringMSBRadixSorter.java:42)
    at org.apache.lucene.util.StringMSBRadixSorter$1.setPivot(StringMSBRadixSorter.java:63)
    at org.apache.lucene.util.Sorter.binarySort(Sorter.java:192)
    at org.apache.lucene.util.Sorter.binarySort(Sorter.java:187)
    at org.apache.lucene.util.IntroSorter.quicksort(IntroSorter.java:41)
    at org.apache.lucene.util.IntroSorter.quicksort(IntroSorter.java:83)
    at org.apache.lucene.util.IntroSorter.sort(IntroSorter.java:36)
    at org.apache.lucene.util.MSBRadixSorter.introSort(MSBRadixSorter.java:133)
    at org.apache.lucene.util.MSBRadixSorter.sort(MSBRadixSorter.java:126)
    at org.apache.lucene.util.MSBRadixSorter.sort(MSBRadixSorter.java:121)
    at org.apache.lucene.util.BytesRefHash.sort(BytesRefHash.java:183)
    at org.apache.lucene.index.SortedSetDocValuesWriter.flush(SortedSetDocValuesWriter.java:171)
    at org.apache.lucene.index.DefaultIndexingChain.writeDocValues(DefaultIndexingChain.java:348)
    at org.apache.lucene.index.DefaultIndexingChain.flush(DefaultIndexingChain.java:228)
    at org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:350)
    at org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:476)
    at org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:656)
    at org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:3364)
    at org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:3770)
    at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3728) {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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