Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.5.1Release
-
Fix Version/s: 2.5.2.Release
-
Component/s: Content Assist
-
Labels:None
-
Environment:Windows XP, STS 2.7.1
-
Number of attachments :
Description
I'm using SpringSource Tool Suite 2.7.1 and just got the automated upgrade of Groovy-Eclipse to release 2.5.2.xx-20110808-1500-e37. Since I got the upgraded, I've started experiencing the below error from Code Completion.
Steps to reproduce:
- Open a Groovy class (either newly created, or an existing class.)
- Create an class variable and attempt to use Code Completion on the right side of the assignment, e.g.:
class MyClass { def something = Class }Then select "Class" and press ctrl-space OR type "." after Class
- STS will give a pop-up error message saying "The 'Groovy Code Completions' proposal computer from the 'org.codehaus.groovy.eclipse.codeassist.completion' plug-in did not complete normally. The extension has thrown a runtime exception."
I've found that this occurs whether the declared variable is static or not, whether it is declared with a class name or with "def" and whether the code completion is attempted statically for a class (as in my example) or on another class variable.
I'm attaching the error info, as well as my STS installation details in case that's useful.
Error info:
eclipse.buildId=2.7.1.201107091000-RELEASE
java.version=1.6.0_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product com.springsource.sts.ide
Command-line arguments: -os win32 -ws win32 -arch x86 -product com.springsource.sts.ide
Warning
Wed Aug 10 12:56:17 EDT 2011
The 'Groovy Code Completions' proposal computer from the 'org.codehaus.groovy.eclipse.codeassist.completion' plug-in did not complete normally. The extension has thrown a runtime exception.