Arduino IDE (Win10) crashes when I launch the program

為{幸葍}努か 提交于 2020-07-01 17:01:37

问题


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.


回答1:


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.




回答2:


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




回答3:


Just use the latest Arduino IDE Beta Version. It is working now, ignoring that issue. I'm using the ESP8266 board and it's running okay.




回答4:


The beta version 1.9 worked for me. https://www.arduino.cc/en/Main/Software




回答5:


It also happens on Manjaro linux. In my case removing the folder .arduino15 solves the issue, but I have to remove it every time I open arduino IDE

rm -rf ~/.arduino15/

Win10 folder location:

%HOMEPATH%\AppData\Local


来源:https://stackoverflow.com/questions/62290881/arduino-ide-win10-crashes-when-i-launch-the-program

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!