From bb7fae42b2a743572f7d633c9159f28c353a76be Mon Sep 17 00:00:00 2001 From: gmungoc Date: Mon, 23 Jul 2018 11:54:56 +0100 Subject: [PATCH] JAL-3048 check for headless --- src/jalview/gui/ImageExporter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/ImageExporter.java b/src/jalview/gui/ImageExporter.java index 1f83b7c..fc971e2 100644 --- a/src/jalview/gui/ImageExporter.java +++ b/src/jalview/gui/ImageExporter.java @@ -210,7 +210,7 @@ public class ImageExporter */ void setStatus(String msg, long id) { - if (messageBoard != null) + if (messageBoard != null && !Jalview.isHeadlessMode()) { messageBoard.setProgressBar(msg, id); } -- 1.7.10.2