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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.8
    • 0.9.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: