Bug 81836 - [1.5][compiler] Getting an 'Internal compiler error' in 3.1 M4
Summary: [1.5][compiler] Getting an 'Internal compiler error' in 3.1 M4
Status: CLOSED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2004-12-23 00:20 EST by Vikramjit Singh CLA
Modified: 2009-08-30 02:06 EDT (History)
0 users

See Also:


Attachments
Eclipse log file (128.21 KB, text/plain)
2004-12-27 01:07 EST, Vikramjit Singh CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vikramjit Singh CLA 2004-12-23 00:20:57 EST
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.
Comment 1 Olivier Thomann CLA 2004-12-25 20:00:04 EST
Could you please provide the java file?
It would help to reproduce this issue.
Comment 2 Vikramjit Singh CLA 2004-12-27 01:07:39 EST
Created attachment 16851 [details]
Eclipse log file
Comment 3 Vikramjit Singh CLA 2004-12-27 01:10:45 EST
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
Comment 4 Philipe Mulet CLA 2005-01-04 05:32:32 EST
Please reopen when the testcase is available.
Comment 5 Frederic Fusier CLA 2005-02-17 10:07:12 EST
OK to close as it seems not reproduceable for a long time?
Comment 6 Vikramjit Singh CLA 2005-03-09 09:22:59 EST
Not reproducible in 3.1M5a
Comment 7 Denis Roy CLA 2009-08-30 02:06:26 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.