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.:
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.