cache.invalidateAll();
}
@Nullable
public Image get(DrawableFile<?> file) {
try {
<BUG>return cache.get(file.getId(), () -> load(file)).orElse(null);
} catch (UncheckedExecutionException | CacheLoader.InvalidCacheLoadException | ExecutionException ex) {</BUG>
LOGGER.log(Level.WARNING, "Failed to load thumbnail for file: " + file.getName(), ex.getCause());
return null;
}

cache.invalidateAll();
}
@Nullable
public Image get(DrawableFile<?> file) {
try {
return cache.get(file.getId(), () -> load(file));
} catch (UncheckedExecutionException | CacheLoader.InvalidCacheLoadException | ExecutionException ex) {
LOGGER.log(Level.WARNING, "Failed to load thumbnail for file: " + file.getName(), ex.getCause());
return null;
