try
{
int alWidth = alignment.getWidth();
+ if(alWidth<0)
+ return;
Conservation cons = new jalview.analysis.Conservation("All",
jalview.schemes.ResidueProperties.propHash, 3,
try
{
int aWidth = alignment.getWidth();
+ if(aWidth<0)
+ return;
consensus.annotations = null;
consensus.annotations = new Annotation[aWidth];