Community
Participate
Working Groups
Hi, on Modisco project, when taking in account last Acceleo update site for M4 build (3.1.0.v20101214-0511), we have some troubles with all our generation junit tests : NPE at org.eclipse.acceleo.engine.internal.evaluation.AcceleoEvaluationVisitor.visitAcceleoForBlock(AcceleoEvaluationVisitor.java:384) It seems that this method has changed (calling now getEvaluationVisitor() which returns null because the visitor field points to a AcceleoEvaluationVisitor and not a AcceleoEvaluationVisitorDecorator).
Created attachment 185243 [details] stack trace
Hi Fabien, This is a bug I have already fixed on HEAD ... and can't believe I let through for the actual build. There is no workaround for this issue, and it will pop up for any and all "for" blocks (most of our own unit cases were failing ... yet they haven't been launched by hudson for this build). We've already settled for an M4b build, it should be available on the Acceleo update site starting tomorrow. Leaving the bug open till the build is out and available.
Hi Fabien, The 3.1.0M4b build is out. Can you confirm that it fixes this on your side?
Hi Laurent, I am looking at the update. It works really better now. However i have a small difference in generated output, but it may be caused by my recent templates modification tentatives. I confirm you definitively as soon as possible.
Yes, I confirm that the 3.1.0M4b update site fixed the problem.