Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 136958 - Internal compiler error
Summary: Internal compiler error
Status: RESOLVED DUPLICATE of bug 136957
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-17 01:50 EDT by prabhu CLA
Modified: 2006-04-17 09:42 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description prabhu CLA 2006-04-17 01:50:22 EDT
I  get the following error when I declare a variable and save it...(I have used
many variables in my 1500 lines of code already)..But I dont know why I get at
this point of time...If I delete the variable and save again then I didnt get it. When this error occurs I am not able to do any cut or copy operations.
I get a message dialog box

The command for the key you pressed failed

Reason:
The command for the key you pressed failed

When I delete the variable declaration and save it..Then its fine....

Note:- The error is pointed out only on the package declartion line and not in the specific variable declaration line

Build id: 200412162000


Suggestions and Solutions will be highly appreciated

        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.recordReturnFrom(ExceptionHandlingFlowContext.java:182)
        at
org.eclipse.jdt.internal.compiler.ast.ReturnStatement.analyseCode(ReturnStatement.java:60)
        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.IncrementalImageBuilder.build(IncrementalImageBuilder.java:113)
        at
org.eclipse.jdt.internal.core.builder.JavaBuilder.buildDeltas(JavaBuilder.java:223)
        at
org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:151)
        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.events.AutoBuildJob.doBuild(AutoBuildJob.java:142)
        at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:203)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
Comment 1 Olivier Thomann CLA 2006-04-17 09:42:57 EDT

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