Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-1383

IndexingFiltersChecker to show error message instead of null pointer exception

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5, 1.6
    • Fix Version/s: 1.6
    • Component/s: indexer
    • Labels:
      None

      Description

      IndexingFiltersChecker may throw null pointer exceptions if

      1. content returned by protocol implementation is null (artifact of NUTCH-1293)
      2. if one of the indexing filters sets doc to null (the interface IndexingFilter allows to exclude documents by returning null, cf. the IndexingFilter of NUTCH-966)

        Attachments

        1. NUTCH-1383.patch
          2 kB
          Sebastian Nagel

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              snagel Sebastian Nagel
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: