Bug 16108 - Fatal error starting 20020515 with 20020508 workspace
Summary: Fatal error starting 20020515 with 20020508 workspace
Status: RESOLVED DUPLICATE of bug 16215
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 2.0   Edit
Hardware: Other other
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Vlad Klicnik CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-15 22:57 EDT by Carolyn MacLeod CLA
Modified: 2002-05-17 14:44 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carolyn MacLeod CLA 2002-05-15 22:57:44 EDT
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.
Comment 1 Jerome Lanneluc CLA 2002-05-16 04:49:27 EDT
Starting with the -noupdate argument allowed me to start an old workspace.
Comment 2 Christophe Elek CLA 2002-05-16 06:47:48 EDT
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
Comment 3 Christophe Elek CLA 2002-05-16 06:51:55 EDT
FYI> I still consider this as a bug anyway b/c I save the wrong boot.
Comment 4 Christophe Elek CLA 2002-05-16 07:59:43 EDT
Added code to verify the URL we are about to write is pointing to a valid directory
InstallConfiguration#getRuntimeConfigurationURL

Next Step: to test
Comment 5 Carolyn MacLeod CLA 2002-05-16 08:15:55 EDT
I always use eclipse.exe.
I had to switch to command line in order to capture the walkback.
Comment 6 Vlad Klicnik CLA 2002-05-17 14:44:37 EDT

*** This bug has been marked as a duplicate of 16215 ***