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

Seek past EOF with RAMDirectory should throw EOFException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.0
    • 5.4.2, 6.0
    • core/index
    • None
    • New

    Description

      In the JUnit test case from the attached file, I call "IndexInput.seek()" on a position past
      EOF. However, there is no EOFException that is thrown.

      To reproduce the error, please use the seed test: -Dtests.seed=8273A81C129D35E2

      Attachments

        1. LUCENE-6932.patch
          9 kB
          Michael McCandless
        2. LUCENE-6932.patch
          7 kB
          Michael McCandless
        3. LUCENE-6932.patch
          3 kB
          Michael McCandless
        4. issue6932.patch
          2 kB
          Stéphane Campinas
        5. testcase.txt
          0.9 kB
          Stéphane Campinas

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stephane.campinas@gmail.com Stéphane Campinas
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: