Community
Participate
Working Groups
20020515, windows This may just be my particular workspace configuration, or it may not be. I have corrupted 2 different workspaces (which both worked in 0508) using 20020515. One on Win2K, one on Win98. The eclipse splash screen comes up, but eclipse doesn't start. There is no .metadata\.log file. I was able to capture the walkback by running without the launcher. Here is the output from the DOS console: C:\Eclipse\dev\eclipse>jre\bin\java.exe -cp startup.jar org.eclipse.core.launche r.Main -ws win32 -debug -data C:\Eclipse\target -feature org.eclipse.sdk -instal l file:/C:/Eclipse/dev/eclipse/ Startup: using configuration file:C:/Eclipse/target/.metadata/.config/platform.c fg Boot URL: file:C:/Eclipse/dev/eclipse/plugins/org.eclipse.core.boot_2.0.0/boot.jar Workspace location: C:\Eclipse\target Debug-Options: file:C:/Eclipse/dev/eclipse/.options Install URL: file:/C:/Eclipse/dev/eclipse/ Exception launching the Eclipse Platform: java.lang.reflect.InvocationTargetException: java.lang.RuntimeException: Fatal E rror: Unable to locate matching org.eclipse.core.runtime plugin at org.eclipse.core.internal.boot.PlatformConfiguration.locateDefaultPlu gins(PlatformConfiguration.java:2043) at org.eclipse.core.internal.boot.PlatformConfiguration.<init>(PlatformC onfiguration.java:844) at org.eclipse.core.internal.boot.PlatformConfiguration.startup(Platform Configuration.java:1261) at org.eclipse.core.internal.boot.InternalBootLoader.initialize(Internal BootLoader.java:511) at org.eclipse.core.internal.boot.InternalBootLoader.startup(InternalBoo tLoader.java:857) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoa der.java:732) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:450) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:176) at org.eclipse.core.launcher.Main.run(Main.java:614) at org.eclipse.core.launcher.Main.main(Main.java:451) NOTE: After getting this walkback, I decided to try going back to 20020508. At first I had the same problem, and it looked like my workspace was corrupted. Then I randomly tried deleting the platform.cfg and platform.cfg.lock files (which now seem to be in the workspace .metadata\.config and not in the eclipse\install directory) and I was able to start up 0508 with my old workspace. NOTE: Deleting platform.cfg and platform.cfg.lock did NOT help to start my old workspace in 20020515.
Starting with the -noupdate argument allowed me to start an old workspace.
Install/Update saved wrong boot. should have been file:C:/Eclipse/dev/eclipse/plugins/org.eclipse.core.boot_2.0.0/ Question. Do you start eclipse with the command line or using eclipse.exe If you are using the command line you should add -update to enable reconciliation. Let me know
FYI> I still consider this as a bug anyway b/c I save the wrong boot.
Added code to verify the URL we are about to write is pointing to a valid directory InstallConfiguration#getRuntimeConfigurationURL Next Step: to test
I always use eclipse.exe. I had to switch to command line in order to capture the walkback.
*** This bug has been marked as a duplicate of 16215 ***