Bug #1153
Mis à jour par Matthieu Decorde il y a plus de 10 ans
<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.
MD: **OK** Linux64, Mac OS X 10.6
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.
MD: **OK** Linux64, Mac OS X 10.6