|
Re: What is wrong [message #1386095 is a reply to message #1386055] |
Fri, 13 June 2014 12:00 |
|
Hi,
You can add a breakpoint on AcceleoEvaluationException and then go to
the SetValueTask.execute (l.96 on your stack) and watch the value of
op.valueExpression field (this is the expression in question).
For your information, the concerned expression is a "Value Expression"
field of a "Set Value" operation.
Regards,
Laurent
Le 13/06/2014 10:59, Wilbert Alberts a écrit :
> Hi,
>
> During the development of an editor I encountered some strange errors
> that I'm looking for how to debug. I get a bunch of errors associated
> with an exception like:
>
> org.eclipse.acceleo.engine.AcceleoEvaluationException: Argument types
> mismatch for module element dynamicModuleQuery70.
> at
> org.eclipse.acceleo.engine.generation.AcceleoEngine.doEvaluate(AcceleoEngine.java:401)
>
> at
> org.eclipse.acceleo.engine.generation.AcceleoEngine.evaluate(AcceleoEngine.java:203)
>
> at
> org.eclipse.acceleo.engine.service.AcceleoEvaluationTask.evaluateQuery(AcceleoEvaluationTask.java:122)
>
> at
> org.eclipse.acceleo.engine.service.AcceleoEvaluationTask.call(AcceleoEvaluationTask.java:291)
>
> at
> org.eclipse.sirius.common.acceleo.mtl.business.internal.interpreter.DynamicAcceleoModule.evaluate(DynamicAcceleoModule.java:531)
>
> at
> org.eclipse.sirius.common.acceleo.mtl.business.internal.interpreter.AcceleoMTLInterpreter.internalEvaluate(AcceleoMTLInterpreter.java:1182)
>
> at
> org.eclipse.sirius.common.acceleo.mtl.business.internal.interpreter.AcceleoMTLInterpreter.evaluate(AcceleoMTLInterpreter.java:602)
>
> at
> org.eclipse.sirius.tools.internal.interpreter.ODesignGenericInterpreter.evaluate(ODesignGenericInterpreter.java:149)
>
> at
> org.eclipse.sirius.business.internal.logger.RuntimeLoggerInterpreterImpl.evaluate(RuntimeLoggerInterpreterImpl.java:55)
>
> at
> org.eclipse.sirius.business.internal.helper.task.operations.SetValueTask.execute(SetValueTask.java:96)
>
> at
> org.eclipse.sirius.business.internal.helper.task.ExecuteToolOperationTask.executeTask(ExecuteToolOperationTask.java:103)
>
> at
> org.eclipse.sirius.business.internal.helper.task.ExecuteToolOperationTask.executeTask(ExecuteToolOperationTask.java:114)
>
> at
> org.eclipse.sirius.business.internal.helper.task.ExecuteToolOperationTask.executeTask(ExecuteToolOperationTask.java:114)
>
> at
> org.eclipse.sirius.business.internal.helper.task.ExecuteToolOperationTask.executeTask(ExecuteToolOperationTask.java:114)
>
> at
> org.eclipse.sirius.business.internal.helper.task.ExecuteToolOperationTask.executeTask(ExecuteToolOperationTask.java:114)
>
> at
> org.eclipse.sirius.business.internal.helper.task.ExecuteToolOperationTask.execute(ExecuteToolOperationTask.java:88)
>
> at
> org.eclipse.sirius.business.api.helper.task.TaskExecutor.operation(TaskExecutor.java:95)
>
> at
> org.eclipse.sirius.business.api.helper.task.TaskExecutor.execute(TaskExecutor.java:65)
>
> at
> org.eclipse.sirius.tools.api.command.SiriusCommand.doExecute(SiriusCommand.java:80)
>
>
> My point is that I understand the message but I've absolutely no clue to
> which expression it applies to.
>
> Where should I start looking?
>
> Greetings,
> Wilbert.
>
Laurent Redor - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Re: What is wrong [message #1532198 is a reply to message #1386095] |
Sat, 27 December 2014 22:25 |
Xue Liu Messages: 21 Registered: May 2014 |
Junior Member |
|
|
Hi,
I have the same problem when I restart the Eclipse and create or open the old representation file. It is not reasonable, because when I design the viewpoint specification model, everything is fine. It gives me the error message only after a restart.
Besides, I can not find the AcceleoEvaluationException in the "Add Java Exception Breakpoint" Dialog. Also I can not locate the source code listed in the stack. Does any one have some idea about it ?
Regards
[Updated on: Sat, 27 December 2014 22:26] Report message to a moderator
|
|
|
Re: What is wrong [message #1536514 is a reply to message #1532198] |
Tue, 30 December 2014 08:47 |
|
Le 27/12/2014 23:25, Xue Liu a écrit :
> Besides, I can not find the AcceleoEvaluationException in the "Add Java
> Exception Breakpoint" Dialog. Also I can not locate the source code
> listed in the stack. Does any one have some idea about it?
This class comes from Acceleo itself (not directly from Sirius). The
corresponding plug-in should be installed if you have installed the
Sirius support for Acceleo expressions.
Can you check if the following plug-ins are indeed available in your
environement?
- org.eclipse.sirius.common.acceleo.mtl and
org.eclipse.sirius.common.acceleo.mtl.ide: the Sirius bridge for Acceleo
expressions.
- org.eclipse.acceleo.engine: the Acceleo plug-in where
AcceleoEvaluationException is defined.
org.eclipse.sirius.common.acceleo.mtl depends on it, so if you have
installed the bridge, it should be available.
Regards.
--
Pierre-Charles David - Obeo
Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.03402 seconds