Community
Participate
Working Groups
Build ID: I20080502-0100 Steps To Reproduce: 1) Make the fresh eclipse install directory read-only. 2) Launch eclipse. Use the update manager to install a plugin (such as Subclipse, say). Notice the plugin was installed in ~/.eclipse/ as expected. 3) Restart eclipse. Notice that it fails to launch: More information: !SESSION 2008-05-09 12:08:17.879 ----------------------------------------------- eclipse.buildId=I20080502-0100 java.version=1.5.0_13 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_GB Command-line arguments: -os macosx -ws carbon -arch x86 -consoleLog !ENTRY org.eclipse.osgi 4 0 2008-05-09 12:08:18.554 !MESSAGE Startup error !STACK 1 java.lang.IllegalArgumentException: Bundle "reference:file:plugins/org.eclipse.core.runtime_3.4.0.v20080421-1805.jar" has been uninstalled at org.eclipse.osgi.framework.internal.core.StartLevelManager.getBundleStartLevel(StartLevelManager.java:371) at org.eclipse.core.runtime.adaptor.EclipseStarter.ensureBundlesActive(EclipseStarter.java:439) at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:328) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
I can confirm the pb on the Mac... just saw it on Kim's machine.
(In reply to comment #0) > Build ID: I20080502-0100 > > Steps To Reproduce: > 1) Make the fresh eclipse install directory read-only. > 2) Launch eclipse. Use the update manager to install a plugin (such as > Subclipse, say). Notice the plugin was installed in ~/.eclipse/ as expected. > 3) Restart eclipse. Notice that it fails to launch: > "Use the update manager" Is this using p2 or old update manager? It appears you are using old update because in p2 org.eclipse.core.runtime is not contained on the osgi.bundles list in the config.ini. Somehow update (or p2?) uninstalled org.eclipse.core.runtime which was installed by the bootstrap code (EclipseStarter).
(In reply to comment #2) > "Use the update manager" Is this using p2 or old update manager? It appears > you are using old update because in p2 org.eclipse.core.runtime is not > contained on the osgi.bundles list in the config.ini. Somehow update (or p2?) > uninstalled org.eclipse.core.runtime which was installed by the bootstrap code > (EclipseStarter). I was using p2, AFAIK. The dialog was definitely the new-style dialog that first showed up in M6. It was a fresh install, so the config.ini was stock, and I hadn't done anything to enable the classic update capability.
Jason, can you post the contents of your configuration/config.ini in your eclipse install (read-only location) and from your ~/.eclipse/ location? If using p2 the org.eclipse.core.runtime bundle should not be installed by EclipseStarter at all.
Created attachment 99576 [details] The read-only eclipse config.ini The read-only config.ini from the shared eclipse install
Created attachment 99578 [details] The per-user config.ini, from ~/.eclipse/org.eclipse.platform_3.3.0_757481938/configuration/config.ini The per-user config.ini, from ~/.eclipse/org.eclipse.platform_3.3.0_757481938/configuration/config.ini. Added after installing a plugin and getting the error in this report.
Moving to p2. Pascal, I think this bug is related to the shared install issues we discussed about the merging of config.ini files. The config.ini from the shared configuration has a wacky osgi.bundles property ... osgi.bundles=reference\:file\:org.eclipse.equinox.launcher_1.0.100.v20080501.jar,reference\:file\:org.eclipse.equinox.launcher.carbon.macosx_1.0.100.v20080428-1330/,reference\:file\:org.eclipse.update.configurator_3.2.200.v20080417.jar,reference\:file\:org.eclipse.core.runtime_3.4.0.v20080421-1805.jar@\:start,reference\:file\:org.eclipse.equinox.p2.reconciler.dropins_1.0.0.v20080501-1800.jar@\:start,reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.0.v20080428-1800.jar@1\:start I'm not sure why they all got added there.
(In reply to comment #6) > Created an attachment (id=99578) [details] > The per-user config.ini, from > ~/.eclipse/org.eclipse.platform_3.3.0_757481938/configuration/config.ini > > The per-user config.ini, from > ~/.eclipse/org.eclipse.platform_3.3.0_757481938/configuration/config.ini. Added > after installing a plugin and getting the error in this report. > The .eclipseproduct file included with the SDK is out of date. This is causing the org.eclipse.platform_3.3.0 directory to be created (it should be 3.4.0). I opened bug 231394 to fix that.
This problem has been fixed in RC1 by various works to better handle shared installs. I have confirmed that it is working with yesterday's I build.