mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Merge pull request #7901 from gdicristofaro/jenkins_bug_fix_24_05_08
Jenkins bug fix 5/8/24
This commit is contained in:
commit
89f765dd4b
@ -2737,7 +2737,7 @@ public class Case {
|
|||||||
* with a standard name, physically located in the case
|
* with a standard name, physically located in the case
|
||||||
* directory.
|
* directory.
|
||||||
*/
|
*/
|
||||||
caseDb = SleuthkitCase.newCase(Paths.get(metadata.getCaseDirectory(), SINGLE_USER_CASE_DB_NAME, APP_NAME).toString());
|
caseDb = SleuthkitCase.newCase(Paths.get(metadata.getCaseDirectory(), SINGLE_USER_CASE_DB_NAME).toString(), (ContentStreamProvider) null, APP_NAME);
|
||||||
metadata.setCaseDatabaseName(SINGLE_USER_CASE_DB_NAME);
|
metadata.setCaseDatabaseName(SINGLE_USER_CASE_DB_NAME);
|
||||||
} else {
|
} else {
|
||||||
/*
|
/*
|
||||||
@ -2823,11 +2823,14 @@ public class Case {
|
|||||||
Throwable curEx = ex;
|
Throwable curEx = ex;
|
||||||
// max depth search for a concurrent db access exception will be 10
|
// max depth search for a concurrent db access exception will be 10
|
||||||
for (int i = 0; i < 10; i++) {
|
for (int i = 0; i < 10; i++) {
|
||||||
if (curEx instanceof ConcurrentDbAccessException foundEx) {
|
if (curEx == null) {
|
||||||
|
break;
|
||||||
|
} else if (curEx instanceof ConcurrentDbAccessException foundEx) {
|
||||||
concurrentEx = foundEx;
|
concurrentEx = foundEx;
|
||||||
break;
|
break;
|
||||||
|
} else {
|
||||||
|
curEx = curEx.getCause();
|
||||||
}
|
}
|
||||||
curEx = curEx.getCause();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (concurrentEx != null) {
|
if (concurrentEx != null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user