Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6037

PendingTerm cannot be cast to PendingBlock

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Abandoned
    • 4.3.1
    • None
    • core/codecs
    • None
    • ubuntu 64bit

    • New

    Description

      the error as follows:
      java.lang.ClassCastException: org.apache.lucene.codecs.BlockTreeTermsWriter$PendingTerm cannot be cast to org.apache.lucene.codecs.BlockTreeTermsWriter$PendingBlock
      at org.apache.lucene.codecs.BlockTreeTermsWriter$TermsWriter.finish(BlockTreeTermsWriter.java:1014)
      at org.apache.lucene.index.FreqProxTermsWriterPerField.flush(FreqProxTermsWriterPerField.java:553)
      at org.apache.lucene.index.FreqProxTermsWriter.flush(FreqProxTermsWriter.java:85)
      at org.apache.lucene.index.TermsHash.flush(TermsHash.java:116)
      at org.apache.lucene.index.DocInverter.flush(DocInverter.java:53)
      at org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:81)
      at org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:493)
      at org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:480)
      at org.apache.lucene.index.DocumentsWriter.postUpdate(DocumentsWriter.java:378)
      at org.apache.lucene.index.DocumentsWriter.updateDocuments(DocumentsWriter.java:413)
      at org.apache.lucene.index.IndexWriter.updateDocuments(IndexWriter.java:1283)
      at org.apache.lucene.index.IndexWriter.addDocuments(IndexWriter.java:1243)
      at org.apache.lucene.index.IndexWriter.addDocuments(IndexWriter.java:1228)

      Attachments

        Activity

          People

            Unassigned Unassigned
            zhanlijun zhanlijun
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: