Details
Description
Jalview throws a stack of exceptions when attempting to apply or modify a colour-by-alignment colourscheme when 'Apply colourscheme to all groups' is selected and groups exist on the alignment.
Exceptions are like:
java.lang.InstantiationException: jalview.schemes.AnnotationColourGradient
at java.lang.Class.newInstance0(Class.java:342)
at java.lang.Class.newInstance(Class.java:310)
at jalview.viewmodel.AlignmentViewport.setGlobalColourScheme(AlignmentViewport.java:232)
at jalview.gui.AnnotationColourChooser.changeColour(AnnotationColourChooser.java:560)
at jalview.gui.AnnotationColourChooser.<init>(AnnotationColourChooser.java:176)
at jalview.gui.AlignFrame.annotationColour_actionPerformed(AlignFrame.java:3200)
at jalview.jbgui.GAlignFrame$97.actionPerformed(GAlignFrame.java:1525)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
Exceptions are like:
java.lang.InstantiationException: jalview.schemes.AnnotationColourGradient
at java.lang.Class.newInstance0(Class.java:342)
at java.lang.Class.newInstance(Class.java:310)
at jalview.viewmodel.AlignmentViewport.setGlobalColourScheme(AlignmentViewport.java:232)
at jalview.gui.AnnotationColourChooser.changeColour(AnnotationColourChooser.java:560)
at jalview.gui.AnnotationColourChooser.<init>(AnnotationColourChooser.java:176)
at jalview.gui.AlignFrame.annotationColour_actionPerformed(AlignFrame.java:3200)
at jalview.jbgui.GAlignFrame$97.actionPerformed(GAlignFrame.java:1525)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)