From: tcofoegbu Date: Thu, 2 Jun 2016 16:36:49 +0000 (+0100) Subject: JAL-2020 fix for Jmol choking jalview while loading a structure X-Git-Tag: Release_2_10_0~189 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=0293d494ae19bbd5b5e92ade0cde30292b109f81;p=jalview.git JAL-2020 fix for Jmol choking jalview while loading a structure --- diff --git a/src/jalview/structures/models/AAStructureBindingModel.java b/src/jalview/structures/models/AAStructureBindingModel.java index 42fbfa9..dc42315 100644 --- a/src/jalview/structures/models/AAStructureBindingModel.java +++ b/src/jalview/structures/models/AAStructureBindingModel.java @@ -598,6 +598,10 @@ public abstract class AAStructureBindingModel extends for (String file : files) { notLoaded = file; + if (file == null) + { + continue; + } try { StructureMapping[] sm = getSsm().getMapping(file);