JAL-3187 unit tests updated and errors caught
[jalview.git] / src / jalview / datamodel / features / SequenceFeatures.java
index 08f3847..1120291 100644 (file)
@@ -247,7 +247,7 @@ public class SequenceFeatures implements SequenceFeaturesI
     List<FeatureStore> types = new ArrayList<>();
     for (String theType : type)
     {
-      if (featureStore.containsKey(theType))
+      if (theType != null && featureStore.containsKey(theType))
       {
         types.add(featureStore.get(theType));
       }