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

NPE in CrawlDbReader -stats on empty CrawlDb

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.14, 1.15
    • Fix Version/s: 1.15
    • Component/s: crawldb
    • Labels:
      None

      Description

      Got this in master:

      Exception in thread "main" java.lang.NullPointerException
              at org.apache.nutch.crawl.CrawlDbReader.processStatJob(CrawlDbReader.java:555)
              at org.apache.nutch.crawl.CrawlDbReader.run(CrawlDbReader.java:914)
              at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
              at org.apache.nutch.crawl.CrawlDbReader.main(CrawlDbReader.java:980)
      

      Not sure why it happens or which commit caused the problem.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                markus17 Markus Jelsma
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: