Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.1.2Release
-
Fix Version/s: 2.5.0Release
-
Component/s: Compiler Integration
-
Labels:None
-
Environment:Eclipse 3.6.2 on linux 64bit
Groovy-Eclipse Feature 2.1.3.xx-20110329-1600-e36
Groovy Compiler 1.8 Feature 2.1.3.xx-20110329-1600-e36
-
Number of attachments :
Description
A StackOverflowError occurs during groovy code edition and forces quitting eclipse.
This has happened several times while editing code near static initializer.
Unlike GRECLIPSE-1024 there's no generic in the code and eclipse can restart properly.
Here's the error:
!ENTRY org.eclipse.core.jobs 4 2 2011-04-01 15:29:06.567
!MESSAGE An internal error occurred during: "Requesting Java AST from selection".
!STACK 0
java.lang.StackOverflowError
at org.codehaus.jdt.groovy.internal.compiler.ast.JDTClassNode.initialize(JDTClassNode.java:203)
at org.codehaus.jdt.groovy.internal.compiler.ast.JDTClassNode.lazyClassInit(JDTClassNode.java:151)
at org.codehaus.jdt.groovy.internal.compiler.ast.JDTClassNode.initialize(JDTClassNode.java:204)
at org.codehaus.jdt.groovy.internal.compiler.ast.JDTClassNode.lazyClassInit(JDTClassNode.java:151)
at org.codehaus.jdt.groovy.internal.compiler.ast.JDTClassNode.initialize(JDTClassNode.java:204)
at org.codehaus.jdt.groovy.internal.compiler.ast.JDTClassNode.lazyClassInit(JDTClassNode.java:151)
at org.codehaus.jdt.groovy.internal.compiler.ast.JDTClassNode.initialize(JDTClassNode.java:204)
Because this happens frequently I mark this bug as Critical.
See attached log and screenshot.
Activity
| Field | Original Value | New Value |
|---|---|---|
| Attachment | stackoverflow2.log [ 54518 ] | |
| Attachment | stackoverflow-screenshot2.jpeg [ 54519 ] |
| Assignee | Andy Clement [ aclement ] |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Fix Version/s | 2.1.3Release [ 17240 ] | |
| Affects Version/s | 2.1.2Release [ 16995 ] | |
| Affects Version/s | 2.1.3Release [ 17240 ] |
This could be another manifestation of the Generics bug associated with enums. Is this the same project you were working on before? Can you send it over again? Or at least tell me where to find the problem (maybe just the single groovy file with the problem is sufficient.