Uploaded image for project: 'NetarchiveSuite'
  1. NetarchiveSuite
  2. NAS-2551

Strange Logic in doOneCrawl

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Major
    • 5.3
    • None
    • Harvest Definition
    • None
    • NAS 5.3

    Description

      In the code which adds WarcInfoMetaData the logic reads

      if (job.getContinuationOf() != null ) {
                      ht.insertWarcInfoMetadata(job, origHarvestName, origHarvestSchedule,
                              Settings.get(HarvesterSettings.PERFORMER));
                  } 
      

      This predicate appears to be wrong - the metadata should be added iff the job is not a continuation. This leads to a latee series of NPE's in NasWARCProcessor because of attempting to instantiate am ANVLRecord object with null values.

      Attachments

        Activity

          People

            Unassigned Unassigned
            csr Colin Rosenthal
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: