panic: runtime error: invalid memory address or nil pointer dereference when listing firmwares #141
Closed
3 tasks done
Labels
status: waiting for information
More information must be provided before work can proceed
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
This happened in the Arduino IDE. See the original comment here.
To reproduce
I do not have a straightforward way to reproduce the defect, but as noted here, the firmware updater returns with an invalid JSON occasionally.
Click to expand the invalid JSON
Expected behavior
No error.
Arduino Firmware Uploader version
arduino-fwuploader Version: 2.0.0 Commit: eb51bf2 Date: 2021-07-28T16:19:28Z
Operating system
macOS
Operating system version
12.3.1 (21E258)
Additional context
I could not reproduce the bug. The latest and 2.0.0 versions worked when I executed the following command in a terminal.
But it happened multiple times in the IDE. I do not know where the null pointer exception comes from.
Issue checklist
The text was updated successfully, but these errors were encountered: