Uploaded image for project: 'Terrier Core'
  1. Terrier Core
  2. TR-361

Trailing empty documents cause the classical indexer to NPE

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1
    • Component/s: None
    • Labels:
      None

      Description

      java.lang.NullPointerException
      at org.terrier.structures.bit.BitPostingIndexInputStream.loadPostingIterator(BitPostingIndexInputStream.java:243)
      at org.terrier.structures.bit.BitPostingIndexInputStream.getNextPostings(BitPostingIndexInputStream.java:184)
      at org.terrier.structures.indexing.classical.InvertedIndexBuilder.traverseDirectFile(InvertedIndexBuilder.java:525)
      at org.terrier.structures.indexing.classical.InvertedIndexBuilder.createInvertedIndex(InvertedIndexBuilder.java:316)
      at org.terrier.structures.indexing.classical.BasicIndexer.createInvertedIndex(BasicIndexer.java:429)
      at org.terrier.structures.indexing.Indexer.index(Indexer.java:349)

        Attachments

          Activity

          craigm Craig Macdonald created issue -
          craigm Craig Macdonald made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          richardm Richard McCreadie made changes -
          Project TREC [ 10010 ] Terrier Core [ 10000 ]
          Key TREC-433 TR-361
          Workflow jira [ 10945 ] Terrier Open Source [ 10965 ]
          Affects Version/s 4.0 [ 10051 ]
          Affects Version/s 4.0 [ 10050 ]
          Component/s Core [ 10020 ]
          Fix Version/s 4.1 [ 10070 ]
          Fix Version/s 4.1 [ 10071 ]

            People

            • Assignee:
              craigm Craig Macdonald
              Reporter:
              craigm Craig Macdonald
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: