Bug 16436

Summary: CoreException importing org.eclipse.ui.win32
Product: [Eclipse Project] JDT Reporter: Darin Swanson <Darin_Swanson>
Component: CoreAssignee: Kent Johnson <kent_johnson>
Status: RESOLVED WORKSFORME QA Contact:
Severity: critical    
Priority: P1 CC: eduardo_pereira
Version: 2.0   
Target Milestone: 2.0 M6   
Hardware: PC   
OS: other   
Whiteboard:

Description Darin Swanson CLA 2002-05-20 10:46:53 EDT
20020519

Updating a workspace created on 20020515, I get the following core exception 
importing binary projects.  I was using the PDE tool and had selected add 
existing binary projects.

!STACK 1
Java Model Exception: Core Exception [code 271] File not found: c:\0515
\org.eclipse.ui.win32\.classpath.
	at org.eclipse.jdt.internal.core.JavaProject.loadClasspath
(JavaProject.java:1540)
	at org.eclipse.jdt.internal.core.JavaProject.getOutputLocation
(JavaProject.java:990)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.initializeBuilder
(JavaBuilder.java:356)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build
(JavaBuilder.java:89)
	at org.eclipse.core.internal.events.BuildManager$2.run
(BuildManager.java:383)
	at org.eclipse.core.runtime.Platform.run(Platform.java(Compiled Code))
	at org.eclipse.core.runtime.Platform.run(Platform.java(Compiled Code))
	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.runtime.Platform.run(Platform.java(Compiled Code))
	at org.eclipse.core.runtime.Platform.run(Platform.java(Compiled Code))
	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.endOperation
(Workspace.java(Compiled Code))
	at org.eclipse.core.internal.resources.Workspace.run
(Workspace.java:1366)
	at org.eclipse.pde.internal.ui.wizards.imports.PluginImportWizard$2.run
(PluginImportWizard.java:122)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run
(ModalContext.java:98)
Comment 1 Nick Edgar CLA 2002-05-20 12:09:21 EDT
Moving to JDT Core.
Comment 2 Philipe Mulet CLA 2002-05-20 14:06:08 EDT
Duplicate of bug 16389. Moving to PDE since .classpath was deleted by it.
Comment 3 Nick Edgar CLA 2002-05-20 14:14:06 EDT
Shouldn't the builder be resilient to a missing .classpath?
Comment 4 Philipe Mulet CLA 2002-05-20 17:35:43 EDT
A missing .classpath file means no classpath, thus no point building.
Comment 5 Philipe Mulet CLA 2002-05-20 17:49:59 EDT
We should abort the build more silently, but still abort if unable to get the 
classpath or the output location.
Comment 6 Kent Johnson CLA 2002-05-21 11:58:08 EDT
This walkback was logged so we could track what CoreExceptions are being caught 
by the builder... its not a build failure.
Comment 7 Philipe Mulet CLA 2002-05-27 08:30:07 EDT
*** Bug 17254 has been marked as a duplicate of this bug. ***