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

Seek past EOF with RAMDirectory should throw EOFException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 5.4.2, 6.0
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      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. issue6932.patch
          2 kB
          Stéphane Campinas
        2. LUCENE-6932.patch
          9 kB
          Michael McCandless
        3. LUCENE-6932.patch
          7 kB
          Michael McCandless
        4. LUCENE-6932.patch
          3 kB
          Michael McCandless
        5. testcase.txt
          0.9 kB
          Stéphane Campinas

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: