Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 37129 - Unable to use my old workspace
Summary: Unable to use my old workspace
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dorian Birsan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 39599 41994 (view as bug list)
Depends on: 37686
Blocks:
  Show dependency tree
 
Reported: 2003-05-01 05:57 EDT by Nikolay Metchev CLA
Modified: 2003-12-01 12:36 EST (History)
3 users (show)

See Also:


Attachments
<workspace>/.metadata/.config directory (zipped) (40.95 KB, application/octet-stream)
2003-07-02 16:14 EDT, Rafael Chaves CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay Metchev CLA 2003-05-01 05:57:46 EDT
I downloaded the maintenance build of Eclipse (2.1.1). Eclipse couldn't start 
and here is what I got in the log:
!SESSION ----------------------------------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 May 01, 2003 10:53:07.584
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
	at org.eclipse.core.launcher.Main.run(Main.java:747)
	at org.eclipse.core.launcher.Main.main(Main.java:583)
Caused by: java.lang.RuntimeException: Fatal Error: Unable to locate matching 
org.eclipse.core.runtime plug-in.
	at 
org.eclipse.core.internal.boot.PlatformConfiguration.locateDefaultPlugins
(PlatformConfiguration.java:2264)
	at org.eclipse.core.internal.boot.PlatformConfiguration.<init>
(PlatformConfiguration.java:903)
	at org.eclipse.core.internal.boot.PlatformConfiguration.startup
(PlatformConfiguration.java:1368)
	at org.eclipse.core.internal.boot.InternalBootLoader.initialize
(InternalBootLoader.java:582)
	at org.eclipse.core.internal.boot.InternalBootLoader.startup
(InternalBootLoader.java:1006)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:838)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
	... 7 more

when I removed my old workspace it booted up fine!
Comment 1 DJ Houghton CLA 2003-05-01 16:08:32 EDT
How did you download and install the new version of Eclipse? Did you just 
download the zip file and then extract it over-top of your already existing 
install?

Moving to Platform/Update for comment.
Comment 2 Nikolay Metchev CLA 2003-05-01 18:09:42 EDT
i installed into a new directory and copied my old workspace accross
Comment 3 Christophe Elek CLA 2003-05-04 14:36:23 EDT
Seems the startup picked up the old location
We need to investigate
Comment 4 Rafael Chaves CLA 2003-07-02 16:11:10 EDT
Sonia just got this one too when opening a workspace for the first time with a
build n20030702. The workaround was to remove the .config directory.
I will attach her .config directory.
Comment 5 Rafael Chaves CLA 2003-07-02 16:14:05 EDT
Created attachment 5335 [details]
<workspace>/.metadata/.config directory (zipped)

Sonia Dimitrov's .config directory. This problem is always reproducible if this
.config dir is extracted into the workspace metadata area.
Comment 6 Rafael Chaves CLA 2003-07-03 12:10:38 EDT
*** Bug 39599 has been marked as a duplicate of this bug. ***
Comment 7 Veronika Irvine CLA 2003-08-26 14:22:12 EDT
*** Bug 41994 has been marked as a duplicate of this bug. ***
Comment 8 Dorian Birsan CLA 2003-08-26 15:28:26 EDT
In M3 the .config folder has been moved outside the workspace (it is under the 
eclipse directory, or in some well known location), see bug 37686.
Please let us know if this change resolves the problems you were experiencing.
Comment 9 Nikolay Metchev CLA 2003-09-01 09:20:25 EDT
I haven't been able to reproduce this since the initial report because in order 
to fix it I just deleted the .config folder.
Comment 10 Dorian Birsan CLA 2003-12-01 12:36:51 EST
Is there anything else expected to be fixed for this bug?
When a new driver is installed, the .config folder needs to be removed as 
well. Since it is now located inside the eclipse install it gets deleted when 
you delete your old install.