-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Board manager error java.lang.NullPointException #10335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Sounds like this is an error on the board's manager package updating when loading. |
While it was working perfectly on TWO systems as recently as 13 hours ago, neither are working now. Boards Manager AND Library Manager give the same exact error after trying to obtain updates. A bad json file released today on arduino.cc, perhaps? |
same |
Think I have a related issue where the IDE fails to start and dies on loading packages. I just posted on the forum: https://forum.arduino.cc/index.php?topic=671157.new#new QUOTE: I deleted the Arduino15 the IDE 1.8.12 would then start and when I closed it and tried to reopen the IDE would not start. Seems to be dying at loading package manager. This just started today. Running Arduino_debug I get the following: F:\Program Files (x86)\Arduino>arduino_debug I am running on a Windows 10x64 version 1909 build 18363.836. |
In my case: C:\Program Files (x86)\Arduino>arduino_debug C:\Program Files (x86)\Arduino> |
mjs513, I have the same history and same issue ! |
I think is some bad package. I'm reading application log to see if something is wrong. |
java.lang.NullPointerException java.lang.NullPointerException |
I think I found the problem! Then I added ESP32 package again. And the problem returns to lock IDE. |
Apparently it works. Night construction. https://www.arduino.cc/download.php?f=/arduino-nightly-windows.zip |
Cheffer, please add ESP32 Package an test the IDE. |
Gustavomurta, I downloaded Then added ESP8266. |
Please, update the Boards. Then the IDE will crash. java.lang.NullPointerException |
I think something is wrong here: Downloaded package index URL=[http://arduino.esp8266.com/stable/package_esp8266com_index.json, https://dl.espressif.com/dl/package_esp32_index.json, https://downloads.arduino.cc/packages/package_index.json] |
The file is corrupted = package_index at |
I agree 100% with the above post as I am experiencing the same same issues after trying to use board manager. Board Manager fails with index issues with the base packages. |
++1 here on my end. Spent hours reinstalling, fixing, hacking. Glad found this thread to confirm my thinking. |
Same here. |
We had a problem on our package_index.json that caused the error and prevented the IDE to start. Windows:
Mac:
Linux:
Please note that the problem that prevents the IDE to start has already been fixed and it's ready for the next release, that's the reason why the Nightly/Beta Builds are not affected, and also the reason why we did not detect this problem earlier, sorry about that! |
cant find these on ubuntu 20.04: Linux:
any clue where to look? |
You likely installed the snap version. In this case, look here:
|
well the .arduino15 part i dont have. only a Arduino folder inside this current folder. |
I am unable to properly add new boards under the board manager which states java.lang.NullPointException in red along the bottom of the window and outputs this:
I am running Arduino 1.8.11 and have tried re-installing different versions. I was using the IDE this morning and just went to use it again and now I am getting this issue.
Edit: Tested this out on my laptop also which hasn't been updated (currently running 1.8.10) and it also has this error occurring.
The text was updated successfully, but these errors were encountered: