java.lang.RuntimeException: Invalid vLong detected (negative values disallowed)

lucene-java-user | Krishnamurthy, Kannan | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Index Corruption, lucene 5.0 codec, term posting.

    lucene-java-user | 1 year ago | Krishnamurthy, Kannan
    java.lang.RuntimeException: Invalid vLong detected (negative values disallowed)

    Root Cause Analysis

    1. java.lang.RuntimeException

      Invalid vLong detected (negative values disallowed)

      at org.apache.lucene.store.ByteArrayDataInput.readVLong()
    2. Lucene
      CheckIndex.testPostings
      1. org.apache.lucene.store.ByteArrayDataInput.readVLong(ByteArrayDataInput.java:153)
      2. org.apache.lucene.codecs.blocktree.SegmentTermsEnumFrame.decodeMetaData(SegmentTermsEnumFrame.java:464)
      3. org.apache.lucene.codecs.blocktree.SegmentTermsEnum.docFreq(SegmentTermsEnum.java:983)
      4. org.apache.lucene.index.CheckIndex.checkFields(CheckIndex.java:1269)
      5. org.apache.lucene.index.CheckIndex.testPostings(CheckIndex.java:1716)
      5 frames