PDA

View Full Version : Eclipse 3.4.1 problem




whitehexagon
Sep 29, 2008, 06:56 AM
switching from 3.3 to 3.4 my workbench got corrupted :(
So I deleted the .metadata directory in my workspace and decided to go for a clean start (isn't it always like this with eclipse updates these days...)

Anyway, I have a clean download of eclipse:

eclipse-SDK-3.4.1-macosx-carbon.tar.gz

Eclipse starts up, much faster than 3.3 which is nice!

Next job install SVN and other pluggins... Clicking the Help->'Software Updates' does nothing at all!!

I managed to track down a log file from .metadata/.log and it's full of exceptions ( a trimmed selection of them below)

Anyone seen this or got a solution?
I even tried copying my missing plugins by hand, but eclipse seems to ignore them :(

running on: OSX 10.5.4

org.osgi.framework.BundleException: Exception in org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start() of bundle org.eclipse.equinox.p2.reconciler.dropins.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:102 8)
at
...

Caused by: java.lang.NullPointerException
at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.findLatestProfileFile(SimpleProfileRegi stry.java:356)
at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.restore(SimpleProfileRegistry.java:335)
at
...

java.lang.NullPointerException
at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.findLatestProfileFile(SimpleProfileRegi stry.java:356)
at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.restore(SimpleProfileRegistry.java:335)



wrldwzrd89
Sep 29, 2008, 03:32 PM
Your Eclipse profile's corrupted, and Eclipse can't find it.

It's hidden by default, so the easiest way to nuke it is to use the Terminal. Once the Terminal's open, the prompt should indicate (with a ~) that it's in your user folder. If it isn't you can simplycd ~to make it so. Then, type:ls -laYou should get a directory listing. Look for one called ".eclipse" (without the "quotes"). That's your Eclipse profile.

If you want to just get rid of it: rm -r .eclipse

whitehexagon
Sep 30, 2008, 09:25 AM
No .eclipse but I have a .eclipse_keyring whatever that is. Could the .eclipse be loacated elsewhere? I tried the following but still couldn't find the file you mentioned.

find / -name .eclipse -print

wrldwzrd89
Sep 30, 2008, 12:13 PM
No .eclipse but I have a .eclipse_keyring whatever that is. Could the .eclipse be loacated elsewhere? I tried the following but still couldn't find the file you mentioned.

find / -name .eclipse -print
That means your Eclipse profile doesn't exist. If you delete the .eclipse_keyring directory (while Eclipse isn't open) then relaunch Eclipse, it should create a new profile.

whitehexagon
Oct 1, 2008, 07:01 AM
Sounds like it's a bug with the p2 update stuff, similar to #247177. I've passed it on to the eclipse peeps who will hopefully fix it soon. Actually I'm glad I failed at this point because looking for help I discovered that my fav SVN plugin (subclipse) is going to be a real pain to get working anyway. Sounds like subversive migration may be the way forward...