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

UrlFilters.java throws NPE in case urlfilter.order contains Filters that are not in plugin.includes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8
    • Fix Version/s: 0.9.0
    • Component/s: None
    • Labels:
      None

      Description

      In URLFilters constructor we use an array as long as we have filters defined in the urlfilter.order property.
      In case those filters are not included in the plugin.include property end up putting null entries into the array.

      This cause a NPE in URLFilters line 82.

        Attachments

        1. UrlFiltersNPE.patch
          1 kB
          Stefan Groschupf

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joa23 Stefan Groschupf
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: