Community
Participate
Working Groups
I've this error on Sirius web properties view with an eclipse RCP UI workbench : java.util.NoSuchElementException at java.util.LinkedList.getLast(LinkedList.java:257) at org.eclipse.sirius.ext.base.collect.StackEx.peek(StackEx.java:72) at org.eclipse.sirius.common.tools.api.interpreter.VariableManager.getVariables(VariableManager.java:81) at org.eclipse.sirius.common.acceleo.aql.business.internal.AcceleoAbstractInterpreter.getVariables(AcceleoAbstractInterpreter.java:81) at org.eclipse.sirius.common.acceleo.aql.business.internal.AQLSiriusInterpreter.evaluateExpression(AQLSiriusInterpreter.java:209) at org.eclipse.sirius.common.acceleo.aql.business.internal.AQLSiriusInterpreter.evaluate(AQLSiriusInterpreter.java:194) at org.eclipse.sirius.common.tools.internal.interpreter.AbstractInterpreter.evaluateCollection(AbstractInterpreter.java:54) at org.eclipse.sirius.tools.internal.interpreter.SessionInterpreter.evaluateCollection(SessionInterpreter.java:245) Sometimes, this error come from : at org.eclipse.sirius.diagram.business.internal.metamodel.helper.DiagramElementMappingHelper.evaluateSemanticElements(DiagramElementMappingHelper.java:189) Otherwise, from : at org.eclipse.eef.core.api.utils.EvalFactory$Eval.evaluate(EvalFactory.java:240)
Marking as triaged even if there is no reproduction step: I have seem the same kind of semi-random errors several times, and this is clearly something we want to address in a general way in the upcoming versions as concurrent accesses to the interpreter (among other things) will be the new default when in web mode.
Work has started on refactoring the interpreters, with this kinds of issues in the scope, but it will take some time to progressively evolve the implementation to get rid of this kind of issues for good. Moving to 6.3, hoping we'll be able to make some real progress on this one in that version.