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

PATCH MultiLevelSkipListReader NullPointerException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      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. MultiLevelSkipListReader.patch
          0.5 kB
          Rich Johnson
        2. lucene-951.patch
          2 kB
          Michael Busch

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: