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

PATCH MultiLevelSkipListReader NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2
    • None
    • core/index
    • None
    • New, Patch Available

    Description

      When Reconstructing Document Using Luke Tool, received NullPointerException.

      java.lang.NullPointerException
      at org.apache.lucene.index.MultiLevelSkipListReader.loadSkipLevels(MultiLevelSkipListReader.java:188)
      at org.apache.lucene.index.MultiLevelSkipListReader.skipTo(MultiLevelSkipListReader.java:97)
      at org.apache.lucene.index.SegmentTermDocs.skipTo(SegmentTermDocs.java:164)
      at org.getopt.luke.Luke$2.run(Unknown Source)

      Luke version 0.7.1

      I emailed with Luke author Andrzej Bialecki and he suggested the attached patch file which fixed the problem.

      Attachments

        1. lucene-951.patch
          2 kB
          Michael Busch
        2. MultiLevelSkipListReader.patch
          0.5 kB
          Rich Johnson

        Activity

          People

            michaelbusch Michael Busch
            rjohnson Rich Johnson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: