Community
Participate
Working Groups
I tried switiching to 3.1M4 from M2 but started getting an 'Internal compiler error' on one particular .java file. Everything is working properly in M2. Eclipse logs the following stacktrace everytime I try to compile my code. ----------------------------------- Internal compiler error java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at org.eclipse.jdt.internal.compiler.flow.UnconditionalFlowInfo.copy (UnconditionalFlowInfo.java:197) at org.eclipse.jdt.internal.compiler.flow.ExceptionHandlingFlowContext.recordRetur nFrom(ExceptionHandlingFlowContext.java: 182) at org.eclipse.jdt.internal.compiler.ast.ReturnStatement.analyseCode (ReturnStatement.java:60) at org.eclipse.jdt.internal.compiler.ast.Block.analyseCode (Block.java:40) at org.eclipse.jdt.internal.compiler.ast.TryStatement.analyseCode (TryStatement.java:108) at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.analyseCode (MethodDeclaration.java:82) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.internalAnalyseCode (TypeDeclaration.java:697) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.analyseCode (TypeDeclaration.java:264) at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.analyseCode (CompilationUnitDeclaration.java:80) at org.eclipse.jdt.internal.compiler.Compiler.process (Compiler.java:513) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java: 335) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile (AbstractImageBuilder.java:215) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile (AbstractImageBuilder.java:165) at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build (BatchImageBuilder.java:49) at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll (JavaBuilder.java:212) at org.eclipse.jdt.internal.core.builder.JavaBuilder.build (JavaBuilder.java:140) at org.eclipse.core.internal.events.BuildManager$2.run (BuildManager.java:574) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run (Platform.java:747) at org.eclipse.core.internal.events.BuildManager.basicBuild (BuildManager.java:158) at org.eclipse.core.internal.events.BuildManager.basicBuild (BuildManager.java:192) at org.eclipse.core.internal.events.BuildManager$1.run (BuildManager.java:221) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.core.internal.events.BuildManager.basicBuild (BuildManager.java:224) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop (BuildManager.java:243) at org.eclipse.core.internal.events.BuildManager.build (BuildManager.java:272) at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:198) at org.eclipse.ui.actions.GlobalBuildAction$1.run (GlobalBuildAction.java:190) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66) ----------------------------------- The concerned java file has 7.5k lines of code. I haven't been able to isolate the bug to a smaller piece of code.
Could you please provide the java file? It would help to reproduce this issue.
Created attachment 16851 [details] Eclipse log file
Hi, I will not able to attach the Java file as it is because of confidentiality reasons. I am trying to reproduce the same error in some test code. I will attach that here as soon as I am done with it. - Vikram
Please reopen when the testcase is available.
OK to close as it seems not reproduceable for a long time?
Not reproducible in 3.1M5a
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.