Skip to content

java.lang.NullPointerException #11153

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

Closed
bailez opened this issue Jan 11, 2021 · 4 comments
Closed

java.lang.NullPointerException #11153

bailez opened this issue Jan 11, 2021 · 4 comments
Labels
Component: IDE The Arduino IDE OS: Linux Specific to the Linux version of the Arduino IDE Type: Bug Type: Duplicate Another item already exists for this topic

Comments

@bailez
Copy link

bailez commented Jan 11, 2021

Installed Arduino directly from pacman:
arduino 1:1.8.13-2
arduino-builder 1.5.4-1
arduino-ctags 5.8_arduino11-4

My system:
LSB Version: 1.4
Operating System: Arch Linux
Kernel: Linux 5.9.14-arch1-1
Architecture: x86-64
Gnome 3

Error:
Picked up JAVA_TOOL_OPTIONS:
Set log4j store directory /home/bailez/.arduino15
java.lang.NullPointerException
at processing.app.Base.rebuildProgrammerMenu(Base.java:1705)
at processing.app.Base.(Base.java:286)
at processing.app.Base.main(Base.java:150)

@facchinm
Copy link
Member

Hi @bailez ,
Arch IDE packaging is community based (maintained by @NicoHood ). You probably miss a dependency (like avr-core, even if that would be a regression).
In any case, try downloading and running the ide from here https://www.arduino.cc/en/software . If it works, the bug should be moved to https://bugs.archlinux.org/?project=5&string=arduino

@facchinm facchinm added the Waiting for feedback More information must be provided before we can proceed label Jan 12, 2021
@NicoHood
Copy link
Contributor

That issue is tracked here, and still not fixed by arduino:
#10580

@facchinm
Copy link
Member

Thanks Nico, closing this one as duplicate and keeping track in the other.
It would be cool if someone could bisect the IDE to understand when this regressed (my gut feeling is that the menu "compression" patch is missing a nullpointer check)

@facchinm facchinm added Type: Duplicate Another item already exists for this topic and removed Waiting for feedback More information must be provided before we can proceed labels Jan 12, 2021
@bailez
Copy link
Author

bailez commented Jan 12, 2021

Thanks guys, installing the AVR core fixed it!

@per1234 per1234 added Component: IDE The Arduino IDE OS: Linux Specific to the Linux version of the Arduino IDE Type: Bug labels Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE The Arduino IDE OS: Linux Specific to the Linux version of the Arduino IDE Type: Bug Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

4 participants