Merge pull request #1570 from mhmdfy/hashdb-null-pointer

Hashdb null pointer
This commit is contained in:
Richard Cordovano 2015-09-14 13:36:05 -04:00
commit 780f0fa2ce

View File

@ -336,7 +336,8 @@ public class HashDbIngestModule implements FileIngestModule {
private static synchronized void postSummary(long jobId,
List<HashDb> knownBadHashSets, List<HashDb> knownHashSets) {
IngestJobTotals jobTotals = totalsForIngestJobs.remove(jobId);
IngestJobTotals jobTotals = getTotalsForIngestJobs(jobId);
totalsForIngestJobs.remove(jobId);
if ((!knownBadHashSets.isEmpty()) || (!knownHashSets.isEmpty())) {
StringBuilder detailsSb = new StringBuilder();