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

Crawl.java incorrectly uses the Generator API resulting in NPE

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.1
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: