diff --git a/Core/src/org/sleuthkit/autopsy/report/PortableCaseReportModule.java b/Core/src/org/sleuthkit/autopsy/report/PortableCaseReportModule.java index 9d3e9a77c0..33c7a16a91 100644 --- a/Core/src/org/sleuthkit/autopsy/report/PortableCaseReportModule.java +++ b/Core/src/org/sleuthkit/autopsy/report/PortableCaseReportModule.java @@ -120,6 +120,12 @@ class PortableCaseReportModule implements ReportModule { @Override public String getRelativeFilePath() { + try { + caseName = Case.getCurrentCaseThrows().getDisplayName() + " (Portable)"; // NON-NLS + } catch (NoCurrentCaseException ex) { + // a case may not be open yet + return ""; + } return caseName; }