Missing board and port after upgrade failed

Besides the upgrade to Arduino IDE 2.0 RC 9-1 failed, for some reason the BOARD and PORT have been removed from my sketch. It was configured before.

To get it a little bit worst, the error message is not helpful:

grpc: error while marshaling: proto: Marshal called with nil

Compilation error: grpc: error while marshaling: proto: Marshal called with nil

I am running on Windows 10 Pro 21H2.

I saw this happen here too. In my case 2.0 version rc9.0 and downloaded as a ZIP archive and running on Linux. The ESP32 disappeared from the list of boards in Boards Manager and I got that error. After some time, the list refreshed itself and the ESP32 re-appeared as an option in Board Manager again and I had to select my board and the port again. It worked fine after that. Was kind of weird and disconcerting when it happened.

1 Like

Hi @CamargoF. Thanks for your report.

Which version of the Arduino IDE were you using before upgrading to Arduino IDE 2.0.0-rc9.1?

Were you able to select a board and port manually? Of course, that should not be expected, but I am only trying to gather additional information that might assist in the investigation.

We are tracking this bug here:

as well as the fact that even the intended error message is only slightly better here:

If you have a GitHub account, you can subscribe to those issues to get notifications of any new developments related to this subject.

I removed the old Arduino IDE version and installed the new one (2.0.0-rc9) yesterday.
Since them I am trying to report all problem I detected to try to help.

My computer is a Windows 10 Pro 21H2.

Thanks! That is very much appreciated.

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