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.
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.
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.
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.
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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With