Community
Participate
Working Groups
I have two problems with my workspace: 1. Everytime I exit/reload Eclipse all off my configured classpath variables disappear, forcing me to reload a preferences export file to get them back. 2. In Update Manager, "Show Matching Features Only" does not do anything. I know these are workspace related, because if I start with an empty workspace they don't occur. In the interest of not giving you 22MB of workspace and the fact that it contains proprietary source code, what parts of my workspace do you need to debug this? I have made a copy of my workspace as of this bug report so I can give you whatever files you need.
Moving to JDT UI for comment.
Martin, any ideas ?
JCore knows about the internals. Which file stores the classpath variables?
Variable values are stored in the jdt/core preference store: <workspace>\.metadata\.plugins\org.eclipse.jdt.core\pref_store.ini
Created attachment 2999 [details] org.eclipse.jdt.core\pref_store.ini
Ron - which build are you running ?
2.1 M4. Also, I upgrade Eclipse at every milestone release. What are the chances that my workspace is "decaying" over time due to this?
I could not reproduce the problem using latest code and your preferences files. This might be related to something else.
I can either give you more files, or you can tell me which drop you want me to test against...
Could you please try to test it again the integration build 0115? It is difficult to make a diagnosis based on a single file. The problem might be somewhere else. I will investigate on Monday.
Both problems still occur in all their glory when running I20030115. Just to clarify, when I say the variables disappear, I mean they do not show up in Preferences -> Java -> Classpath Variables and I get a bunch of "Unbound classpath variable path" tasks. However, they do still exist in the pref_store.ini file.
I just had the disappearing variable issue happen to me *again* on a new workspace I started from scratch. Fortunately, I saved a backup of my workspace right after I recreated it for 2.1M4, so all I lost was stuff like local history. I have saved a copy of this 2nd corrupt workspace as well.
Could you please provide us this saved workspace? It seems that you are losing all preferences. We need to track it down. Thansk for your help.
I can, but I can't attach it to this bug because it's 1.95MB, and Bugzilla is limiting me to 1MB attachments. I can either email it to someone, or you can increase Bugzilla's tolerance for large images.
I didn't have better luck to reproduce the problem with the workspace you sent me. I really don't know what to do in order to build up steps to reproduce for this problem. With your workspace, everything is crahing immediately because it cannot reopen existing editors.
Could you please give a try with Eclipse 2.1? I could never reproduce your problem starting from scratch. Let me know if this is still happening. Thanks.
Closing. Reopen if the problem still occurs.
Lately I've been running with -data set to a UNC instead of a mapped drive, which seems to have alleviated the problem. Win2k has a bug where a network drive can be connected but shows as disconnected. Even though the drive can be used, it causes intermittent problems (occasional bogus errors when opening files, eventually explorer will GPF). To fix this, I remap the drive out from under the current mapping, but this kills any existing open file handles for that drive. This is usually ok, but causes problems for Eclipse. It would be better if Eclipse was more tolerant of flaky network connections, and it should definitely not leave you with a corrupt workspace.
I perfectly agree with you. Open a bug report against Platform/Core describing your settings. Thanks for your report.