Eclipse 3.4.1 problem

Discussion in 'Mac Programming' started by whitehexagon, Sep 29, 2008.

  1. macrumors regular

    whitehexagon

    Joined:
    May 12, 2007
    #1
    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)
    
    
    
     
  2. macrumors G4

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #2
    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
     
  3. thread starter macrumors regular

    whitehexagon

    Joined:
    May 12, 2007
    #3
    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
     
  4. macrumors G4

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #4
    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.
     
  5. thread starter macrumors regular

    whitehexagon

    Joined:
    May 12, 2007
    #5
    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...
     

Share This Page