Cryptic error message needs refined

I started a new project, and when I hit verify/compile I got an immediate error "Marshal called with Nil".
That, as it turns out, is what is provided if you forget to select a board. IMO, this should be replaced (or added to ) to more accurately suggest the root cause. My search results indicate this has confused others for a long time.
Perhaps a check with a friendlier reminder before the compilers is called will help the less bright (or forgetful) bulbs out there, :slight_smile:

  • Wes

Hi @weshowe. Thanks for your report.

This bug was fixed last week:

Please try the latest nightly build. The download links are listed here:

https://www.arduino.cc/en/software#nightly-builds

Even though the "grpc: error while marshaling: proto: Marshal called with nil" error message was a bug, even the intended error message was not so clear, since it uses terminology more applicable to Arduino CLI users than Arduino IDE. This was also improved last week:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.