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

Overview window throws NPE if show boxes is false

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.10.1, 2.10.2
    • Fix Version/s: 2.10.2b1
    • Component/s: gui
    • Labels:
      None

      Description

      If Format | Boxes is unticked, then opening the Overview window causes an NPE to be thrown because the SequenceRenderer returns a null colour:
      In 2.10.1:
      Exception in thread "Thread-18" java.lang.NullPointerException
      at jalview.gui.OverviewPanel.run(OverviewPanel.java:369)
      at java.lang.Thread.run(Thread.java:745)

      In develop:
      Exception in thread "Thread-18" java.lang.NullPointerException
      at jalview.renderer.OverviewRenderer.getColumnColourFromSequence(OverviewRenderer.java:158)
      at jalview.renderer.OverviewRenderer.draw(OverviewRenderer.java:117)
      at jalview.gui.OverviewCanvas.draw(OverviewCanvas.java:130)
      at jalview.gui.OverviewPanel.run(OverviewPanel.java:231)
      at java.lang.Thread.run(Thread.java:745)

        Attachments

          Activity

            People

            Assignee:
            kmourao Kira Mourão
            Reporter:
            kmourao Kira Mourão
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: