Details
Description
If you try to create a sequence feature on a section of sequence with only gaps (which doesn't make any sense anyway) Jalview throws:
Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at jalview.gui.FeatureRenderer.amendFeatures(FeatureRenderer.java:347)
at jalview.gui.PopupMenu.sequenceFeature_actionPerformed(PopupMenu.java:1947)
at jalview.gui.PopupMenu$28.actionPerformed(PopupMenu.java:1125)
Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at jalview.gui.FeatureRenderer.amendFeatures(FeatureRenderer.java:347)
at jalview.gui.PopupMenu.sequenceFeature_actionPerformed(PopupMenu.java:1947)
at jalview.gui.PopupMenu$28.actionPerformed(PopupMenu.java:1125)
Attachments
Issue Links
- related with
-
JAL-2564 Disable Create Sequence Features menu item when selection contains no residues
- Open