From 484ae54da52e486d31206ca7636d5ac69f6c2247 Mon Sep 17 00:00:00 2001 From: tcofoegbu Date: Wed, 30 Mar 2016 11:14:06 +0100 Subject: [PATCH] JAL-2038 bug fix for NPE while setting progress message during d'n'd PDB files association --- src/jalview/structure/StructureSelectionManager.java | 4 ++++ 1 file changed, 4 insertions(+) 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); } -- 1.7.10.2