From c50fb57afd9817226d34ae19d980d6fd114bc0ef Mon Sep 17 00:00:00 2001 From: William Schaefer Date: Thu, 17 Jan 2019 15:43:59 -0500 Subject: [PATCH] 4650 add exception handling for executionexception when cache is unable to retrieve value --- .../autopsy/centralrepository/datamodel/AbstractSqlEamDb.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/org/sleuthkit/autopsy/centralrepository/datamodel/AbstractSqlEamDb.java b/Core/src/org/sleuthkit/autopsy/centralrepository/datamodel/AbstractSqlEamDb.java index 386d1c0a66..dce2f87b6a 100644 --- a/Core/src/org/sleuthkit/autopsy/centralrepository/datamodel/AbstractSqlEamDb.java +++ b/Core/src/org/sleuthkit/autopsy/centralrepository/datamodel/AbstractSqlEamDb.java @@ -641,7 +641,7 @@ abstract class AbstractSqlEamDb implements EamDb { return dataSourceCacheByDsObjectId.get(getDataSourceByDSObjectIdCacheKey( eamDataSource.getCaseID(), eamDataSource.getDataSourceObjectID()), () -> getDataSourceFromCr(eamDataSource.getCaseID(), eamDataSource.getDataSourceObjectID())); - } catch (CacheLoader.InvalidCacheLoadException ex) { + } catch (CacheLoader.InvalidCacheLoadException | ExecutionException ex) { throw new EamDbException(String.format("Unable to to INSERT or get data source %s in central repo", eamDataSource.getName()), ex); } } else {