Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » What is wrong(Argument types mismatch for module element dynamicModuleQuery70.)
What is wrong [message #1386055] Fri, 13 June 2014 08:59 Go to next message
Wilbert Alberts is currently offline Wilbert Alberts
Messages: 94
Registered: June 2010
Member
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.
Re: What is wrong [message #1386095 is a reply to message #1386055] Fri, 13 June 2014 12:00 Go to previous message
Laurent Redor is currently offline Laurent Redor
Messages: 39
Registered: July 2009
Member
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.
>
Previous Topic:New representation types
Next Topic:Unable to create first entity in emtpy table
Goto Forum:
  


Current Time: Fri Oct 31 19:31:54 GMT 2014

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

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