From: tcofoegbu Date: Wed, 30 Mar 2016 10:14:06 +0000 (+0100) Subject: JAL-2038 bug fix for NPE while setting progress message during d'n'd PDB files associ... X-Git-Tag: Release_2_10_0~277 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=484ae54da52e486d31206ca7636d5ac69f6c2247;p=jalview.git JAL-2038 bug fix for NPE while setting progress message during d'n'd PDB files association --- diff --git a/src/jalview/structure/StructureSelectionManager.java b/src/jalview/structure/StructureSelectionManager.java index 28fc3d1..a5d9736 100644 --- a/src/jalview/structure/StructureSelectionManager.java +++ b/src/jalview/structure/StructureSelectionManager.java @@ -1290,6 +1290,10 @@ public class StructureSelectionManager public void setProgressBar(String message) { + if (progressIndicator == null) + { + return; + } progressIndicator.setProgressBar(message, progressSessionId); }