Merge pull request #2825 from eugene7646/manifest_file

Potential NPE bug fix (2629)
This commit is contained in:
Richard Cordovano 2017-06-06 10:53:12 -04:00 committed by GitHub
commit e538fda75c

View File

@ -46,7 +46,11 @@ public final class Manifest implements Serializable {
this.dateFileCreated = new Date(attrs.creationTime().toMillis());
this.caseName = caseName;
this.deviceId = deviceId;
if (dataSourcePath != null) {
this.dataSourcePath = dataSourcePath.toString();
} else {
this.dataSourcePath = "";
}
this.manifestProperties = new HashMap<>(manifestProperties);
}