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

pressing return several times causes Number Format exceptions in keyboard mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0b1
    • Component/s: awt-gui, gui, jvdesktop, jvlite
    • Labels:
      None

      Description

      Import an alignment, press [F2] and then press return.

      Exceptions like the following will appear on the Java error console:

      Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: ""
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
      at java.lang.Integer.parseInt(Integer.java:470)
      at java.lang.Integer.parseInt(Integer.java:499)
      at jalview.gui.SeqPanel.getKeyboardNo1(SeqPanel.java:525)
      at jalview.gui.SeqPanel.setCursorRowAndColumn(SeqPanel.java:300)
      at jalview.gui.AlignFrame$1.keyPressed(AlignFrame.java:459)

        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: