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

Generator: NPE when extracting the host part of a URL fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.20
    • 1.21
    • generator
    • None

    Description

      When extracting the host part of a URL fails, the Generator job fails because of a NPE in the SelectorReducer. This issue is reproducible if the CrawlDb contains an malformed URL, for example, a URL with an unsupported scheme (smb://).

      Caused by: java.lang.NullPointerException
        at org.apache.nutch.crawl.Generator$SelectorReducer.reduce(Generator.java:439)
        at org.apache.nutch.crawl.Generator$SelectorReducer.reduce(Generator.java:300)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              snagel Sebastian Nagel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: