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

init archiver list if it is null

parent e82aa913
No related branches found
No related tags found
No related merge requests found
......@@ -604,7 +604,7 @@ public abstract class ArchivingManagerApiRef implements IArchivingManagerApiRef
throw new ArchivingException("connection failed");
}
if (archiverListRefresher == null) {
throw new ArchivingException("ArchiverListRefresher not init");
initDbArchiverList();
}
try {
archiverListRefresher.get();
......@@ -1031,10 +1031,7 @@ public abstract class ArchivingManagerApiRef implements IArchivingManagerApiRef
if (mode == null || mode.toArray().length == 0) {
final StringBuilder buffer = new StringBuilder("No achiving mode for '");
buffer.append(attributeName).append("'");
throw new ArchivingException(buffer.toString(), buffer.toString(), ErrSeverity.WARN,
"Failed while executing ArchivingManagerApiRef.getArchivingMode(), the \"" + attributeName
+ "\" attribute didn't have an archiving mode",
this.getClass().getName());
throw new ArchivingException(buffer.toString());
}
return mode;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment