Community
Participate
Working Groups
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)
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
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)?
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
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.
OK, thanks for the feedback
Close as WORKSFORME