try {
LogUtil.logger.info("Loading battlefield " + file.getCanonicalPath() + "...");
ObjectMapper mapper = new ObjectMapper(); // can reuse, share globally
bField = mapper.readValue(file, Battlefield.class);
bField.setFileName(file.getCanonicalPath());
<BUG>bField.getMap().atlas.finalize();
bField.getMap().cover.finalize();</BUG>
} catch (Exception e1) {
e1.printStackTrace();
}

try {
LogUtil.logger.info("Loading battlefield " + file.getCanonicalPath() + "...");
ObjectMapper mapper = new ObjectMapper(); // can reuse, share globally
bField = mapper.readValue(file, Battlefield.class);
bField.setFileName(file.getCanonicalPath());
} catch (Exception e1) {
e1.printStackTrace();
}
