Skip to content
Snippets Groups Projects
Commit 42a1a910 authored by Gwenaelle ABEILLE's avatar Gwenaelle ABEILLE
Browse files

fix NPE

parent b3ae87f9
No related branches found
No related tags found
No related merge requests found
Pipeline #343 failed
......@@ -523,8 +523,11 @@ public abstract class ArchivingManagerApiRef implements IArchivingManagerApiRef
@Override
public String[] getMExportedArchiverList() {
try {
if (archiverListRefresher == null) {
initDbArchiverList();
}
archiverListRefresher.get();
} catch (InterruptedException | ExecutionException e) {
} catch (InterruptedException | ExecutionException | ArchivingException e) {
LOGGER.error("failed to get archivers list", e);
}
return exportedArchiverList;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment