Bug 31016 - builder exception found in log
Summary: builder exception found in log
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 RC1   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-05 14:34 EST by Adam Kiezun CLA
Modified: 2003-02-24 12:02 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2003-02-05 14:34:05 EST
20030205

!ENTRY org.eclipse.core.resources 4 2 Feb 05, 2003 17:22:08.332
!MESSAGE Problems occurred when invoking code from plug-
in: "org.eclipse.core.resources".
!STACK 0
org.eclipse.jdt.internal.compiler.problem.AbortCompilation
	at 
org.eclipse.jdt.internal.core.builder.BuildNotifier.checkCancelWithinCompiler
(BuildNotifier.java:77)
	at org.eclipse.jdt.internal.core.builder.BuildNotifier.compiled
(BuildNotifier.java:88)
	at 
org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.acceptResult
(AbstractImageBuilder.java:115)
	at org.eclipse.jdt.internal.compiler.Compiler.handleInternalException
(Compiler.java:443)
	at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:355)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile
(AbstractImageBuilder.java:195)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile
(AbstractImageBuilder.java:168)
	at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build
(BatchImageBuilder.java:53)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll
(JavaBuilder.java:190)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build
(JavaBuilder.java:118)
	at org.eclipse.core.internal.events.BuildManager$2.run
(BuildManager.java:424)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:867)
	at org.eclipse.core.runtime.Platform.run(Platform.java:413)
	at org.eclipse.core.internal.events.BuildManager.basicBuild
(BuildManager.java:125)
	at org.eclipse.core.internal.events.BuildManager.basicBuild
(BuildManager.java:181)
	at org.eclipse.core.internal.events.BuildManager.basicBuild
(BuildManager.java:191)
	at org.eclipse.core.internal.events.BuildManager$1.run
(BuildManager.java:151)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:867)
	at org.eclipse.core.runtime.Platform.run(Platform.java:413)
	at org.eclipse.core.internal.events.BuildManager.basicBuild
(BuildManager.java:165)
	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop
(BuildManager.java:243)
	at org.eclipse.core.internal.events.BuildManager.build
(BuildManager.java:212)
	at org.eclipse.core.internal.resources.Workspace.build
(Workspace.java:181)
	at org.eclipse.ui.actions.GlobalBuildAction$1.run
(GlobalBuildAction.java:154)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run
(ModalContext.java:95)
Comment 1 Philipe Mulet CLA 2003-02-05 17:41:50 EST
We shouldn't be surfacing this exception from within the compiler.
Comment 2 Philipe Mulet CLA 2003-02-06 11:13:32 EST
It should have become an OperationCancelledException.
Comment 3 Kent Johnson CLA 2003-02-07 15:33:22 EST
Adam, what VM are you running on?
Comment 4 Adam Kiezun CLA 2003-02-10 05:15:19 EST
sun 1.3.1 i think
Comment 5 Olivier Thomann CLA 2003-02-19 10:20:40 EST
Did you cancel the build? Do you remember if you had any error in your code?
Comment 6 Kent Johnson CLA 2003-02-19 11:00:47 EST
Its possible to cancel the compile just before an OutOfMemory error is caught 
by the compiler.

Added another handler for the AbortCompilation exception to take care of this 
case.
Comment 7 David Audel CLA 2003-02-24 12:02:23 EST
Verified.