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

Crawl.java incorrectly uses the Generator API resulting in NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.1
    • 1.1
    • None
    • None

    Description

      As reported by Phil Barnett on nutch-user:

      The Fix.

      In line 131 of Crawl.java

      Generate no longer returns segments like it used to. Now it returns segs.

      line 131 needs to read

      If (segs == null)

      Instead of the current

      If (segments == null)

      After that change and a recompile, crawl is working just fine.

      Attachments

        Activity

          People

            chrismattmann Chris A. Mattmann
            ab Andrzej Bialecki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: