Community
Participate
Working Groups
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)
BTW: In version 3.0.0 it is OK. Have not tried the 3.1
Please provide steps to reproduce, then reopen.
- 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 :-(
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.
Kent, could you please investigate? This seems to be related to changes for inconsistent hierarchies.
Created attachment 16469 [details] project with the bug Eclipse Version is 3.0.1 Needs also Notes.jar and poi.jar as external libraries.
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).
*** This bug has been marked as a duplicate of 75784 ***