mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-08 02:54:24 +01:00
This can happen happen in some unlikely cases (such as when renaming a platform in a way that breaks the "select a board when none is selected logic"). Even though a board should always be selected, code should still handle no selected board gracefully (rather than raising a NullPointerException like this used to do). See #10887 for the underlying issue that caused no board to be selected.