Uploaded image for project: 'BlueJ'
  1. BlueJ
  2. BLUEJ-1062

Exception occurs when loading unknown old keybinding

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.1
    • Component/s: PrefMgr
    • Sprint:
      4.1.1

      Description

      If you have an old keybinding (from before BlueJ 4) that is unknown, you get an exception which occurs when you try to open the preferences:

      java.lang.NullPointerException: Key code must not be null!
        at javafx.scene.input.KeyCodeCombination.validateKeyCode(KeyCodeCombination.java:207) 
        at javafx.scene.input.KeyCodeCombination.(KeyCodeCombination.java:90)
        at bluej.editor.moe.MoeActions.convertSwingBindingToFX(MoeActions.java:669)
      

        Attachments

          Activity

            People

            • Assignee:
              nccb Neil Brown
              Reporter:
              nccb Neil Brown
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: