Bug 80450 - Internal compiler error
Summary: Internal compiler error
Status: RESOLVED DUPLICATE of bug 75784
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0.1   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.0.2   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-08 04:40 EST by Matthew CLA
Modified: 2004-12-13 11:33 EST (History)
0 users

See Also:


Attachments
project with the bug (235.62 KB, application/octet-stream)
2004-12-08 15:58 EST, Malcolm Kendall CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew CLA 2004-12-08 04:40:44 EST
Internal compiler error
java.lang.ArrayIndexOutOfBoundsException: 10

	at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.buildFields(ClassScope.java:126)

	at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.buildFieldsAndMethods(ClassScope.java:136)

	at
org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:61)

	at
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:182)

	at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:307)

	at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:321)

	at
org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:203)

	at
org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:153)

	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:141)

	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:570)

	at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)

	at org.eclipse.core.runtime.Platform.run(Platform.java:747)

	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:159)

	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:251)

	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:204)

	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)

	at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)

	at org.eclipse.core.runtime.Platform.run(Platform.java:747)

	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)

	at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:270)

	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:299)

	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:155)

	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:212)

	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
Comment 1 Matthew CLA 2004-12-08 06:42:05 EST
BTW: In version 3.0.0 it is OK.
Have not tried the 3.1
Comment 2 Philipe Mulet CLA 2004-12-08 09:31:54 EST
Please provide steps to reproduce, then reopen.
Comment 3 Matthew CLA 2004-12-08 10:42:57 EST
- There are a lot of source files with errors
- In 3.0.0 there are 997 erros and 21 warnings.
- The bug is there always (it is not just sometimes). But i'm sorry i can not
upload the sources  :-(
Comment 4 Olivier Thomann CLA 2004-12-08 11:20:08 EST
Could you at least reproduce in a simple test case that we could work on?
Without a reproducable test case, it is much more difficult to fix it.
Comment 5 Olivier Thomann CLA 2004-12-08 11:48:20 EST
Kent, could you please investigate?
This seems to be related to changes for inconsistent hierarchies.
Comment 6 Malcolm Kendall CLA 2004-12-08 15:58:33 EST
Created attachment 16469 [details]
project with the bug

Eclipse Version is 3.0.1
Needs also Notes.jar and poi.jar as external libraries.
Comment 7 Matthew CLA 2004-12-10 03:51:57 EST
Another info:
  I have tried it under the 3.1M3 and it looks like it is working there same as
in  3.0.0 (i.e. correctly).
Comment 8 Kent Johnson CLA 2004-12-13 11:33:27 EST

*** This bug has been marked as a duplicate of 75784 ***