Details
Description
Null pointer exception messages like this:
ption in thread "AWT-EventQueue-0" java.lang.NullPointerException
at jalview.gui.AnnotationLabels.mouseMoved(AnnotationLabels.java:391)
at java.awt.AWTEventMulticaster.mouseMoved(Unknown Source)
..
Seem to have been introduced with the 2.5 release - when its easy to have the situation where the annotation panel is displayed, but no automated annotations are visible. Even worse, with the console blocking bug, Jalview blocks when lots of these exceptions are raised, making it unusable.
Need to go through code to check that alignment.getAnnotations() is always verfied non-null prior to being used.
ption in thread "AWT-EventQueue-0" java.lang.NullPointerException
at jalview.gui.AnnotationLabels.mouseMoved(AnnotationLabels.java:391)
at java.awt.AWTEventMulticaster.mouseMoved(Unknown Source)
..
Seem to have been introduced with the 2.5 release - when its easy to have the situation where the annotation panel is displayed, but no automated annotations are visible. Even worse, with the console blocking bug, Jalview blocks when lots of these exceptions are raised, making it unusable.
Need to go through code to check that alignment.getAnnotations() is always verfied non-null prior to being used.
Attachments
Issue Links
- blocks
-
JAL-559 annotation label popup menu doesn't show add row when no annotation is present on alignment
- Resolved
-
JAL-570 annotation label popup not providing correct options when rows are hidden or none are present
- Resolved
-
JAL-562 annotation panel disappears when annotation is hidden/removed
- Resolved