Commit 2f5cf8ca authored by Mark Bench's avatar Mark Bench
Browse files

handle "null" solutions appropriately

parent 143c6816
......@@ -246,7 +246,7 @@ public class Benchmark {
try (BufferedWriter solutionWriter = Files.newBufferedWriter(sfp.getSolutionPath(s))) {
MquatString out = solution.print(new MquatWriteSettings(" "));
solutionWriter.write(out.toString());
} catch (IOException e) {
} catch (NullPointerException | IOException e) {
logger.catching(e);
}
if (!writeOutResult(writer, path, failCount, sb)) return false;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment