Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Arduino IDE doesn't work anymore
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Mika15
n00b
n00b


Joined: 09 Dec 2010
Posts: 64
Location: Barcelona, Spain

PostPosted: Thu Feb 18, 2016 12:38 pm    Post subject: [Solved] Arduino IDE doesn't work anymore Reply with quote

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
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8710
Location: ~Brussels - Belgique

PostPosted: Thu Feb 18, 2016 12:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Mika15
n00b
n00b


Joined: 09 Dec 2010
Posts: 64
Location: Barcelona, Spain

PostPosted: Thu Feb 18, 2016 2:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8710
Location: ~Brussels - Belgique

PostPosted: Thu Feb 18, 2016 2:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Mika15
n00b
n00b


Joined: 09 Dec 2010
Posts: 64
Location: Barcelona, Spain

PostPosted: Thu Feb 18, 2016 5:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3150

PostPosted: Thu Feb 18, 2016 5:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Mika15
n00b
n00b


Joined: 09 Dec 2010
Posts: 64
Location: Barcelona, Spain

PostPosted: Sat Feb 20, 2016 7:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum