| Summary: | Internal compiler error: java.lang.IllegalArgumentException: info cannot be null at org.eclipse.jdt.internal.compiler.codegen.StackMapFrame.addStackItem(StackMapFrame.java:81) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | dean thomsen <dean.thomsen> | ||||
| Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 4.5 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | stalebug | ||||||
| Attachments: |
|
||||||
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |
Created attachment 254883 [details] SearchMyGroupTicketsSelectionHandler source code I just started getting this error on a class that has not changed in 10 months. Unfortunately, it's a large class with lots of dependencies on other classes, but I have shared it as is. If I try to take out some of the dependencies to make it a standalone class the error goes away. I have tried different versions of Eclipse including the latest build and still get the error: eclipse.buildId=4.5.0.I20150603-2000 org.eclipse.jdt (3.11.0.v20150603-2000) "Eclipse Java Development Tools" [Resolved] org.eclipse.jdt.core (3.11.0.v20150602-1242) "Java Development Tools Core" [Active] I have started from scratch and created a new workspace then imported the projects and continue to get the error on only one class in the thousands of classes that are in the projects. PS, the class does not have a switch statement in it. I read in a different post that it was related to a switch. Here's the stack trace for the exception from the .log file. It looks a lot like the stack trace in this bug, although it's not exactly the same. !ENTRY org.eclipse.core.resources 4 2 2015-06-30 15:07:12.565 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". !STACK 0 java.lang.IllegalArgumentException: info cannot be null at org.eclipse.jdt.internal.compiler.codegen.StackMapFrame.addStackItem(StackMapFrame.java:81) at org.eclipse.jdt.internal.compiler.ClassFile.traverse(ClassFile.java:5587) at org.eclipse.jdt.internal.compiler.ClassFile.generateStackMapTableAttribute(ClassFile.java:4343) at org.eclipse.jdt.internal.compiler.ClassFile.completeCodeAttribute(ClassFile.java:1398) at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:359) at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:283) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:567) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:636) at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.generateCode(CompilationUnitDeclaration.java:368) at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:871) at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:141) at java.lang.Thread.run(Unknown Source) Note: The next day I came back into the office and the problem was gone. I don't know what changed to make the error go away. But I spent 8 hours trying different things to clear the error with no success.