Bug 119072 - [user library] An internal error occurred during: "Initializing Java tooling".
Summary: [user library] An internal error occurred during: "Initializing Java tooling".
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.1.1   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-02 13:04 EST by Daniel Spiewak CLA
Modified: 2006-04-12 12:58 EDT (History)
1 user (show)

See Also:


Attachments
jdt.core.prefs (3.66 KB, text/plain)
2005-12-05 11:48 EST, Daniel Spiewak CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Spiewak CLA 2005-12-02 13:04:43 EST
This happens every time I start Eclipse on Linux.  Nothing is effected, but it's extremely anoying.

org.eclipse.jdt.internal.core.Assert$AssertionFailedException: Assertion failed; Path for IClasspathEntry must be absolute
at org.eclipse.jdt.internal.core.Assert.isTrue(Assert.java:89)
at org.eclipse.jdt.core.JavaCore.newLibraryEntry(JavaCore.java:3135)
at org.eclipse.jdt.internal.core.UserLibrary.createFromString(UserLibrary.java:186)
at org.eclipse.jdt.internal.core.UserLibraryManager.recreatePersistedUserLibraryEntry(UserLibraryManager.java:159)
at org.eclipse.jdt.internal.core.UserLibraryManager.getLibraryMap(UserLibraryManager.java:139)
at org.eclipse.jdt.internal.core.UserLibraryManager.getUserLibrary(UserLibraryManager.java:82)
at org.eclipse.jdt.internal.core.UserLibraryClasspathContainerInitializer.initialize(UserLibraryClasspathContainerInitializer.java:32)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1591)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1040)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1326)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2046)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1954)
at org.eclipse.jdt.internal.core.search.JavaSearchScope.add(JavaSearchScope.java:108)
at org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.initialize(JavaWorkspaceScope.java:84)
at org.eclipse.jdt.internal.core.search.JavaSearchScope.<init>(JavaSearchScope.java:62)
at org.eclipse.jdt.internal.core.search.JavaSearchScope.<init>(JavaSearchScope.java:58)
at org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.<init>(JavaWorkspaceScope.java:29)
at org.eclipse.jdt.internal.core.JavaModelManager.getWorkspaceScope(JavaModelManager.java:1421)
at org.eclipse.jdt.internal.core.search.BasicSearchEngine.createWorkspaceScope(BasicSearchEngine.java:157)
at org.eclipse.jdt.core.search.SearchEngine.createWorkspaceScope(SearchEngine.java:392)
at org.eclipse.jdt.core.JavaCore$1.run(JavaCore.java:2624)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Comment 1 Frederic Fusier CLA 2005-12-05 05:50:38 EST
Could you attach your project JDT/Core preferences file org.eclipse.jdt.core.prefs?
You'll find it in .settings folder of your project.
Thanks
Comment 2 Daniel Spiewak CLA 2005-12-05 11:48:56 EST
Created attachment 31121 [details]
jdt.core.prefs

Here's the core.prefs file from the most complex project I have under the workspace.  However, it may interest you to know that the last time I started up Eclipse (today), I didn't get the error.  I'm assuming this has something to do with the fact that my User Libraries aren't saving (a problem I just noticed). Before I closed Eclipse last time, I had switched all the user library dependancies in the project over to straight variables.  Do you want me to file a new bug report regarding the User Libraries (which seem to be the root of the problem)?
Comment 3 Frederic Fusier CLA 2006-04-12 09:17:07 EDT
Sorry, but unfortunately, I didn't ask the corrcet preferences file :-(.
User libraries info are stored in workspace preferences and not in project preferences. This is org.eclipse.jdt.core.prefs file located in .metadata\.plugins\org.eclipse.core.runtime\.settings directory.

I don't know if you still have this issue, but in case yes, please provide the JDT/Core workspace preferences file and build ID.

However, as we are now playing 3.2 endgame plan, I defer this for post 3.2
Comment 4 Daniel Spiewak CLA 2006-04-12 12:34:54 EDT
It seems this bug has already been fixed.  I have no trouble with it anymore. (though, I haven't started Eclipse on Linux in a while).  We can probably change this to WORKSFORME.
Comment 5 Frederic Fusier CLA 2006-04-12 12:57:43 EDT
OK, thanks for the feedback
Comment 6 Frederic Fusier CLA 2006-04-12 12:58:25 EDT
Close as WORKSFORME