Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338464

Summary: EmptyStackException running UI test suite
Product: [Eclipse Project] Platform Reporter: Michael Rennie <Michael_Rennie>
Component: AntAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.7   
Target Milestone: 3.7 M6   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
fix none

Description Michael Rennie CLA 2011-02-28 15:41:37 EST
Version: 3.7.0
Build id: I20110224-1726

Running the UI tests suite a few times I got the following exception reported in the console:

!MESSAGE BUILD FAILED
!STACK 0
java.util.EmptyStackException
	at java.util.Stack.peek(Stack.java:85)
	at java.util.Stack.pop(Stack.java:67)
	at org.eclipse.ant.internal.launching.debug.AntDebugState.taskFinished(AntDebugState.java:263)
	at org.eclipse.ant.internal.launching.runtime.logger.AntProcessDebugBuildLogger.taskFinished(AntProcessDebugBuildLogger.java:93)
	at org.apache.tools.ant.Project.fireTaskFinished(Project.java:2206)
	at org.apache.tools.ant.Task.perform(Task.java:364)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:663)
	at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:496)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
	at org.eclipse.ant.internal.launching.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:298)
	at java.lang.Thread.run(Thread.java:662)
Comment 1 Michael Rennie CLA 2011-02-28 15:57:34 EST
Created attachment 189997 [details]
fix
Comment 2 Michael Rennie CLA 2011-02-28 16:00:27 EST
applied to HEAD