From f3c8aeca91dc10a1448ae8e83075e443abb7e3ed Mon Sep 17 00:00:00 2001 From: Richard Cordovano Date: Thu, 18 Mar 2021 16:55:20 -0400 Subject: [PATCH] Ingest progress snapshot fix for file ingest modules --- Core/src/org/sleuthkit/autopsy/ingest/IngestManager.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/ingest/IngestManager.java b/Core/src/org/sleuthkit/autopsy/ingest/IngestManager.java index 88a1325e05..7705bbffd5 100644 --- a/Core/src/org/sleuthkit/autopsy/ingest/IngestManager.java +++ b/Core/src/org/sleuthkit/autopsy/ingest/IngestManager.java @@ -777,8 +777,9 @@ public class IngestManager implements IngestProgressSnapshotProvider { } catch (TskCoreException ex) { /* * In practice, the file should have already been lazily looked up - * and cached when the task was enqueued by the ingest tasks - * scheduler. + * and cached in the file task when the task was enqueued by the + * ingest tasks scheduler. Therefore there is no case database query + * here and there should be no TskCoreException. */ logger.log(Level.SEVERE, "Error getting file from file ingest task", ex); newSnap = new IngestThreadActivitySnapshot(task.getThreadId(), task.getIngestJobPipeline().getId(), currentModuleName, task.getDataSource());