added CSV export of annotation rows to application.
[jalview.git] / src / jalview / appletgui / AnnotationPanel.java
index afaf10f..41665b5 100755 (executable)
@@ -649,7 +649,7 @@ public class AnnotationPanel
 
 
         if (av.validCharWidth && validRes &&
-            (row.annotations[column].displayCharacter.length() > 0))
+            (row.annotations[column].displayCharacter!=null && row.annotations[column].displayCharacter.length() > 0))
         {
           int charOffset = (av.charWidth -
                             fm.charWidth(row.annotations[column].