Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-1464

Colour by annotation dialog throws NPE after using 'extract scores' function

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 2.8.1
    • Component/s: analysis, Datamodel, renderer
    • Labels:
      None

      Description

      NPE's like the following are generated after applying 'Extract scores' to parse any numeric values on sequence description lines and then selecting 'Colour by annotation'.

      Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
      at jalview.schemes.AnnotationColourGradient.findColour(AnnotationColourGradient.java:210)
      at jalview.gui.SequenceRenderer.getBoxColour(SequenceRenderer.java:119)
      at jalview.gui.SequenceRenderer.drawBoxes(SequenceRenderer.java:213)
      at jalview.gui.SequenceRenderer.drawSequence(SequenceRenderer.java:159)
      at jalview.gui.SeqCanvas.draw(SeqCanvas.java:702)

        Attachments

          Activity

            People

            Assignee:
            jprocter James Procter
            Reporter:
            jprocter James Procter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: