Bug 16753 - Exception while building
Summary: Exception while building
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 F2   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-22 08:07 EDT by Darin Wright CLA
Modified: 2002-06-03 07:27 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 Darin Wright CLA 2002-05-22 08:07:44 EDT
Using the 20020521 build, I was migrating my old workspace forward. (I think, 
this is what I did, but I am not sure why the call to "build" is present, since 
I thought I had auto-build off).

* I turned off autobuild
* Imported existing binary projects (with new versions from the local SDK 
installation)
* An error dialog appeared saying it could not delete "org.eclipse.ui.win32"
* I found this in my log

!STACK 1
Java Model Exception: Core Exception [code 271] File not found: 
d:\eclipse_ws\plugins\org.eclipse.ui.win32\.classpath.
	at org.eclipse.jdt.internal.core.JavaProject.loadClasspath
(JavaProject.java:1542)
	at org.eclipse.jdt.internal.core.JavaProject.getOutputLocation
(JavaProject.java:992)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.initializeBuilder
(JavaBuilder.java:384)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build
(JavaBuilder.java:90)
	at org.eclipse.core.internal.events.BuildManager$2.run
(BuildManager.java:383)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:802)
	at org.eclipse.core.runtime.Platform.run(Platform.java:416)
	at org.eclipse.core.internal.events.BuildManager.basicBuild
(BuildManager.java:119)
	at org.eclipse.core.internal.events.BuildManager.basicBuild
(BuildManager.java:173)
	at org.eclipse.core.internal.events.BuildManager.basicBuild
(BuildManager.java:183)
	at org.eclipse.core.internal.events.BuildManager$1.run
(BuildManager.java:143)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:802)
	at org.eclipse.core.runtime.Platform.run(Platform.java:416)
	at org.eclipse.core.internal.events.BuildManager.basicBuild
(BuildManager.java:157)
	at org.eclipse.core.internal.events.BuildManager.build
(BuildManager.java:208)
	at org.eclipse.core.internal.resources.Workspace.build
(Workspace.java:142)
	at org.eclipse.ui.actions.GlobalBuildAction$1.run
(GlobalBuildAction.java:156)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run
(ModalContext.java:98)
!ENTRY org.eclipse.core.resources 4 271 May 22, 2002 07:09:23.775
!MESSAGE File not found: d:\eclipse_ws\plugins\org.eclipse.ui.win32\.classpath.
Comment 1 Philipe Mulet CLA 2002-05-22 08:44:24 EDT
Did you see a dialog telling you the build had failed, or simply an entry in 
the log ?
Comment 2 Darin Wright CLA 2002-05-22 09:30:55 EDT
There was an error dialog - but I did not pay close attention to it.
Comment 3 Philipe Mulet CLA 2002-05-22 17:43:48 EDT
This is a consequence of PDE discarding the .classpath file under you. An entry 
will still be entered in the log, anytime trying to read the classpath from the 
file. If no classpath is available, it will be equivalent to a default one.

The entry in the log is the way user can tell something went wrong. In case the 
classpath got broken resulting from a change, then a problem marker is added as 
well.

Fixed
Comment 4 Jerome Lanneluc CLA 2002-06-03 07:27:01 EDT
Exception is no longer logged.
Verified.