Bug 50884 - Compiler crashes without a trace in the log leaving workspace in unhappy state
Summary: Compiler crashes without a trace in the log leaving workspace in unhappy state
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: 3.0 M7   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-29 12:52 EST by Kai-Uwe Maetzel CLA
Modified: 2004-02-12 07:43 EST (History)
0 users

See Also:


Attachments
zip of project (150.77 KB, application/x-zip-compressed)
2004-01-29 12:53 EST, Kai-Uwe Maetzel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kai-Uwe Maetzel CLA 2004-01-29 12:52:01 EST
Compiling the attached project silently crashes in I20040128-16??. There are 
no enries in the log, no info for the user.

org.eclipse.jdt.internal.compiler.problem.AbortCompilation
        at 
org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.abort
(AbstractMethodDeclaration.java:62)
        at org.eclipse.jdt.internal.compiler.problem.ProblemHandler.handle
(ProblemHandler.java:126)
        at org.eclipse.jdt.internal.compiler.problem.ProblemReporter.handle
(ProblemReporter.java:1038)
        at 
org.eclipse.jdt.internal.compiler.problem.ProblemReporter.isClassPathCorrect
(ProblemReporter.java:2114)
        at 
org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding.resolve
(UnresolvedReferenceBinding.java:37)
        at 
org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage
(PackageBinding.java:163)
        at 
org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.findOnDemandImpor
t(CompilationUnitScope.java:361)
        at 
org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.findSingleTypeImp
ort(CompilationUnitScope.java:420)
        at 
org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.faultInImports
(CompilationUnitScope.java:297)
        at 
org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.faultInTypes
(CompilationUnitScope.java:347)
        at org.eclipse.jdt.internal.compiler.Compiler.process
(Compiler.java:508)
        at org.eclipse.jdt.internal.compiler.Compiler.compile
(Compiler.java:328)
        at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile
(AbstractImageBuilder.java:205)
        at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile
(AbstractImageBuilder.java:155)
        at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build
(BatchImageBuilder.java:49)
        at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll
(JavaBuilder.java:213)
        at org.eclipse.jdt.internal.core.builder.JavaBuilder.build
(JavaBuilder.java:136)
        at org.eclipse.core.internal.events.BuildManager$2.run
(BuildManager.java:493)
        at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:820)
        at org.eclipse.core.runtime.Platform.run(Platform.java:471)
        at org.eclipse.core.internal.events.BuildManager.basicBuild
(BuildManager.java:138)
        at org.eclipse.core.internal.events.BuildManager.basicBuild
(BuildManager.java:209)
        at org.eclipse.core.internal.events.BuildManager.basicBuild
(BuildManager.java:164)
        at org.eclipse.core.internal.events.BuildManager$1.run
(BuildManager.java:190)
        at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:820)
        at org.eclipse.core.runtime.Platform.run(Platform.java:471)
        at org.eclipse.core.internal.events.BuildManager.basicBuild
(BuildManager.java:193)
        at org.eclipse.core.internal.events.BuildManager.build
(BuildManager.java:282)
        at org.eclipse.core.internal.resources.Project.build(Project.java:87)
        at org.eclipse.ui.actions.BuildAction.invokeOperation
(BuildAction.java:159)
        at org.eclipse.ui.actions.WorkspaceAction.execute
(WorkspaceAction.java:123)
        at org.eclipse.ui.actions.WorkspaceAction$1.execute
(WorkspaceAction.java:280)
        at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run
(WorkspaceModifyOperation.java:91)
        at org.eclipse.core.internal.resources.Workspace.run
(Workspace.java:1567)
        at org.eclipse.ui.actions.WorkspaceModifyOperation.run
(WorkspaceModifyOperation.java:105)
        at org.eclipse.jface.operation.ModalContext$ModalContextThread.run
(ModalContext.java:101)
Comment 1 Kai-Uwe Maetzel CLA 2004-01-29 12:53:17 EST
Created attachment 7630 [details]
zip of project
Comment 2 Philipe Mulet CLA 2004-01-29 16:12:39 EST
Classpath of project is missing org.eclipse.core.resources (through PDE 
container).

It is trying to report error:
The type org.eclipse.core.resources.IFile cannot be resolved. It is indirectly 
referenced from required .class files.
Comment 3 Philipe Mulet CLA 2004-01-29 16:22:33 EST
It wants to report against offending file: JavaDocumentProvider
Comment 4 Philipe Mulet CLA 2004-01-29 18:42:33 EST
Solved. Actually the workspace wasn't left broken. The only issue is that the 
offending compilation problem did not get persisted properly. 

Comment 5 David Audel CLA 2004-02-12 07:43:20 EST
Verified for 3.0M7