Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Arduino IDE (Win10) crashes when I launch the program

Tags:

My Arduino IDE (ver 1.8.12 on Win10) crashes when I launch it. Running the arduino_debug.exe I get this error message.

C:\Program Files (x86)\Arduino>arduino_debug.exe Set log4j store directory C:\Users\volke\AppData\Local\Arduino15 Loading configuration... Initializing packages... java.lang.NullPointerException         at cc.arduino.contributions.packages.ContributionsIndexer.parseIndex(ContributionsIndexer.java:134)         at processing.app.BaseNoGui.initPackages(BaseNoGui.java:483)         at processing.app.Base.<init>(Base.java:273)         at processing.app.Base.main(Base.java:150)  C:\Program Files (x86)\Arduino> 

Any solutions? I've tried to delete the config files package_index.json and package_esp32_index.json without any luck.

like image 507
Volker Petersen Avatar asked Jun 09 '20 19:06

Volker Petersen


People also ask

Does Arduino IDE work on Windows 10?

Step 1: Download File Arduino IDE On that page, there are 3 download options for Windows. Windows Installer : The software will be installed in Windows operating system and required admin access. Windows Zip file : To make a portable installation. Windows App : for Windows 8.1 or 10.

Why is Arduino IDE not opening?

Try rebooting then update your machine. I use sudo apt update to do it from the terminal. Then if it does not launch try from the terminal just enter arduino and it should launch. If not you will need to re-install it.

How do I update Arduino IDE on Windows 10?

Go to Start -> Control Panel -> System and Security -> Device Manager. You will see the connected Arduino board name. Right click on it and click on Update Drivers. A new window will show up click on Browse.


2 Answers

I've got the same issue - the nightly build seems to work

https://www.arduino.cc/download.php?f=/arduino-nightly-windows.zip

https://www.arduino.cc/en/Main/Software

like image 62
Fraser G Avatar answered Oct 06 '22 00:10

Fraser G


I'm on Windows 10 having exactly this issue (same arduino_debug log). I tried uninstalling Arduino IDE and then reinstalling it from executable installer; it worked fine until I opened the Board manager: the problem recurs.

After installing the beta version (arduino beta1.9-BUILD-119), I'm not having any problem.

like image 40
Roberto Avatar answered Oct 06 '22 00:10

Roberto