Bug 26053 - builder out of order in I-20021112
Summary: builder out of order in I-20021112
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 blocker (vote)
Target Milestone: 2.1 M3   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 26043 26063 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-11-12 12:44 EST by Martin Aeschlimann CLA
Modified: 2002-11-14 09:14 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2002-11-12 12:44:51 EST
N-20021112 and I-20021112 seem to have both serious builder problems:
1. start with empty workspace, autobuild
2. import jdt.ui and all dependend plugins (as binary projects)
3. get org.eclipse.jdt.tests from CVS (HEAD)
4. lots of build errors:
- Most of the classes that are in the same classes cant be found
- Weird error range in ContentProviderTests1: first 3 characters (part of 
comment)
- JavaProjectHelper can't be opened at all (looks like an illegal probelm range)
java.lang.IllegalArgumentException: Index out of bounds
	at org.eclipse.swt.SWT.error(SWT.java:2166)
	at org.eclipse.swt.SWT.error(SWT.java:2110)
	at org.eclipse.swt.custom.StyledText.redrawRange(StyledText.java:6087)
	at org.eclipse.jdt.internal.ui.javaeditor.ProblemPainter.draw
(ProblemPainter.java:331)
	at 
org.eclipse.jdt.internal.ui.javaeditor.ProblemPainter.handleDrawRequest
(ProblemPainter.java:268)
	at org.eclipse.jdt.internal.ui.javaeditor.ProblemPainter.enablePainting
(ProblemPainter.java:86)
	at org.eclipse.jdt.internal.ui.javaeditor.ProblemPainter.updatePainting
(ProblemPainter.java:145)
	at org.eclipse.jdt.internal.ui.javaeditor.ProblemPainter.paint
(ProblemPainter.java:356)
	at 
org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.startAnnotationIndi
cation(CompilationUnitEditor.java:1183)
	at 
org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.createPartControl
(CompilationUnitEditor.java:1381)
	at org.eclipse.ui.internal.PartPane$4.run(PartPane.java:135)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:839)
	at org.eclipse.core.runtime.Platform.run(Platform.java:413)
	at org.eclipse.ui.internal.PartPane.createChildControl
(PartPane.java:133)
	at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:177)
	at org.eclipse.ui.internal.EditorWorkbook.createPage
(EditorWorkbook.java:228)
	at org.eclipse.ui.internal.EditorWorkbook.add(EditorWorkbook.java:83)
	at org.eclipse.ui.internal.EditorArea.addEditor(EditorArea.java:43)
	at org.eclipse.ui.internal.EditorPresentation.openEditor
(EditorPresentation.java:347)
	at org.eclipse.ui.internal.EditorManager$2.run(EditorManager.java:545)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:65)
	at org.eclipse.ui.internal.EditorManager.createEditorTab
(EditorManager.java:534)
	at org.eclipse.ui.internal.EditorManager.openInternalEditor
(EditorManager.java:613)
	at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor
(EditorManager.java:426)
	at org.eclipse.ui.internal.EditorManager.openEditorFromInput
(EditorManager.java:303)
	at org.eclipse.ui.internal.EditorManager.openEditor
(EditorManager.java:391)
Comment 1 Philipe Mulet CLA 2002-11-12 13:09:58 EST
These issues were only in the nightly build.
The integration build had other issues, but not these ones.

Comment 2 Martin Aeschlimann CLA 2002-11-13 06:09:24 EST
in I-20021112 we have the problem of a failed TestCase
jdt.ui: NewJavaProjectWizardTest

The problem is in NameEnvironment.computeClasspathLocations
The builder tries to get a folder for a output location that is a project

IContainer outputFolder = root.getFolder(
  entry.getOutputLocation() != null ? entry.getOutputLocation() : 
javaProject.getOutputLocation());


java.lang.IllegalArgumentException: Path must include project and resource name.
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build
(JavaBuilder.java:157)
	at org.eclipse.core.internal.events.BuildManager$2.run
(BuildManager.java:393)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:839)
	at org.eclipse.core.runtime.Platform.run(Platform.java:413)
	at org.eclipse.core.internal.events.BuildManager.basicBuild
(BuildManager.java:120)
	at org.eclipse.core.internal.events.BuildManager.basicBuild
(BuildManager.java:176)
	at org.eclipse.core.internal.events.BuildManager.basicBuild
(BuildManager.java:186)
	at org.eclipse.core.internal.events.BuildManager$1.run
(BuildManager.java:146)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:839)
	at org.eclipse.core.runtime.Platform.run(Platform.java:413)
	at org.eclipse.core.internal.events.BuildManager.basicBuild
(BuildManager.java:160)
	at org.eclipse.core.internal.events.BuildManager.build
(BuildManager.java:211)
	at org.eclipse.core.internal.resources.Workspace.endOperation
(Workspace.java:863)
	at org.eclipse.core.internal.resources.Workspace.run
(Workspace.java:1571)
	at org.eclipse.ui.actions.WorkspaceModifyOperation.run
(WorkspaceModifyOperation.java:79)
	at 
org.eclipse.jdt.ui.tests.wizardapi.NewJavaProjectWizardTest.testExistingOverwrit
e(NewJavaProjectWizardTest.java:274)
	at java.lang.reflect.Method.invoke(Native Method)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests
(RemoteTestRunner.java:360)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run
(RemoteTestRunner.java:246)
	at org.eclipse.pde.internal.junit.ui.RemotePluginTestRunner.main
(RemotePluginTestRunner.java:30)
	at org.eclipse.pde.internal.junit.ui.UITestApplication.runEventLoop
(UITestApplication.java:33)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1418)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:831)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
	at org.eclipse.core.launcher.Main.run(Main.java:703)
	at org.eclipse.core.launcher.Main.main(Main.java:539)
	at org.eclipse.core.launcher.Main.main(Main.java:539)
Comment 3 Philipe Mulet CLA 2002-11-13 08:42:13 EST
This was resolved in the patch posted on JDT/Core page, and our build input for 
today's integration build.

Did you try the patch ?
Comment 4 Philipe Mulet CLA 2002-11-13 08:43:20 EST
The last issue was indeed the one I confessed to eclipse-dev mailing list, 
where project==src==bin.

It should work fine now.
Comment 5 Philipe Mulet CLA 2002-11-13 08:47:13 EST
*** Bug 26063 has been marked as a duplicate of this bug. ***
Comment 6 DJ Houghton CLA 2002-11-13 16:08:56 EST
*** Bug 26043 has been marked as a duplicate of this bug. ***
Comment 7 David Audel CLA 2002-11-14 09:14:20 EST
Verified.