- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Eclipse fails to load after updating plug-in
Mon, 2009-11-09, 16:58
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
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
Mon, 2009-11-09, 17:17
#2
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
Mon, 2009-11-09, 17:27
#3
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
Mon, 2009-11-09, 17:37
#4
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
Mon, 2009-11-09, 22:47
#5
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?
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
>