Bug 41859 - Problem retrieving .classpath file
Summary: Problem retrieving .classpath file
Status: RESOLVED DUPLICATE of bug 39887
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.0 M4   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-22 10:03 EDT by Andre Weinand CLA
Modified: 2003-09-03 05:59 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Weinand CLA 2003-08-22 10:03:13 EDT
I20030820

Running org.eclipse.jdt.ui.tests on MacOS X results in two occurrences of the following walkback:


!ENTRY org.eclipse.jdt.core 4 4 Aug 22, 2003 15:29:45.82
!MESSAGE Exception while retrieving /TestProject2/.classpath, will revert to default classpath
!STACK 1
org.eclipse.core.internal.resources.ResourceException: Resource /TestProject2/.classpath is not 
local.
	at org.eclipse.core.internal.resources.Resource.checkLocal(Resource.java:307)
	at org.eclipse.core.internal.resources.File.getContents(File.java:213)
	at org.eclipse.jdt.internal.core.Util.getResourceContentsAsByteArray(Util.java:671)
	at org.eclipse.jdt.internal.core.JavaProject.getSharedProperty(JavaProject.java:1799)
	at org.eclipse.jdt.internal.core.JavaProject.readClasspathFile(JavaProject.java:2095)
	at org.eclipse.jdt.internal.core.JavaProject.getRawClasspath(JavaProject.java:1579)
	at 
org.eclipse.jdt.internal.core.search.indexing.IndexAllProject.execute(IndexAllProject.java:77)
	at org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobManager.java:375)
	at java.lang.Thread.run(Thread.java:554)

Since I don't see this under Windows, it might be a timing issue with my relatively slow PowerBook.
Comment 1 Andre Weinand CLA 2003-08-22 13:01:33 EDT
Just some more information:
the jdt.ui test cases create and delete lots of "TestProjects" in rapid succession.
I suspect that the indexer thread tried to retrieve the .classpath file but it had already been 
removed in the main thread.
Comment 2 Andre Weinand CLA 2003-08-25 06:56:48 EDT
I'm getting the walkback on Win2k too.
Changing platform/OS to All.
Removing "Mac" from Summary.
Comment 3 Frederic Fusier CLA 2003-08-29 12:02:38 EDT

*** This bug has been marked as a duplicate of 39887 ***