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

Nullpointer bug in HeritrixController.java

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Trivial
    • 7.4
    • None
    • None
    • None

    Description

      harvester/heritrix3/heritrix3-controller/src/main/java/dk/netarkivet/harvester/heritrix3/controller/HeritrixController.java

      In cleanup() line 352:

      if (jobResult.job.crawlControllerState != null)

      jobResult.job can be null. Needs a test for not null also.

      We got a nullpointerexception on that line, which led to that NAS crashed and started a new crawl on that instance, which failed ("Port 9290 already in use").

      Version 7.3 (21bc5d6b60)

      (Updated copy of [https://github.com/netarchivesuite/netarchivesuite/issues/116
      ] Maybe should close issue-service there, or link her? Or can both be used?)

      Attachments

        Activity

          People

            Unassigned Unassigned
            peter.svanberg Peter Svanberg
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified