Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

whitehexagon

macrumors regular
Original poster
May 12, 2007
147
0
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

Code:
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:1028)
	at 
...

Caused by: java.lang.NullPointerException
	at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.findLatestProfileFile(SimpleProfileRegistry.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(SimpleProfileRegistry.java:356)
	at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.restore(SimpleProfileRegistry.java:335)
 

wrldwzrd89

macrumors G5
Jun 6, 2003
12,110
77
Solon, OH
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 simply
Code:
cd ~
to make it so. Then, type:
Code:
ls -la
You 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:
Code:
rm -r .eclipse
 

whitehexagon

macrumors regular
Original poster
May 12, 2007
147
0
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.

Code:
find / -name .eclipse -print
 

wrldwzrd89

macrumors G5
Jun 6, 2003
12,110
77
Solon, OH
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.

Code:
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

macrumors regular
Original poster
May 12, 2007
147
0
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...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.