From 7b66af30a5d15e6c6cd1a0adb2d69e8b69241523 Mon Sep 17 00:00:00 2001 From: Greg DiCristofaro Date: Thu, 18 Apr 2024 21:19:18 -0400 Subject: [PATCH] fix --- Core/src/org/sleuthkit/autopsy/casemodule/Case.java | 3 +++ 1 file changed, 3 insertions(+) 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); } }