You are not logged in.

#1 2021-01-11 23:04:28

leonixyz
Member
Registered: 2014-07-12
Posts: 62

[SOLVED] Unable to start Arduino IDE

I tried reinstalling, removing ~/Arduino and ~/.arduino15, but everytime I try to start the IDE, it terminates after the loading window disappears with a traceback.

arduino
Picked up JAVA_TOOL_OPTIONS: 
Set log4j store directory /home/leonixyz/.arduino15
java.lang.NullPointerException: Cannot invoke "processing.app.debug.TargetBoard.getContainerPlatform()" because "board" is null
	at processing.app.Base.rebuildProgrammerMenu(Base.java:1705)
	at processing.app.Base.<init>(Base.java:286)
	at processing.app.Base.main(Base.java:150)

I had arduino-cli installed as well, but now I unistalled it. I cannot find anything useful in ~/.config ~/.cache ~/.local

Last edited by leonixyz (2021-01-15 09:51:49)

Offline

#2 2021-01-12 00:13:43

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,768

Re: [SOLVED] Unable to start Arduino IDE

What is the output of archlinux-java status
?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2021-01-12 08:40:20

leonixyz
Member
Registered: 2014-07-12
Posts: 62

Re: [SOLVED] Unable to start Arduino IDE

Available Java environments:
  java-15-openjdk (default)

Offline

#4 2021-01-12 13:15:45

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: [SOLVED] Unable to start Arduino IDE

Is it this Known issue?

Offline

#5 2021-01-12 15:28:26

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,768

Re: [SOLVED] Unable to start Arduino IDE

twelveeighty may be right.  But, I have also had problems in which the Arduino IDE wants one JDK, and other programs wand another (Android studio).  I don't remember which is which and I am not in front of my Arch Box.  I'll try to remember to look into this this evening (UTC-8) [assuming I am not up to my ears in a plumbing repair job in my kitchen yikes ]


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2021-01-16 23:54:20

CrunchyPlasma
Member
Registered: 2021-01-16
Posts: 1

Re: [SOLVED] Unable to start Arduino IDE

I just had the same issue. Checking the install path and arduino man page I found that the cause of the issue was that there were no boards defined in the hardware directory, hence the error. The solution is to install the arduino-avr-core package. This should add the neccesary files for the IDE to run.

Offline

#7 2021-01-30 16:28:29

sigvald
Member
Registered: 2017-12-20
Posts: 11

Re: [SOLVED] Unable to start Arduino IDE

Thank you CrunchyPlasma. Installing "arduino-avr-core" was what was needed.

Offline

#8 2021-02-19 07:41:03

Adolfoj
Member
Registered: 2020-08-15
Posts: 5

Re: [SOLVED] Unable to start Arduino IDE

I have installed arduino-avr-core but still I'm unable to start Arduino.

Offline

#9 2021-02-19 07:44:12

Adolfoj
Member
Registered: 2020-08-15
Posts: 5

Re: [SOLVED] Unable to start Arduino IDE

Well, I found out that arduino-avr-core was installed, but not its dependencies. That was the problem. Thanks!

Offline

#10 2021-02-26 20:05:25

YAy
Member
Registered: 2021-02-26
Posts: 1

Re: [SOLVED] Unable to start Arduino IDE

Thanks so much CrunchyPlasma arduino-avr-core fix my problem smile

Offline

#11 2021-04-13 15:52:52

sage051
Member
Registered: 2020-06-29
Posts: 1

Re: [SOLVED] Unable to start Arduino IDE

yes installing `arduino-avr-core` solved my problem. now i'm wondering, if it is a requirement then why doesn't the wiki say it at the beginning or rather install it automatically with the `arduino` package.

Offline

Board footer

Powered by FluxBB