if (profile == null) {
throw new NullPointerException();
}
profile.validate();
} catch (JsonSyntaxException | JsonIOException | IOException | NullPointerException e) {
<BUG>AmidstLogger.warn("Unable to load file: " + file);

e.printStackTrace();</BUG>
}
}

if (profile == null) {
throw new NullPointerException();
}
profile.validate();
} catch (JsonSyntaxException | JsonIOException | IOException | NullPointerException e) {
AmidstLogger.warn(e, "Unable to load file: " + file);
}
}
