Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.5.1Release
-
Fix Version/s: 2.5.2.Release
-
Component/s: Editor
-
Labels:None
-
Environment:Hideeclipse.buildId=M20110210-1200
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -refresh -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86 -refresh -product org.eclipse.epp.package.jee.productShoweclipse.buildId=M20110210-1200 java.version=1.6.0_26 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Framework arguments: -refresh -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86 -refresh -product org.eclipse.epp.package.jee.product
-
Number of attachments :
Description
The error is very similar to GRECLIPSE-1116.
Create a groovy file with several class descriptions. Begin editing one of the classes and a stack overflow error occurs. After closing eclipse, attempts to start eclipse result in stack overflow errors.
The attached groovy file is the one that generated the errors. I was editing the ExactString class line 50 when the errors occurred. Try the following steps.
1) Type enter after line 49 – super.run(expectedValue, actualValue)
2) On the new blank line 50 type: if (!TokenCompiler.isKeyWord(expectedValue)) {
The stack overflow is thrown after the open parentheses is typed.
Work around for the error:
1) close eclipse
2) Opening the groovy file in a text editor reveals that the edits were partially saved.
3) Complete the edits in the text editor and save the file.
4) Open eclipse and the stack overflow error no longer occurs.
It looks to me like you are having a temporary circular class hierarchy. See
GRECLIPSE-531. It should have been resolved in 2.5.0, so you may be seeing a new variation of the problem.I did try your instructions in 2.5.2 and could not reproduce the problem. Could you try updating to 2.5.2 and seeing if you stil have the problem?