Skip to content

Board Manager Update results in java.lang.NullPointerException #11131

Open
@bdlabitt

Description

@bdlabitt

IDE 1.8.13, Platform linux64, Ubuntu 20.04.1
Have not be able to update boards using board manager. This error is the same as reported #10335 (and closed) last year. The apparent solution does not appear to be robust, since it has reoccured. I cannot update the Arduino SAMD board support package. Currently at 1.8.9. Clicking update results in the error.

java.lang.NullPointerException
java.lang.RuntimeException: java.lang.NullPointerException
	at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:175)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
	at cc.arduino.contributions.packages.ContributionInstaller.remove(ContributionInstaller.java:276)
	at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:170)
	... 1 more

Is the solution still to delete .arduino15/cache/cache.json and ./arduino15/package_index.json and restart the Arduino IDE, as stated by facchinm on June 10, 2020?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions