From: gmungoc Date: Mon, 23 Jul 2018 10:54:56 +0000 (+0100) Subject: JAL-3048 check for headless X-Git-Tag: Release_2_11_4_0~45^2~18^2~506^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=bb7fae42b2a743572f7d633c9159f28c353a76be;p=jalview.git JAL-3048 check for headless --- 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); }