From e7aab13f3dddef3f5958cea7034b2070fd9d2b8b Mon Sep 17 00:00:00 2001 From: Greg DiCristofaro Date: Tue, 23 May 2023 14:50:39 -0400 Subject: [PATCH] fix --- Core/src/org/sleuthkit/autopsy/casemodule/CaseMetadata.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/casemodule/CaseMetadata.java b/Core/src/org/sleuthkit/autopsy/casemodule/CaseMetadata.java index edde02e9f1..d52e0572a4 100644 --- a/Core/src/org/sleuthkit/autopsy/casemodule/CaseMetadata.java +++ b/Core/src/org/sleuthkit/autopsy/casemodule/CaseMetadata.java @@ -632,9 +632,9 @@ public final class CaseMetadata { } this.fileContentPath = null; - NodeList caseElementChildren = caseElement.getElementsByTagName(FILE_CONTENT_PATH); - if (caseElementChildren.getLength() == 1) { - String fileContentTextPath = caseElementChildren.item(0).getTextContent(); + NodeList fileContentChildren = doc.getElementsByTagName(FILE_CONTENT_PATH); + if (fileContentChildren.getLength() == 1) { + String fileContentTextPath = fileContentChildren.item(0).getTextContent(); if (StringUtils.isNotBlank(fileContentTextPath)) { this.fileContentPath = fileContentTextPath; }