mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-01 21:52:12 +01:00
61e12d582a
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.