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; }