Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVTO] Runtime error : QvtEvaluator: failed to evaluate oclOperationCall
[QVTO] Runtime error : QvtEvaluator: failed to evaluate oclOperationCall [message #496598] Tue, 10 November 2009 16:26 Go to next message
Eclipse UserFriend
Originally posted by: vanbeerst.gmail.com

Hi,

I get a runtime error whenever I try to convert an Integer to a String,
what am I doing wrong? I do get the right results..

This is some code :

query getSizeAsString(List<Element> input) : String
{
return input->size().toString();
}

Here is the stack trace :

java.lang.IndexOutOfBoundsException: index: 6, size: 0
at org.eclipse.ocl.util.CollectionUtil.at(CollectionUtil.java:8 67)
at
org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:1104)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
at
org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
at
org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitVariableInitExp(QvtOperationalEvalua tionVisitorImpl.java:1004)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitVariableInitExp(QvtGenericEvaluationVisitor. java:407)
at
org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.impl.VariableIni tExpImpl.accept(VariableInitExpImpl.java:262)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationBody(QvtOperationalEvaluati onVisitorImpl.java:985)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitHelper(QvtOperationalEvaluationVisit orImpl.java:464)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitHelper(QvtGenericEvaluationVisitor.java:339)
at
org.eclipse.m2m.internal.qvt.oml.expressions.impl.HelperImpl .accept(HelperImpl.java:112)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.executeImperativeOperation(QvtOperational EvaluationVisitorImpl.java:1611)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:638)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
at
org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
at
org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
at
org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:173)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
at
org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
at
org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitReturnExp(QvtOperationalEvaluationVi sitorImpl.java:965)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitReturnExp(QvtGenericEvaluationVisitor.java:4 39)
at
org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.impl.ReturnExpIm pl.accept(ReturnExpImpl.java:194)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationBody(QvtOperationalEvaluati onVisitorImpl.java:985)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitHelper(QvtOperationalEvaluationVisit orImpl.java:464)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitHelper(QvtGenericEvaluationVisitor.java:339)
at
org.eclipse.m2m.internal.qvt.oml.expressions.impl.HelperImpl .accept(HelperImpl.java:112)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.executeImperativeOperation(QvtOperational EvaluationVisitorImpl.java:1611)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:638)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
at
org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
at
org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
at
org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:173)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
at
org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
at
org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
at
org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:161)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
at
org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
at
org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitAssignExp(QvtOperationalEvaluationVi sitorImpl.java:354)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitAssignExp(QvtGenericEvaluationVisitor.java:3 27)
at
org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.impl.AssignExpIm pl.accept(AssignExpImpl.java:404)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitBlockExp(QvtOperationalEvaluationVis itorImpl.java:1050)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitBlockExp(QvtGenericEvaluationVisitor.java:33 1)
at
org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.impl.BlockExpImp l.accept(BlockExpImpl.java:168)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitIfExp(QvtOperationalEvaluationVisito rImpl.java:315)
at
org.eclipse.ocl.EvaluationVisitorDecorator.visitIfExp(Evalua tionVisitorDecorator.java:213)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitIfExp(QvtGenericEvaluationVisitor.java:203)
at org.eclipse.ocl.ecore.impl.IfExpImpl.accept(IfExpImpl.java:4 56)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitBlockExp(QvtOperationalEvaluationVis itorImpl.java:1050)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitBlockExp(QvtGenericEvaluationVisitor.java:33 1)
at
org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.impl.BlockExpImp l.accept(BlockExpImpl.java:168)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitIfExp(QvtOperationalEvaluationVisito rImpl.java:315)
at
org.eclipse.ocl.EvaluationVisitorDecorator.visitIfExp(Evalua tionVisitorDecorator.java:213)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitIfExp(QvtGenericEvaluationVisitor.java:203)
at org.eclipse.ocl.ecore.impl.IfExpImpl.accept(IfExpImpl.java:4 56)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitBlockExp(QvtOperationalEvaluationVis itorImpl.java:1050)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitBlockExp(QvtGenericEvaluationVisitor.java:33 1)
at
org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.impl.BlockExpImp l.accept(BlockExpImpl.java:168)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitExpression(QvtOperationalEvaluationV isitorImpl.java:329)
at
org.eclipse.ocl.EvaluationVisitorDecorator.visitExpression(E valuationVisitorDecorator.java:156)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitExpression(QvtGenericEvaluationVisitor.java: 191)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.iterators.QvtIter ationTemplateForExp.evaluateResultTemplate(QvtIterationTempl ateForExp.java:50)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.iterators.QvtIter ationTemplate.evaluate(QvtIterationTemplate.java:84)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitForExp(QvtOperationalEvaluationVisit orImpl.java:1288)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitForExp(QvtGenericEvaluationVisitor.java:431)
at
org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.impl.ForExpImpl. accept(ForExpImpl.java:59)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationBody(QvtOperationalEvaluati onVisitorImpl.java:985)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitHelper(QvtOperationalEvaluationVisit orImpl.java:464)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitHelper(QvtGenericEvaluationVisitor.java:339)
at
org.eclipse.m2m.internal.qvt.oml.expressions.impl.HelperImpl .accept(HelperImpl.java:112)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.executeImperativeOperation(QvtOperational EvaluationVisitorImpl.java:1611)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:638)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
at
org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
at
org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
at
org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:173)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
at
org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
at
org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
at
org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:161)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
at
org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
at
org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
at
org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:161)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
at
org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
at
org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
at
org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:161)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
at
org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
at
org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
at
org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:161)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
at
org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
at
org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
at
org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:161)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
at
org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
at
org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
at
org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:161)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
at
org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
at
org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
at
org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:161)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
at
org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
at
org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitVariableInitExp(QvtOperationalEvalua tionVisitorImpl.java:1004)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitVariableInitExp(QvtGenericEvaluationVisitor. java:407)
at
org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.impl.VariableIni tExpImpl.accept(VariableInitExpImpl.java:262)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationBody(QvtOperationalEvaluati onVisitorImpl.java:985)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitHelper(QvtOperationalEvaluationVisit orImpl.java:464)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitHelper(QvtGenericEvaluationVisitor.java:339)
at
org.eclipse.m2m.internal.qvt.oml.expressions.impl.HelperImpl .accept(HelperImpl.java:112)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.executeImperativeOperation(QvtOperational EvaluationVisitorImpl.java:1611)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:638)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
at
org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
at
org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
at
org.eclipse.ocl.EvaluationVisitorImpl.visitPropertyCallExp(E valuationVisitorImpl.java:1898)
at
org.eclipse.ocl.EvaluationVisitorDecorator.visitPropertyCall Exp(EvaluationVisitorDecorator.java:276)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitPropertyCallExp(QvtGenericEvaluationVisitor. java:258)
at
org.eclipse.ocl.ecore.impl.PropertyCallExpImpl.accept(Proper tyCallExpImpl.java:246)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitReturnExp(QvtOperationalEvaluationVi sitorImpl.java:965)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitReturnExp(QvtGenericEvaluationVisitor.java:4 39)
at
org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.impl.ReturnExpIm pl.accept(ReturnExpImpl.java:194)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationBody(QvtOperationalEvaluati onVisitorImpl.java:985)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitHelper(QvtOperationalEvaluationVisit orImpl.java:464)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitHelper(QvtGenericEvaluationVisitor.java:339)
at
org.eclipse.m2m.internal.qvt.oml.expressions.impl.HelperImpl .accept(HelperImpl.java:112)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.executeImperativeOperation(QvtOperational EvaluationVisitorImpl.java:1611)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:638)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
at
org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
at
org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitLogExp(QvtOperationalEvaluationVis itorImpl.java:1183)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitLogExp(QvtOperationalEvaluationVisit orImpl.java:1164)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitLogExp(QvtGenericEvaluationVisitor.java:423)
at
org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.impl.LogExpImpl. accept(LogExpImpl.java:209)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationBody(QvtOperationalEvaluati onVisitorImpl.java:985)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitEntryOperation(QvtOperationalEvaluat ionVisitorImpl.java:459)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitEntryOperation(QvtGenericEvaluationVisitor.j ava:443)
at
org.eclipse.m2m.internal.qvt.oml.expressions.impl.EntryOpera tionImpl.accept(EntryOperationImpl.java:67)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.executeImperativeOperation(QvtOperational EvaluationVisitorImpl.java:1611)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.runMainEntry(QvtOperationalEvaluationVisi torImpl.java:2123)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl$1.invoke(QvtOperationalEvaluationVisitorI mpl.java:924)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitTransformation(QvtOperationalEvalu ationVisitorImpl.java:898)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitModule(QvtOperationalEvaluationVisit orImpl.java:750)
at
org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitModule(QvtGenericEvaluationVisitor.java:371)
at
org.eclipse.m2m.internal.qvt.oml.expressions.impl.ModuleImpl .accept(ModuleImpl.java:622)
at
org.eclipse.m2m.internal.qvt.oml.runtime.project.QvtInterpre tedTransformation.evaluate(QvtInterpretedTransformation.java :170)
at
org.eclipse.m2m.internal.qvt.oml.runtime.project.QvtInterpre tedTransformation.run(QvtInterpretedTransformation.java:118)
at
org.eclipse.m2m.internal.qvt.oml.runtime.launch.QvtLaunchCon figurationDelegateBase.doLaunch(QvtLaunchConfigurationDelega teBase.java:182)
at
org.eclipse.m2m.internal.qvt.oml.runtime.launch.QvtLaunchCon figurationDelegateBase.doLaunch(QvtLaunchConfigurationDelega teBase.java:137)
at
org.eclipse.m2m.internal.qvt.oml.runtime.launch.QvtLaunchCon figurationDelegate$1.run(QvtLaunchConfigurationDelegate.java :65)
at
org.eclipse.m2m.internal.qvt.oml.common.launch.SafeRunner$Sa meThreadRunner.run(SafeRunner.java:33)
at
org.eclipse.m2m.internal.qvt.oml.common.launch.SafeRunner$1. run(SafeRunner.java:26)
at
org.eclipse.m2m.internal.qvt.oml.common.launch.ShallowProces s.run(ShallowProcess.java:41)
at
org.eclipse.m2m.internal.qvt.oml.common.launch.ShallowProces s.run(ShallowProcess.java:32)
at
org.eclipse.m2m.internal.qvt.oml.runtime.launch.QvtLaunchCon figurationDelegate$3.run(QvtLaunchConfigurationDelegate.java :98)
at java.lang.Thread.run(Unknown Source)
Re: [QVTO] Runtime error : QvtEvaluator: failed to evaluate oclOperationCall [message #496645 is a reply to message #496598] Tue, 10 November 2009 18:43 Go to previous message
Eclipse UserFriend
Originally posted by: dvorak.radek.gmail.com

Hi,

Just do not call Sequence::at(Integer) operation passing the index value
'6' to an
empty collection. The call returns invalid value and the execution is not
stopped.

This is an OCL problem actually, we just can't stop the execution if an
OCL stdlib operation
throws an exception, so at least its logged to let the user know.

The code you have posted does not cause the stack trace.

Regards,
/Radek


On Tue, 10 Nov 2009 17:26:40 +0100, Tony Van Beers <vanbeerst@gmail.com>
wrote:

> Hi,
>
> I get a runtime error whenever I try to convert an Integer to a String,
> what am I doing wrong? I do get the right results..
>
> This is some code :
>
> query getSizeAsString(List<Element> input) : String
> {
> return input->size().toString();
> }
>
> Here is the stack trace :
>
> java.lang.IndexOutOfBoundsException: index: 6, size: 0
> at org.eclipse.ocl.util.CollectionUtil.at(CollectionUtil.java:8 67)
> at
> org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:1104)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
> at
> org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
> at
> org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitVariableInitExp(QvtOperationalEvalua tionVisitorImpl.java:1004)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitVariableInitExp(QvtGenericEvaluationVisitor. java:407)
> at
> org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.impl.VariableIni tExpImpl.accept(VariableInitExpImpl.java:262)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationBody(QvtOperationalEvaluati onVisitorImpl.java:985)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitHelper(QvtOperationalEvaluationVisit orImpl.java:464)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitHelper(QvtGenericEvaluationVisitor.java:339)
> at
> org.eclipse.m2m.internal.qvt.oml.expressions.impl.HelperImpl .accept(HelperImpl.java:112)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.executeImperativeOperation(QvtOperational EvaluationVisitorImpl.java:1611)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:638)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
> at
> org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
> at
> org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
> at
> org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:173)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
> at
> org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
> at
> org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitReturnExp(QvtOperationalEvaluationVi sitorImpl.java:965)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitReturnExp(QvtGenericEvaluationVisitor.java:4 39)
> at
> org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.impl.ReturnExpIm pl.accept(ReturnExpImpl.java:194)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationBody(QvtOperationalEvaluati onVisitorImpl.java:985)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitHelper(QvtOperationalEvaluationVisit orImpl.java:464)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitHelper(QvtGenericEvaluationVisitor.java:339)
> at
> org.eclipse.m2m.internal.qvt.oml.expressions.impl.HelperImpl .accept(HelperImpl.java:112)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.executeImperativeOperation(QvtOperational EvaluationVisitorImpl.java:1611)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:638)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
> at
> org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
> at
> org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
> at
> org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:173)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
> at
> org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
> at
> org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
> at
> org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:161)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
> at
> org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
> at
> org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitAssignExp(QvtOperationalEvaluationVi sitorImpl.java:354)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitAssignExp(QvtGenericEvaluationVisitor.java:3 27)
> at
> org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.impl.AssignExpIm pl.accept(AssignExpImpl.java:404)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitBlockExp(QvtOperationalEvaluationVis itorImpl.java:1050)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitBlockExp(QvtGenericEvaluationVisitor.java:33 1)
> at
> org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.impl.BlockExpImp l.accept(BlockExpImpl.java:168)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitIfExp(QvtOperationalEvaluationVisito rImpl.java:315)
> at
> org.eclipse.ocl.EvaluationVisitorDecorator.visitIfExp(Evalua tionVisitorDecorator.java:213)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitIfExp(QvtGenericEvaluationVisitor.java:203)
> at org.eclipse.ocl.ecore.impl.IfExpImpl.accept(IfExpImpl.java:4 56)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitBlockExp(QvtOperationalEvaluationVis itorImpl.java:1050)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitBlockExp(QvtGenericEvaluationVisitor.java:33 1)
> at
> org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.impl.BlockExpImp l.accept(BlockExpImpl.java:168)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitIfExp(QvtOperationalEvaluationVisito rImpl.java:315)
> at
> org.eclipse.ocl.EvaluationVisitorDecorator.visitIfExp(Evalua tionVisitorDecorator.java:213)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitIfExp(QvtGenericEvaluationVisitor.java:203)
> at org.eclipse.ocl.ecore.impl.IfExpImpl.accept(IfExpImpl.java:4 56)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitBlockExp(QvtOperationalEvaluationVis itorImpl.java:1050)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitBlockExp(QvtGenericEvaluationVisitor.java:33 1)
> at
> org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.impl.BlockExpImp l.accept(BlockExpImpl.java:168)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitExpression(QvtOperationalEvaluationV isitorImpl.java:329)
> at
> org.eclipse.ocl.EvaluationVisitorDecorator.visitExpression(E valuationVisitorDecorator.java:156)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitExpression(QvtGenericEvaluationVisitor.java: 191)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.iterators.QvtIter ationTemplateForExp.evaluateResultTemplate(QvtIterationTempl ateForExp.java:50)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.iterators.QvtIter ationTemplate.evaluate(QvtIterationTemplate.java:84)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitForExp(QvtOperationalEvaluationVisit orImpl.java:1288)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitForExp(QvtGenericEvaluationVisitor.java:431)
> at
> org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.impl.ForExpImpl. accept(ForExpImpl.java:59)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationBody(QvtOperationalEvaluati onVisitorImpl.java:985)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitHelper(QvtOperationalEvaluationVisit orImpl.java:464)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitHelper(QvtGenericEvaluationVisitor.java:339)
> at
> org.eclipse.m2m.internal.qvt.oml.expressions.impl.HelperImpl .accept(HelperImpl.java:112)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.executeImperativeOperation(QvtOperational EvaluationVisitorImpl.java:1611)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:638)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
> at
> org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
> at
> org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
> at
> org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:173)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
> at
> org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
> at
> org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
> at
> org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:161)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
> at
> org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
> at
> org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
> at
> org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:161)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
> at
> org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
> at
> org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
> at
> org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:161)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
> at
> org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
> at
> org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
> at
> org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:161)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
> at
> org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
> at
> org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
> at
> org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:161)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
> at
> org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
> at
> org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
> at
> org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:161)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
> at
> org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
> at
> org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
> at
> org.eclipse.ocl.EvaluationVisitorImpl.visitOperationCallExp( EvaluationVisitorImpl.java:161)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:644)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
> at
> org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
> at
> org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitVariableInitExp(QvtOperationalEvalua tionVisitorImpl.java:1004)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitVariableInitExp(QvtGenericEvaluationVisitor. java:407)
> at
> org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.impl.VariableIni tExpImpl.accept(VariableInitExpImpl.java:262)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationBody(QvtOperationalEvaluati onVisitorImpl.java:985)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitHelper(QvtOperationalEvaluationVisit orImpl.java:464)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitHelper(QvtGenericEvaluationVisitor.java:339)
> at
> org.eclipse.m2m.internal.qvt.oml.expressions.impl.HelperImpl .accept(HelperImpl.java:112)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.executeImperativeOperation(QvtOperational EvaluationVisitorImpl.java:1611)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:638)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
> at
> org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
> at
> org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
> at
> org.eclipse.ocl.EvaluationVisitorImpl.visitPropertyCallExp(E valuationVisitorImpl.java:1898)
> at
> org.eclipse.ocl.EvaluationVisitorDecorator.visitPropertyCall Exp(EvaluationVisitorDecorator.java:276)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitPropertyCallExp(QvtGenericEvaluationVisitor. java:258)
> at
> org.eclipse.ocl.ecore.impl.PropertyCallExpImpl.accept(Proper tyCallExpImpl.java:246)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitReturnExp(QvtOperationalEvaluationVi sitorImpl.java:965)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitReturnExp(QvtGenericEvaluationVisitor.java:4 39)
> at
> org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.impl.ReturnExpIm pl.accept(ReturnExpImpl.java:194)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationBody(QvtOperationalEvaluati onVisitorImpl.java:985)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitHelper(QvtOperationalEvaluationVisit orImpl.java:464)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitHelper(QvtGenericEvaluationVisitor.java:339)
> at
> org.eclipse.m2m.internal.qvt.oml.expressions.impl.HelperImpl .accept(HelperImpl.java:112)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.executeImperativeOperation(QvtOperational EvaluationVisitorImpl.java:1611)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitOperationCallExp(QvtOperationalEva luationVisitorImpl.java:638)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationCallExp(QvtOperationalEvalu ationVisitorImpl.java:597)
> at
> org.eclipse.ocl.EvaluationVisitorDecorator.visitOperationCal lExp(EvaluationVisitorDecorator.java:269)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitOperationCallExp(QvtGenericEvaluationVisitor .java:252)
> at
> org.eclipse.ocl.ecore.impl.OperationCallExpImpl.accept(Opera tionCallExpImpl.java:399)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitLogExp(QvtOperationalEvaluationVis itorImpl.java:1183)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitLogExp(QvtOperationalEvaluationVisit orImpl.java:1164)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitLogExp(QvtGenericEvaluationVisitor.java:423)
> at
> org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.impl.LogExpImpl. accept(LogExpImpl.java:209)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitOperationBody(QvtOperationalEvaluati onVisitorImpl.java:985)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitEntryOperation(QvtOperationalEvaluat ionVisitorImpl.java:459)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitEntryOperation(QvtGenericEvaluationVisitor.j ava:443)
> at
> org.eclipse.m2m.internal.qvt.oml.expressions.impl.EntryOpera tionImpl.accept(EntryOperationImpl.java:67)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.executeImperativeOperation(QvtOperational EvaluationVisitorImpl.java:1611)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.runMainEntry(QvtOperationalEvaluationVisi torImpl.java:2123)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl$1.invoke(QvtOperationalEvaluationVisitorI mpl.java:924)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.doVisitTransformation(QvtOperationalEvalu ationVisitorImpl.java:898)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtOperationalEva luationVisitorImpl.visitModule(QvtOperationalEvaluationVisit orImpl.java:750)
> at
> org.eclipse.m2m.internal.qvt.oml.evaluator.QvtGenericEvaluat ionVisitor.visitModule(QvtGenericEvaluationVisitor.java:371)
> at
> org.eclipse.m2m.internal.qvt.oml.expressions.impl.ModuleImpl .accept(ModuleImpl.java:622)
> at
> org.eclipse.m2m.internal.qvt.oml.runtime.project.QvtInterpre tedTransformation.evaluate(QvtInterpretedTransformation.java :170)
> at
> org.eclipse.m2m.internal.qvt.oml.runtime.project.QvtInterpre tedTransformation.run(QvtInterpretedTransformation.java:118)
> at
> org.eclipse.m2m.internal.qvt.oml.runtime.launch.QvtLaunchCon figurationDelegateBase.doLaunch(QvtLaunchConfigurationDelega teBase.java:182)
> at
> org.eclipse.m2m.internal.qvt.oml.runtime.launch.QvtLaunchCon figurationDelegateBase.doLaunch(QvtLaunchConfigurationDelega teBase.java:137)
> at
> org.eclipse.m2m.internal.qvt.oml.runtime.launch.QvtLaunchCon figurationDelegate$1.run(QvtLaunchConfigurationDelegate.java :65)
> at
> org.eclipse.m2m.internal.qvt.oml.common.launch.SafeRunner$Sa meThreadRunner.run(SafeRunner.java:33)
> at
> org.eclipse.m2m.internal.qvt.oml.common.launch.SafeRunner$1. run(SafeRunner.java:26)
> at
> org.eclipse.m2m.internal.qvt.oml.common.launch.ShallowProces s.run(ShallowProcess.java:41)
> at
> org.eclipse.m2m.internal.qvt.oml.common.launch.ShallowProces s.run(ShallowProcess.java:32)
> at
> org.eclipse.m2m.internal.qvt.oml.runtime.launch.QvtLaunchCon figurationDelegate$3.run(QvtLaunchConfigurationDelegate.java :98)
> at java.lang.Thread.run(Unknown Source)
Previous Topic:Help on QVT (M2M)
Next Topic:[ATL]Problem setting element value
Goto Forum:
  


Current Time: Mon Oct 21 05:11:22 GMT 2019

Powered by FUDForum. Page generated in 0.01951 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top