From 978ddc76c584a2d4717c04cf989db98ef7d05e88 Mon Sep 17 00:00:00 2001 From: apriestman Date: Thu, 30 Sep 2021 14:12:27 -0400 Subject: [PATCH] Don't attempt to filter content with no data source. --- .../autopsy/report/infrastructure/TableReportGenerator.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Core/src/org/sleuthkit/autopsy/report/infrastructure/TableReportGenerator.java b/Core/src/org/sleuthkit/autopsy/report/infrastructure/TableReportGenerator.java index 93f7f406d2..e2c4d0d1eb 100644 --- a/Core/src/org/sleuthkit/autopsy/report/infrastructure/TableReportGenerator.java +++ b/Core/src/org/sleuthkit/autopsy/report/infrastructure/TableReportGenerator.java @@ -1826,6 +1826,10 @@ class TableReportGenerator { return false; } + if (content.getDataSource() == null) { + return false; + } + long dataSourceId = content.getDataSource().getId(); return !this.settings.getSelectedDataSources().contains(dataSourceId); }