diff --git a/Core/src/org/sleuthkit/autopsy/modules/encryptiondetection/EncryptionDetectionDataSourceIngestModule.java b/Core/src/org/sleuthkit/autopsy/modules/encryptiondetection/EncryptionDetectionDataSourceIngestModule.java index 7782357471..46421475ef 100644 --- a/Core/src/org/sleuthkit/autopsy/modules/encryptiondetection/EncryptionDetectionDataSourceIngestModule.java +++ b/Core/src/org/sleuthkit/autopsy/modules/encryptiondetection/EncryptionDetectionDataSourceIngestModule.java @@ -146,7 +146,12 @@ final class EncryptionDetectionDataSourceIngestModule implements DataSourceInges * Make an ingest inbox message. */ StringBuilder detailsSb = new StringBuilder(""); - detailsSb.append("File: ").append(volume.getParent().getUniquePath()).append(volume.getName()); + detailsSb.append("File: "); + Content parentFile = volume.getParent(); + if (parentFile != null) { + detailsSb.append(volume.getParent().getUniquePath()); + } + detailsSb.append(volume.getName()); if (artifactType.equals(BlackboardArtifact.ARTIFACT_TYPE.TSK_ENCRYPTION_SUSPECTED)) { detailsSb.append("
\nEntropy: ").append(calculatedEntropy); }