View previous topic :: View next topic |
Author |
Message |
Mika15 n00b
Joined: 09 Dec 2010 Posts: 64 Location: Barcelona, Spain
|
Posted: Thu Feb 18, 2016 12:38 pm Post subject: [Solved] Arduino IDE doesn't work anymore |
|
|
Hi everyone,
My arduino installation was working perfectly in December following this guide for installing:
https://wiki.gentoo.org/wiki/Arduino
I tried to launch it again yesterday and today, and I receive this error:
Code: | mikap ~ # arduino
Loading configuration...
Initializing packages...
Preparing boards...
Starting...
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at cc.arduino.view.NotificationPopup.updateLocation(NotificationPopup.java:95)
at cc.arduino.view.NotificationPopup.<init>(NotificationPopup.java:50)
at cc.arduino.contributions.ContributionsSelfCheck.lambda$run$1(ContributionsSelfCheck.java:103)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
|
And nothing happens...
I reinstalled arduino, cross-avr/gcc, cross-avr/binutils and cross-avr/avr-libc but nothing changes...
I don't know if the problem is my cross-avr, my java installation or Arduino itself.
My system is fully updated, I changed from gcc4.9 to 5.3 but before changing something I prefer to see if someone have the same problem...
Anyone can help me please ?
Thanks.
Mika.
Last edited by Mika15 on Sat Feb 20, 2016 7:47 pm; edited 1 time in total |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8710 Location: ~Brussels - Belgique
|
Posted: Thu Feb 18, 2016 12:53 pm Post subject: |
|
|
Hi!
The error is more related to java. I don't thing the toolchain (gcc or avr-libc) are the problem there.
What version do you use ? _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
Mika15 n00b
Joined: 09 Dec 2010 Posts: 64 Location: Barcelona, Spain
|
Posted: Thu Feb 18, 2016 2:03 pm Post subject: |
|
|
Hi!
Thanks for your response,
I'm using 1.8 Oracle (dev-java/oracle-jre-bin-1.8.0.74 exactly):
Code: | mikap ~ # eselect java-vm show
Current system-vm
oracle-jre-bin-1.8
Current user-vm
(unset)
|
Uninstalling 1.6.6-r1 (from Sabayon repo.) and installing arduino-1.0.5-r1 from gentoo offcial portage, arduino is working again...
It's a backup solution, but if you have an idea for why isn't working, I would like to have the last version
Thanks. |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8710 Location: ~Brussels - Belgique
|
Posted: Thu Feb 18, 2016 2:36 pm Post subject: |
|
|
Gentoo doesn't support what's in Sabayon or overlays...
Please contact the Sabayon support for a fix. _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
Mika15 n00b
Joined: 09 Dec 2010 Posts: 64 Location: Barcelona, Spain
|
Posted: Thu Feb 18, 2016 5:01 pm Post subject: |
|
|
OK, sorry then! I think that I will stay witch portage official version, I didn't know that it wasn't supported here!
Do you know if there some way to lock a package on Gentoo official tree ?
Thanks. |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3150
|
Posted: Thu Feb 18, 2016 5:24 pm Post subject: |
|
|
You can change priority of the overlay to make gentoo one preferred.
Or, you can install package with emerge <package name>::<repo name (e.g. gentoo)>
Finally, if you want to give up on overlays, you can simply remove them from portage configuration. |
|
Back to top |
|
|
Mika15 n00b
Joined: 09 Dec 2010 Posts: 64 Location: Barcelona, Spain
|
Posted: Sat Feb 20, 2016 7:46 pm Post subject: |
|
|
Hi!
Szatox, thanks for your tips, I found more information and I solved my problems with Overlays.
I added Sabayon only for TuxGuitar as it: I masked everything from sabayon with "*/*::sabayon" in a new file "/etc/portage/package.mask/fromoverlay" and I added "media-sound/tuxguitar::sabayon" and "dev-qt/qtwidgets::sabayon" to my "/etc/portage/package.unmask"
I reinstalled official gentoo version of Arduino and my problem is solved!
Thanks.! |
|
Back to top |
|
|
|