Community
Participate
Working Groups
I encounter an issue with Eclipse 3.6 SR1 and Acceleo 3.0.1v201009150438 : java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 with a simple template : [template public writeBrackets(o : EClass, d : Integer)] [if (d > 0)][o.writeBrackets(d-1) before ('[]')/][/if] [/template] The issue seems to come from if evaluation. The issue does not occur with Eclipse 3.7 and Acceleo 3.1.0. I attach the stack trace, a simple .mtl and .ecore to obtain the error.
Created attachment 181948 [details] Stack Trace
Created attachment 181951 [details] a module for having again the error
Created attachment 181952 [details] A simple .ecore file as entry for having the error
Hi Fabien, The stack trace looks familiar, and the failure itself reminds me of an issue we had with implicit arguments, yet the use case is slightly different. We'll have to test this before we can determine whether this can be fixed in the 3.0 branch.
Couldn't be reproduced on Eclipse 3.6 with Acceleo 3.0.2