diff --git a/Core/src/org/sleuthkit/autopsy/casemodule/Case.java b/Core/src/org/sleuthkit/autopsy/casemodule/Case.java index 4681083400..cccd1dc856 100644 --- a/Core/src/org/sleuthkit/autopsy/casemodule/Case.java +++ b/Core/src/org/sleuthkit/autopsy/casemodule/Case.java @@ -801,6 +801,9 @@ public class Case { } finally { throw new ConcurrentDbAccessException("Unable to acquire lock on " + lockFile, conflictingApplication); } + } else { + lockFileRaf.setLength(0); + lockFileRaf.writeChars(APP_NAME); } }