Bug #1153

Updated by Matthieu Decorde over 4 years ago

<pre>
An internal error occurred during: "Exécution de InjectWordPropTableMacro.groovy".
BUG! exception in phase 'semantic analysis' in source unit 'file:/home/mdecorde/TXM/scripts/macro/org/txm/annotation/InjectWordPropTableMacro.groovy' Queuing new source whilst already iterating. Queued source is 'file:/home/mdecorde/TXM/scripts/macro/org/txm/annotation/AnnotationInjectionFilter.groovy'
</pre>

-Hypothesis: The macro is defined several times-

http://jira.codehaus.org/browse/GRECLIPSE-1037

h3. Solution

Groovy class must explicitely invok "super(...)" in their no-args constructor.
In InjectPropTableFilter, add:
<pre>
public AnnotationInjectionFilter() {
super(new File("").toURI().toURL());
}
</pre>

h3. Validation test

* Run InjectWordProp macro. No need to start the macro.

Back