This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Eclipse fails to load after updating plug-in

5 replies
Mohamed Bana 2
Joined: 2009-10-21,
User offline. Last seen 42 years 45 weeks ago.
Hi folks,

I've noticed on more than one occasion that after updating the nightly plug-in Eclipse will fail to load, if it is started normally.  It just doesn't progress.  That work around is to use

$ ./eclipse -clean

Is this intended?

Here is the log

$ ./eclipse
Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: ELFCLASS64


























[org.eclipse.equinox.weaving.hook] info adding AspectJ hooks ...
[org.eclipse.equinox.weaving.hook] info removing supplementer ch.epfl.lamp.sdt.aspects
[org.eclipse.equinox.weaving.hook] info removing supplementer org.eclipse.contribution.weaving.jdt
[org.eclipse.equinox.weaving.hook] info removing supplementer ch.epfl.lamp.sdt.aspects
[org.eclipse.equinox.weaving.hook] info removing supplementer ch.epfl.lamp.sdt.aspects
[org.eclipse.equinox.weaving.hook] info removing supplementer org.eclipse.contribution.weaving.jdt
[org.eclipse.equinox.weaving.hook] info removing supplementer ch.epfl.lamp.sdt.aspects
[org.eclipse.equinox.weaving.hook] info removing supplementer org.eclipse.contribution.weaving.jdt


—Mohamed
Kevin Wright
Joined: 2009-06-09,
User offline. Last seen 49 weeks 3 days ago.
Re: Eclipse fails to load after updating plug-in

GTK implies that this is a linux issue.

I've also seen it on Windows, though not recently I have to admit.

On Mon, Nov 9, 2009 at 3:58 PM, Mohamed Bana wrote:
> Hi folks,
>
> I've noticed on more than one occasion that after updating the nightly
> plug-in Eclipse will fail to load, if it is started normally.  It just
> doesn't progress.  That work around is to use
>
> $ ./eclipse -clean
>
> Is this intended?
>
> Here is the log
>
> $ ./eclipse
> Gtk-Message: Failed to load module "canberra-gtk-module":
> /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class:
> ELFCLASS64
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> [org.eclipse.equinox.weaving.hook] info adding AspectJ hooks ...
> [org.eclipse.equinox.weaving.hook] info removing supplementer
> ch.epfl.lamp.sdt.aspects
> [org.eclipse.equinox.weaving.hook] info removing supplementer
> org.eclipse.contribution.weaving.jdt
> [org.eclipse.equinox.weaving.hook] info removing supplementer
> ch.epfl.lamp.sdt.aspects
> [org.eclipse.equinox.weaving.hook] info removing supplementer
> ch.epfl.lamp.sdt.aspects
> [org.eclipse.equinox.weaving.hook] info removing supplementer
> org.eclipse.contribution.weaving.jdt
> [org.eclipse.equinox.weaving.hook] info removing supplementer
> ch.epfl.lamp.sdt.aspects
> [org.eclipse.equinox.weaving.hook] info removing supplementer
> org.eclipse.contribution.weaving.jdt
>
>
> —Mohamed
>

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Eclipse fails to load after updating plug-in

On Mon, Nov 9, 2009 at 3:58 PM, Mohamed Bana wrote:
> I've noticed on more than one occasion that after updating the nightly
> plug-in Eclipse will fail to load, if it is started normally.  It just
> doesn't progress.  That work around is to use
>
> $ ./eclipse -clean
>
> Is this intended?

It's not intended, but it seem to be a known generic Eclipse bug. If
you're running of trunk and updating regularly then I would definitely
recommend using -clean.

Cheers,

Miles

ijuma
Joined: 2008-08-20,
User offline. Last seen 22 weeks 2 days ago.
Re: Eclipse fails to load after updating plug-in

On Mon, 2009-11-09 at 16:03 +0000, Miles Sabin wrote:
> On Mon, Nov 9, 2009 at 3:58 PM, Mohamed Bana wrote:
> > I've noticed on more than one occasion that after updating the nightly
> > plug-in Eclipse will fail to load, if it is started normally. It just
> > doesn't progress. That work around is to use
> >
> > $ ./eclipse -clean
> >
> > Is this intended?
>
> It's not intended, but it seem to be a known generic Eclipse bug. If
> you're running of trunk and updating regularly then I would definitely
> recommend using -clean.

After updating the Scala plugin, Eclipse asks if one wants to restart.
If this is accepted, Eclipse hangs on restart. Killing it and starting
again works. Seems like a similar problem and it has been happening for
a while (I remember this complaint from other people in the 2.7.x series
too). It doesn't happen with other plugins that I have tried, so it
seems to me that there may be more to it than just a generic Eclipse
bug.

Best,
Ismael

fanf
Joined: 2009-03-17,
User offline. Last seen 2 years 30 weeks ago.
Re: Eclipse fails to load after updating plug-in

On 09/11/2009 17:20, Ismael Juma wrote:
> After updating the Scala plugin, Eclipse asks if one wants to restart.
> If this is accepted, Eclipse hangs on restart. Killing it and starting
> again works.

I see that also from time to time, it seems less frequent now - but I
can't guaranty that feeling.

--
Francois Armand

channingwalton
Joined: 2008-09-27,
User offline. Last seen 2 weeks 1 day ago.
Re: Eclipse fails to load after updating plug-in

this happens a lot for me on os x and eclipse 3.5.x. The workaround is to
keep a copy of the original configuration/config.ini and replace the one you
get after upgrades. Perhaps it will work for you?

https://bugs.eclipse.org/bugs/show_bug.cgi?id=260644

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland