Bug 211897 - User libraries often disappear
Summary: User libraries often disappear
Status: VERIFIED DUPLICATE of bug 183117
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Linux
: P3 major with 1 vote (vote)
Target Milestone: 3.4 M4   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-04 12:22 EST by Valerie Griffin CLA
Modified: 2007-12-11 10:04 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Valerie Griffin CLA 2007-12-04 12:22:17 EST
Build ID: I20070625-1500

Steps To Reproduce:
1.I'm using MyEcklipse 6.0.1 GA so some of what I describe to reproduce the problem may be specific to that set of extensions. They told me to report this problem to you.
2.Create 30+ projects with 40 user libraries. The average project contains 20+ files. (I've also got 37 databases defined, but I don't think that's reevant to the problem.)
2.Display lots of files
4.Close the workbench with everything open
5.Open the workbench
6.View the list of user libraries. Often, but NOT ALWAYS, some of the user libraries will be missing from the list. Fortunately for my code development, the libraries usually do show up.



More information:
I looked at some of the files in .metadata and noticed that the user libraries are defined in:

workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.userLibrary org.eclipse.jdt.core.prefs

where the library most likely to disappear is the last one. Sometimes, the user library list shows as few as 15 libraries.

The likelihood that libraries will show up seems to be inversely proportional to the number of files I've left open for viewing.

My guess is that libraries are handled by a thread at startup, and that the main part of startup assumes the thread has finished when it hasn't.
Comment 1 Jerome Lanneluc CLA 2007-12-05 03:38:31 EST

*** This bug has been marked as a duplicate of bug 183117 ***
Comment 2 Frederic Fusier CLA 2007-12-11 10:04:12 EST
Verified for 3.4M4