JAL-885 - catch race condition when rna structure width is different to alignment...
[jalview.git] / src / jalview / renderer / AnnotationRenderer.java
index 47e2cb7..0d7d4ca 100644 (file)
@@ -177,7 +177,7 @@ public class AnnotationRenderer
         // to
         // be stored
         if (aa.groupRef == null && aa.sequenceRef == null
-                && av_renderProfile)
+                && av_renderProfile && hStrucConsensus!=null && hStrucConsensus.length>column)
         {
           return StructureFrequency.extractProfile(hStrucConsensus[column],
                   av_ignoreGapsConsensus);