Home » Modeling » M2T (model-to-text transformation) » [xpand] Sporadic EvaluationException in xpand/xtend
[xpand] Sporadic EvaluationException in xpand/xtend [message #499861] |
Tue, 24 November 2009 12:18 |
Christoph Kulla Messages: 48 Registered: July 2009 |
Member |
|
|
Hi,
I'm facing sporadic EvaluationExecptions in xtend and xpand scripts. It happens at random places and only from time to time.
Here are a few examples (I can provide more logs):
20594 ERROR AbstractExpressionsUsingWorkflowComponent - Error in Component of type org.eclipse.xpand2.Generator:
EvaluationException : null
com::mycompany::xyz::xyzml::tml::libTML.ext[11981,27] on line 236 'paramdoc.split(" ").first()'
com::mycompany::xyz::xyzml::iml::libIML.ext[1387,45] on line 40 'description.first().getParameterDescription()'
com::mycompany::xyz::xyzml::generator::legacy::docbook::IML2 Docbook.xpt[3825,16] on line 110 'getDescription()'
com::mycompany::xyz::xyzml::generator::legacy::docbook::IML2 Docbook.xpt[2120,48] on line 61 'EXPAND writeParameter("in") FOREACH inParameters'
com::mycompany::xyz::xyzml::generator::legacy::docbook::IML2 Docbook.xpt[1070,60] on line 35 'EXPAND writeOperation FOREACH elements.typeSelect(Operation)'
com::mycompany::xyz::xyzml::generator::legacy::docbook::IML2 Docbook.xpt[890,35] on line 28 'EXPAND writeInterface FOR interface'
[23,93] on line 1 'EXPAND com::mycompany::xyz::xyzml::generator::legacy::docbook::IML2 Docbook::main FOR model'
17671 ERROR AbstractExpressionsUsingWorkflowComponent - Error in Component of type org.eclipse.xtend.XtendComponent:
EvaluationException : null
com::mycompany::xyz::xyzml::tml::libTML.ext[11475,16] on line 225 'description.size'
com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si .ext[5395,18] on line 140 'l.getDescription()'
com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si .ext[5157,22] on line 134 'enum.literals.toHBTD()'
com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si .ext[6174,25] on line 163 'dtr.declaredType.toHBTD()'
com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si .ext[4919,20] on line 127 'member.type.toHBTD()'
com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si .ext[4616,23] on line 119 'struct.members.toHBTD()'
com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si .ext[6174,25] on line 163 'dtr.declaredType.toHBTD()'
com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si .ext[9169,15] on line 257 'p.type.toHBTD()'
com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si .ext[9499,32] on line 266 'o.outParameter.toParameter(this)'
com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si .ext[8702,30] on line 243 'o.operationToResponse(request)'
com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si .ext[1743,8] on line 37 'interface.elements.toHBSI()'
nofile[0,26] on line 1 'imlToHBSI(model.interface)'
37954 [main] ERROR org.eclipse.xtend.XtendComponent - Error in Component of type org.eclipse.xtend.XtendComponent:
EvaluationException : null
com::mycompany::modeling::cpp::generator::CPP2DOT.ext[1583,5 0] on line 44 'element.parameters.collect(e|e.name).toString(",")'
com::mycompany::modeling::cpp::generator::CPP2DOT.ext[1068,1 4] on line 32 'a.makeString()'
com::mycompany::modeling::cpp::generator::CPP2DOT.ext[2269,3 2] on line 63 'toNode(field.typeReference.type)'
com::mycompany::modeling::cpp::generator::CPP2DOT.ext[571,26 ] on line 16 'f.toEdgeContainment(graph)'
com::mycompany::modeling::cpp::generator::CPP2DOT.ext[282,18 ] on line 10 'toGraph(cppModel)'
nofile[0,19] on line 1 'transform(cppModel)'
I'm running my xtend and xpand files from a maven build (it runs mwe workflows from unit tests). I'm using xpand 0.7.2.
You might think it happens due to errors in the xtend files. But I get these errors just by repeating a stable build a few times.
After some runs the exeception will occur at random places (without changing any files).
I would love to create a reproduce-able example, but it happens randomly and only in the context of a larger project.
Do you have any ideas about this issue? What should I do to get more insight into this problem?
Best regards
Christoph
[Updated on: Tue, 24 November 2009 12:38] Report message to a moderator
|
|
|
Re: [xpand] Sporadic EvaluationException in xpand/xtend [message #499878 is a reply to message #499861] |
Tue, 24 November 2009 13:09 |
|
This is a multi-part message in MIME format.
--------------070400090909030009090706
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Christoph Kulla schrieb:
> Hi,
>
> I'm facing sporadic EvaluationExecptions in xtend and xpand scripts.
> It happens at random places and only from time to time. Here are a few
> examples (I can provide more logs):
>
> 20594 ERROR AbstractExpressionsUsingWorkflowComponent - Error in
> Component of type org.eclipse.xpand2.Generator:
> EvaluationException : null
> com::mycompany::xyz::xyzml::tml::libTML.ext[11981,27] on line 236
> 'paramdoc.split("
> ").first()'
> com::mycompany::xyz::xyzml::iml::libIML.ext[1387,45] on line 40
> 'description.first().getParameterDescription()'
> com::mycompany::xyz::xyzml::generator::legacy::docbook::IML2
> Docbook.xpt[3825,16] on line 110
> 'getDescription()'
> com::mycompany::xyz::xyzml::generator::legacy::docbook::IML2
> Docbook.xpt[2120,48] on line 61 'EXPAND writeParameter("in") FOREACH
> inParameters'
> com::mycompany::xyz::xyzml::generator::legacy::docbook::IML2
> Docbook.xpt[1070,60] on line 35 'EXPAND writeOperation FOREACH
> elements.typeSelect(Operation)'
> com::mycompany::xyz::xyzml::generator::legacy::docbook::IML2
> Docbook.xpt[890,35] on line 28 'EXPAND writeInterface FOR
> interface' [23,93] on line 1 'EXPAND
> com::mycompany::xyz::xyzml::generator::legacy::docbook::IML2
> Docbook::main FOR model'
> 17671 ERROR AbstractExpressionsUsingWorkflowComponent - Error in
> Component of type org.eclipse.xtend.XtendComponent:
> EvaluationException : null
> com::mycompany::xyz::xyzml::tml::libTML.ext[11475,16] on line 225
> 'description.size'
> com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si
> .ext[5395,18] on line 140 'l.getDescription()'
> com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si
> .ext[5157,22] on line 134 'enum.literals.toHBTD()'
> com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si
> .ext[6174,25] on line 163 'dtr.declaredType.toHBTD()'
> com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si
> .ext[4919,20] on line 127 'member.type.toHBTD()'
> com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si
> .ext[4616,23] on line 119 'struct.members.toHBTD()'
> com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si
> .ext[6174,25] on line 163 'dtr.declaredType.toHBTD()'
> com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si
> .ext[9169,15] on line 257 'p.type.toHBTD()'
> com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si
> .ext[9499,32] on line 266 'o.outParameter.toParameter(this)'
> com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si
> .ext[8702,30] on line 243 'o.operationToResponse(request)'
> com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si
> .ext[1743,8] on line 37 'interface.elements.toHBSI()'
> nofile[0,26] on line 1
> 'imlToHBSI(model.interface)'
>
> 37954 [main] ERROR org.eclipse.xtend.XtendComponent - Error in
> Component of type org.eclipse.xtend.XtendComponent:
> EvaluationException : null
> com::mycompany::modeling::cpp::generator::CPP2DOT.ext[1583,5
> 0] on line 44 'element.parameters.collect(e|e.name).toString(",")'
> com::mycompany::modeling::cpp::generator::CPP2DOT.ext[1068,1
> 4] on line 32 'a.makeString()'
> com::mycompany::modeling::cpp::generator::CPP2DOT.ext[2269,3
> 2] on line 63 'toNode(field.typeReference.type)'
> com::mycompany::modeling::cpp::generator::CPP2DOT.ext[571,26 ]
> on line 16 'f.toEdgeContainment(graph)'
> com::mycompany::modeling::cpp::generator::CPP2DOT.ext[282,18 ]
> on line 10 'toGraph(cppModel)'
> nofile[0,19] on line 1 'transform(cppModel)'
>
> I'm running my xtend and xpand files from a maven build (it runs mwe
> workflows from unit tests). I'm using xpand 0.7.2. You might think it
> happens due to errors in the xtend files. But I get these errors just
> by repeating a stable build a few times.
> After some runs the the exeception will occur at random places
> (without changing any files).
>
> I would love to create a reproduce-able example, but it happens
> randomly and only in the context of a larger project.
>
> Do you have any ideas about this issue? What should I do to get more
> insight into this problem?
>
> Best regards
>
> Christoph
christoph,
same for me.... randomly and only in large complex projects after
executing some runs of worlkflows
the only thing what helps is restarting eclipse
I posted this some time ago
would be really great if someone has an idea
ekke
--
ekke (ekkehard gentz)
independent software-architect
senior erp-consultant
eclipse | osgi | equinox | mdsd | oaw | emf | uml
max-josefs-platz 30, D-83022 rosenheim, germany
mailto:ekke@ekkes-corner.org
homepage (de): http://gentz-software.de
blog (en): http://ekkes-corner.org
twitter: @ekkescorner
skype: ekkes-corner
Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490
--------------070400090909030009090706
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Christoph Kulla schrieb:
<blockquote cite="mid:hegivc$7c4$1@build.eclipse.org" type="cite">Hi,
<br>
<br>
I'm facing sporadic EvaluationExecptions in xtend and xpand scripts. It
happens at random places and only from time to time. Here are a few
examples (I can provide more logs):
<br>
<br>
20594 ERROR AbstractExpressionsUsingWorkflowComponent - Error in
Component of type org.eclipse.xpand2.Generator:
EvaluationException : null
<br>
com::mycompany::xyz::xyzml::tml::libTML.ext[11981,27 ] on line 236
'paramdoc.split("
" ).first()'
com::mycompany::xyz::xyzml::iml::libIML.ext[1387,45] on line 40
'description.first().getParameterDescription()'
ekke
independent software architect
blog: http://ekkes-corner.org
twitter: @ekkescorner
|
|
|
Re: [xpand] Sporadic EvaluationException in xpand/xtend [message #500082 is a reply to message #499861] |
Tue, 24 November 2009 21:11 |
Sven Efftinge Messages: 1823 Registered: July 2009 |
Senior Member |
|
|
Hi,
is it possible for you to run the workflow in debug mode and add an
exception breakpoint for EvaluationException?
And than of course tell us about the context (i.e. what causes the
exception).
Thanks,
Sven
Christoph Kulla schrieb:
> Hi,
>
> I'm facing sporadic EvaluationExecptions in xtend and xpand scripts. It
> happens at random places and only from time to time. Here are a few
> examples (I can provide more logs):
>
> 20594 ERROR AbstractExpressionsUsingWorkflowComponent - Error in
> Component of type org.eclipse.xpand2.Generator: EvaluationException
> : null
> com::mycompany::xyz::xyzml::tml::libTML.ext[11981,27] on line 236
> 'paramdoc.split("
> ").first()'
> com::mycompany::xyz::xyzml::iml::libIML.ext[1387,45] on line 40
> 'description.first().getParameterDescription()'
> com::mycompany::xyz::xyzml::generator::legacy::docbook::IML2
> Docbook.xpt[3825,16] on line 110
> 'getDescription()'
> com::mycompany::xyz::xyzml::generator::legacy::docbook::IML2
> Docbook.xpt[2120,48] on line 61 'EXPAND writeParameter("in") FOREACH
> inParameters'
> com::mycompany::xyz::xyzml::generator::legacy::docbook::IML2
> Docbook.xpt[1070,60] on line 35 'EXPAND writeOperation FOREACH
> elements.typeSelect(Operation)'
> com::mycompany::xyz::xyzml::generator::legacy::docbook::IML2
> Docbook.xpt[890,35] on line 28 'EXPAND writeInterface FOR
> interface' [23,93] on line 1 'EXPAND
> com::mycompany::xyz::xyzml::generator::legacy::docbook::IML2
> Docbook::main FOR model'
> 17671 ERROR AbstractExpressionsUsingWorkflowComponent - Error in
> Component of type org.eclipse.xtend.XtendComponent:
> EvaluationException : null
> com::mycompany::xyz::xyzml::tml::libTML.ext[11475,16] on line 225
> 'description.size'
> com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si
> .ext[5395,18] on line 140 'l.getDescription()'
> com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si
> .ext[5157,22] on line 134 'enum.literals.toHBTD()'
> com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si
> .ext[6174,25] on line 163 'dtr.declaredType.toHBTD()'
> com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si
> .ext[4919,20] on line 127 'member.type.toHBTD()'
> com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si
> .ext[4616,23] on line 119 'struct.members.toHBTD()'
> com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si
> .ext[6174,25] on line 163 'dtr.declaredType.toHBTD()'
> com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si
> .ext[9169,15] on line 257 'p.type.toHBTD()'
> com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si
> .ext[9499,32] on line 266 'o.outParameter.toParameter(this)'
> com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si
> .ext[8702,30] on line 243 'o.operationToResponse(request)'
> com::mycompany::xyz::xyzml::generator::dsi::hbsimodel::ml2si
> .ext[1743,8] on line 37 'interface.elements.toHBSI()'
> nofile[0,26] on line 1
> 'imlToHBSI(model.interface)'
>
> 37954 [main] ERROR org.eclipse.xtend.XtendComponent - Error in
> Component of type org.eclipse.xtend.XtendComponent:
> EvaluationException : null
> com::mycompany::modeling::cpp::generator::CPP2DOT.ext[1583,5 0]
> on line 44 'element.parameters.collect(e|e.name).toString(",")'
> com::mycompany::modeling::cpp::generator::CPP2DOT.ext[1068,1 4]
> on line 32 'a.makeString()'
> com::mycompany::modeling::cpp::generator::CPP2DOT.ext[2269,3 2]
> on line 63 'toNode(field.typeReference.type)'
> com::mycompany::modeling::cpp::generator::CPP2DOT.ext[571,26 ]
> on line 16 'f.toEdgeContainment(graph)'
> com::mycompany::modeling::cpp::generator::CPP2DOT.ext[282,18 ]
> on line 10 'toGraph(cppModel)'
> nofile[0,19] on line 1 'transform(cppModel)'
>
> I'm running my xtend and xpand files from a maven build (it runs mwe
> workflows from unit tests). I'm using xpand 0.7.2. You might think it
> happens due to errors in the xtend files. But I get these errors just by
> repeating a stable build a few times.
> After some runs the the exeception will occur at random places (without
> changing any files).
>
> I would love to create a reproduce-able example, but it happens randomly
> and only in the context of a larger project.
>
> Do you have any ideas about this issue? What should I do to get more
> insight into this problem?
>
> Best regards
>
> Christoph
--
Need professional support for Xtext and EMF?
Go to: http://xtext.itemis.com
|
|
|
Re: [xpand] Sporadic EvaluationException in xpand/xtend [message #500172 is a reply to message #500082] |
Wed, 25 November 2009 09:10 |
Christoph Kulla Messages: 48 Registered: July 2009 |
Member |
|
|
Sven,
I've connected the eclipse debugger to the maven build. Below you find the callstack, the attached pictures shows the context of the exception.
Any help is highly appreciated.
Thanks
Christoph
1448715 [main] ERROR org.eclipse.xpand2.Generator - Error in Component generatorHPP of type org.eclipse.xpand2.Generator:
EvaluationException : null
com::mycompany::modeling::cpp::generator::util.ext[1676,40] on line 43 's.addAll(parameters.typeReference.type)'
com::mycompany::modeling::cpp::generator::util.ext[2053,19] on line 58 'elements.getTypes()'
com::mycompany::modeling::cpp::generator::HPP.xpt[872,10] on line 24 'cppModel.classes.select(e|e.headerFile.==(this)).getTypes() '
com::mycompany::modeling::cpp::generator::HPP.xpt[399,43] on line 11 'EXPAND HeaderFileContent(cppModel) FOR this'
com::mycompany::modeling::cpp::generator::HPP.xpt[105,63] on line 5 'EXPAND HeaderFileGEN(this) FOREACH files.typeSelect(HeaderFile)'
[23,74] on line 1 'EXPAND com::mycompany::modeling::cpp::generator::HPP::Root FOR cppModel'
Coressponding call stack:
Thread [main] (Suspended (exception EvaluationException))
AbstractExpressionsUsingWorkflowComponent$1.handleRuntimeExc eption(RuntimeException, SyntaxElement, ExecutionContext, Map<String,Object>) line: 187
XpandExecutionContextImpl(ExecutionContextImpl).handleRuntim eException(RuntimeException, SyntaxElement, Map<String,Object>) line: 376
OperationCall(Expression).evaluate(ExecutionContext) line: 57
ChainExpression.evaluateInternal(ExecutionContext) line: 39
ChainExpression(Expression).evaluate(ExecutionContext) line: 48
ChainExpression.evaluateInternal(ExecutionContext) line: 38
ChainExpression(Expression).evaluate(ExecutionContext) line: 48
LetExpression.evaluateInternal(ExecutionContext) line: 57
LetExpression(Expression).evaluate(ExecutionContext) line: 48
ExpressionExtensionStatement.evaluateInternal2(Object[], ExecutionContext) line: 58
ExpressionExtensionStatement.evaluateInternal(Object[], ExecutionContext) line: 47
ExpressionExtensionStatement(AbstractExtension).evaluate(Obj ect[], ExecutionContext) line: 162
OperationCall.evaluate(Extension, Object[], ExecutionContext) line: 343
OperationCall.evaluateInternal(ExecutionContext) line: 136
OperationCall(Expression).evaluate(ExecutionContext) line: 48
OperationCall.evaluateInternal(ExecutionContext) line: 66
OperationCall(Expression).evaluate(ExecutionContext) line: 48
ChainExpression.evaluateInternal(ExecutionContext) line: 39
ChainExpression(Expression).evaluate(ExecutionContext) line: 48
ChainExpression.evaluateInternal(ExecutionContext) line: 38
ChainExpression(Expression).evaluate(ExecutionContext) line: 48
LetExpression.evaluateInternal(ExecutionContext) line: 57
LetExpression(Expression).evaluate(ExecutionContext) line: 48
ExpressionExtensionStatement.evaluateInternal2(Object[], ExecutionContext) line: 58
ExpressionExtensionStatement.evaluateInternal(Object[], ExecutionContext) line: 47
ExpressionExtensionStatement(AbstractExtension).evaluate(Obj ect[], ExecutionContext) line: 162
OperationCall.evaluate(Extension, Object[], ExecutionContext) line: 343
OperationCall.evaluateInternal(ExecutionContext) line: 136
OperationCall(Expression).evaluate(ExecutionContext) line: 48
OperationCall.evaluateInternal(ExecutionContext) line: 60
OperationCall(Expression).evaluate(ExecutionContext) line: 48
OperationCall.evaluateInternal(ExecutionContext) line: 60
OperationCall(Expression).evaluate(ExecutionContext) line: 48
ExpandStatement.evaluateInternal(XpandExecutionContext) line: 128
ExpandStatement(Statement).evaluate(XpandExecutionContext) line: 39
Definition(AbstractDefinition).evaluate(XpandExecutionContex t) line: 175
ExpandStatement.invokeDefinition(String, Object, Object[], Type[], XpandExecutionContext) line: 195
ExpandStatement.evaluateInternal(XpandExecutionContext) line: 167
ExpandStatement(Statement).evaluate(XpandExecutionContext) line: 39
FileStatement.evaluateInternal(XpandExecutionContext) line: 83
FileStatement(Statement).evaluate(XpandExecutionContext) line: 39
Definition(AbstractDefinition).evaluate(XpandExecutionContex t) line: 175
ExpandStatement.invokeDefinition(String, Object, Object[], Type[], XpandExecutionContext) line: 195
ExpandStatement.evaluateInternal(XpandExecutionContext) line: 145
ExpandStatement(Statement).evaluate(XpandExecutionContext) line: 39
Definition(AbstractDefinition).evaluate(XpandExecutionContex t) line: 175
ExpandStatement.invokeDefinition(String, Object, Object[], Type[], XpandExecutionContext) line: 195
ExpandStatement.evaluateInternal(XpandExecutionContext) line: 167
ExpandStatement(Statement).evaluate(XpandExecutionContext) line: 39
Generator.invokeInternal2(WorkflowContext, ProgressMonitor, Issues) line: 334
Generator(AbstractExpressionsUsingWorkflowComponent).invokeI nternal(WorkflowContext, ProgressMonitor, Issues) line: 191
Generator(AbstractWorkflowComponent).invoke(WorkflowContext, ProgressMonitor, Issues) line: 124
Workflow(CompositeComponent).internalInvoke(WorkflowContext, ProgressMonitor, Issues) line: 101
Workflow(CompositeComponent).invoke(WorkflowContext, ProgressMonitor, Issues) line: 86
Workflow(CompositeComponent).internalInvoke(WorkflowContext, ProgressMonitor, Issues) line: 101
Workflow(CompositeComponent).invoke(WorkflowContext, ProgressMonitor, Issues) line: 86
Workflow(CompositeComponent).internalInvoke(WorkflowContext, ProgressMonitor, Issues) line: 101
Workflow(CompositeComponent).invoke(WorkflowContext, ProgressMonitor, Issues) line: 86
Workflow(CompositeComponent).internalInvoke(WorkflowContext, ProgressMonitor, Issues) line: 101
Workflow(CompositeComponent).invoke(WorkflowContext, ProgressMonitor, Issues) line: 86
WorkflowRunner.executeWorkflow(Map<?,?>, Issues) line: 412
WorkflowRunner.run(String, ProgressMonitor, Map<String,String>, Map<String,?>) line: 292
NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
Method.invoke(Object, Object...) line: 597
MojoWorkflowRunner.run(String, Map<String,String>, HashMap<String,Object>) line: 49
WorkflowMojo.execute() line: 319
DefaultPluginManager.executeMojo(MavenProject, MojoExecution, MavenSession) line: 483
DefaultLifecycleExecutor.executeGoals(List, Stack, MavenSession, MavenProject) line: 678
DefaultLifecycleExecutor.executeGoalWithLifecycle(String, Stack, MavenSession, Map, MavenProject, Lifecycle) line: 540
DefaultLifecycleExecutor.executeGoal(String, MavenSession, MavenProject) line: 519
DefaultLifecycleExecutor.executeGoalAndHandleFailures(String , MavenSession, MavenProject, EventDispatcher, String, ReactorManager, long, String) line: 371
DefaultLifecycleExecutor.executeTaskSegments(List, ReactorManager, MavenSession, MavenProject, EventDispatcher) line: 332
DefaultLifecycleExecutor.execute(MavenSession, ReactorManager, EventDispatcher) line: 181
DefaultMaven.doExecute(MavenExecutionRequest, EventDispatcher) line: 356
DefaultMaven.execute(MavenExecutionRequest) line: 137
MavenCli.main(String[], ClassWorld) line: 362
CompatibleMain.main(String[], ClassWorld) line: 41
NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
Method.invoke(Object, Object...) line: 597
Launcher.launchEnhanced(String[]) line: 315
Launcher.launch(String[]) line: 255
Launcher.mainWithExitCode(String[]) line: 430
Launcher.main(String[]) line: 375
|
|
| | |
Re: [xpand] Sporadic EvaluationException in xpand/xtend [message #500184 is a reply to message #500172] |
Wed, 25 November 2009 09:49 |
Sven Efftinge Messages: 1823 Registered: July 2009 |
Senior Member |
|
|
Please provide the stack trace of the handled RuntimeException.
Maybe, you want to contact me via skype, so we can hunt that bug down.
Skype name is : svenefftinge
Thanks,
Sven
Christoph Kulla schrieb:
>
> 1448715 [main] ERROR org.eclipse.xpand2.Generator - Error in
> Component generatorHPP of type org.eclipse.xpand2.Generator:
> EvaluationException : null
> com::mycompany::modeling::cpp::generator::util.ext[1676,40] on
> line 43 's.addAll(parameters.typeReference.type)'
> com::mycompany::modeling::cpp::generator::util.ext[2053,19] on
> line 58 'elements.getTypes()'
> com::mycompany::modeling::cpp::generator::HPP.xpt[872,10] on line
> 24 'cppModel.classes.select(e|e.headerFile.==(this)).getTypes() '
> com::mycompany::modeling::cpp::generator::HPP.xpt[399,43] on line
> 11 'EXPAND HeaderFileContent(cppModel) FOR this'
> com::mycompany::modeling::cpp::generator::HPP.xpt[105,63] on line
> 5 'EXPAND HeaderFileGEN(this) FOREACH files.typeSelect(HeaderFile)'
> [23,74] on line 1 'EXPAND
> com::mycompany::modeling::cpp::generator::HPP::Root FOR cppModel'
>
> Coressponding call stack:
>
> Thread [main] (Suspended (exception EvaluationException))
> AbstractExpressionsUsingWorkflowComponent$1.handleRuntimeExc
> eption(RuntimeException, SyntaxElement, ExecutionContext,
> Map<String,Object>) line: 187
> XpandExecutionContextImpl(ExecutionContextImpl).handleRuntim
> eException(RuntimeException, SyntaxElement, Map<String,Object>) line:
> 376
> OperationCall(Expression).evaluate(ExecutionContext) line: 57
> ChainExpression.evaluateInternal(ExecutionContext) line: 39
> ChainExpression(Expression).evaluate(ExecutionContext) line: 48
> ChainExpression.evaluateInternal(ExecutionContext) line: 38
> ChainExpression(Expression).evaluate(ExecutionContext) line: 48
> LetExpression.evaluateInternal(ExecutionContext) line: 57
> LetExpression(Expression).evaluate(ExecutionContext) line: 48
> ExpressionExtensionStatement.evaluateInternal2(Object[],
> ExecutionContext) line: 58
> ExpressionExtensionStatement.evaluateInternal(Object[],
> ExecutionContext) line: 47
> ExpressionExtensionStatement(AbstractExtension).evaluate(Obj ect[],
> ExecutionContext) line: 162
> OperationCall.evaluate(Extension, Object[], ExecutionContext) line:
> 343
> OperationCall.evaluateInternal(ExecutionContext) line: 136
> OperationCall(Expression).evaluate(ExecutionContext) line: 48
> OperationCall.evaluateInternal(ExecutionContext) line: 66
> OperationCall(Expression).evaluate(ExecutionContext) line: 48
> ChainExpression.evaluateInternal(ExecutionContext) line: 39
> ChainExpression(Expression).evaluate(ExecutionContext) line: 48
> ChainExpression.evaluateInternal(ExecutionContext) line: 38
> ChainExpression(Expression).evaluate(ExecutionContext) line: 48
> LetExpression.evaluateInternal(ExecutionContext) line: 57
> LetExpression(Expression).evaluate(ExecutionContext) line: 48
> ExpressionExtensionStatement.evaluateInternal2(Object[],
> ExecutionContext) line: 58
> ExpressionExtensionStatement.evaluateInternal(Object[],
> ExecutionContext) line: 47
> ExpressionExtensionStatement(AbstractExtension).evaluate(Obj ect[],
> ExecutionContext) line: 162
> OperationCall.evaluate(Extension, Object[], ExecutionContext) line:
> 343
> OperationCall.evaluateInternal(ExecutionContext) line: 136
> OperationCall(Expression).evaluate(ExecutionContext) line: 48
> OperationCall.evaluateInternal(ExecutionContext) line: 60
> OperationCall(Expression).evaluate(ExecutionContext) line: 48
> OperationCall.evaluateInternal(ExecutionContext) line: 60
> OperationCall(Expression).evaluate(ExecutionContext) line: 48
> ExpandStatement.evaluateInternal(XpandExecutionContext) line: 128
> ExpandStatement(Statement).evaluate(XpandExecutionContext) line: 39
> Definition(AbstractDefinition).evaluate(XpandExecutionContex t)
> line: 175
> ExpandStatement.invokeDefinition(String, Object, Object[], Type[],
> XpandExecutionContext) line: 195
> ExpandStatement.evaluateInternal(XpandExecutionContext) line: 167
> ExpandStatement(Statement).evaluate(XpandExecutionContext) line: 39
> FileStatement.evaluateInternal(XpandExecutionContext) line: 83
> FileStatement(Statement).evaluate(XpandExecutionContext) line: 39
> Definition(AbstractDefinition).evaluate(XpandExecutionContex t)
> line: 175
> ExpandStatement.invokeDefinition(String, Object, Object[], Type[],
> XpandExecutionContext) line: 195
> ExpandStatement.evaluateInternal(XpandExecutionContext) line: 145
> ExpandStatement(Statement).evaluate(XpandExecutionContext) line: 39
> Definition(AbstractDefinition).evaluate(XpandExecutionContex t)
> line: 175
> ExpandStatement.invokeDefinition(String, Object, Object[], Type[],
> XpandExecutionContext) line: 195
> ExpandStatement.evaluateInternal(XpandExecutionContext) line: 167
> ExpandStatement(Statement).evaluate(XpandExecutionContext) line: 39
> Generator.invokeInternal2(WorkflowContext, ProgressMonitor, Issues)
> line: 334
> Generator(AbstractExpressionsUsingWorkflowComponent).invokeI
> nternal(WorkflowContext, ProgressMonitor, Issues) line: 191
> Generator(AbstractWorkflowComponent).invoke(WorkflowContext,
> ProgressMonitor, Issues) line: 124
> Workflow(CompositeComponent).internalInvoke(WorkflowContext,
> ProgressMonitor, Issues) line: 101
> Workflow(CompositeComponent).invoke(WorkflowContext,
> ProgressMonitor, Issues) line: 86
> Workflow(CompositeComponent).internalInvoke(WorkflowContext,
> ProgressMonitor, Issues) line: 101
> Workflow(CompositeComponent).invoke(WorkflowContext,
> ProgressMonitor, Issues) line: 86
> Workflow(CompositeComponent).internalInvoke(WorkflowContext,
> ProgressMonitor, Issues) line: 101
> Workflow(CompositeComponent).invoke(WorkflowContext,
> ProgressMonitor, Issues) line: 86
> Workflow(CompositeComponent).internalInvoke(WorkflowContext,
> ProgressMonitor, Issues) line: 101
> Workflow(CompositeComponent).invoke(WorkflowContext,
> ProgressMonitor, Issues) line: 86
> WorkflowRunner.executeWorkflow(Map<?,?>, Issues) line: 412
> WorkflowRunner.run(String, ProgressMonitor, Map<String,String>,
> Map<String,?>) line: 292
> NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not
> available [native method]
> NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
> DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
> Method.invoke(Object, Object...) line: 597
> MojoWorkflowRunner.run(String, Map<String,String>,
> HashMap<String,Object>) line: 49
> WorkflowMojo.execute() line: 319
> DefaultPluginManager.executeMojo(MavenProject, MojoExecution,
> MavenSession) line: 483
> DefaultLifecycleExecutor.executeGoals(List, Stack, MavenSession,
> MavenProject) line: 678
> DefaultLifecycleExecutor.executeGoalWithLifecycle(String, Stack,
> MavenSession, Map, MavenProject, Lifecycle) line: 540
> DefaultLifecycleExecutor.executeGoal(String, MavenSession,
> MavenProject) line: 519
> DefaultLifecycleExecutor.executeGoalAndHandleFailures(String ,
> MavenSession, MavenProject, EventDispatcher, String, ReactorManager,
> long, String) line: 371
> DefaultLifecycleExecutor.executeTaskSegments(List, ReactorManager,
> MavenSession, MavenProject, EventDispatcher) line: 332
> DefaultLifecycleExecutor.execute(MavenSession, ReactorManager,
> EventDispatcher) line: 181
> DefaultMaven.doExecute(MavenExecutionRequest, EventDispatcher) line:
> 356
> DefaultMaven.execute(MavenExecutionRequest) line: 137
> MavenCli.main(String[], ClassWorld) line: 362
> CompatibleMain.main(String[], ClassWorld) line: 41
> NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not
> available [native method]
> NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
> DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
> Method.invoke(Object, Object...) line: 597
> Launcher.launchEnhanced(String[]) line: 315
> Launcher.launch(String[]) line: 255
> Launcher.mainWithExitCode(String[]) line: 430
> Launcher.main(String[]) line: 375
>
--
Need professional support for Xtext and EMF?
Go to: http://xtext.itemis.com
|
|
| |
Re: [xpand] Sporadic EvaluationException in xpand/xtend [message #500427 is a reply to message #500082] |
Thu, 26 November 2009 05:53 |
|
This is a multi-part message in MIME format.
--------------020001080602050606000608
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Sven Efftinge schrieb:
> Hi,
>
> is it possible for you to run the workflow in debug mode and add an
> exception breakpoint for EvaluationException?
>
> And than of course tell us about the context (i.e. what causes the
> exception).
>
> Thanks,
> Sven
hi sven,
.... its not easy to catch... sometimes I need one hour or more of
different generations and then suddenly it happens
but I'm just implementing some new redview features into my templates
and have to generate and test all projects -
so I'm sure it will happen ;-)
can do it on friday ... today I'm at eclipse democamp in frankfurt
ekke
>
--
ekke (ekkehard gentz)
independent software-architect
senior erp-consultant
eclipse | osgi | equinox | mdsd | oaw | emf | uml
max-josefs-platz 30, D-83022 rosenheim, germany
mailto:ekke@ekkes-corner.org
homepage (de): http://gentz-software.de
blog (en): http://ekkes-corner.org
twitter: @ekkescorner
skype: ekkes-corner
Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490
--------------020001080602050606000608
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Sven Efftinge schrieb:
<blockquote cite="mid:hehi6o$hp7$1@build.eclipse.org" type="cite">Hi,
<br>
<br>
is it possible for you to run the workflow in debug mode and add an
exception breakpoint for EvaluationException?
<br>
<br>
And than of course tell us about the context (i.e. what causes the
exception).
<br>
<br>
Thanks,
<br>
Sven
<br>
</blockquote>
hi sven,<br>
<br>
.... its not easy to catch... sometimes I need one hour or more of
different generations and then suddenly it happens<br>
but I'm just implementing some new redview features into my templates
and have to generate and test all projects -<br>
so I'm sure it will happen ;-)<br>
<br>
can do it on friday ... today I'm at eclipse democamp in frankfurt<br>
<br>
ekke
<blockquote cite="mid:hehi6o$hp7$1@build.eclipse.org" type="cite"><br>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<p style="margin-bottom: 0cm;"> <font ,="" color="#808080"
face="Verdana, sans-serif"> <font size="4">ekke (ekkehard gentz)<br>
</font> <font size="3"> independent software-architect<br>
senior erp-consultant<br>
</font> <font size="2">eclipse | osgi | equinox | mdsd | oaw | emf |
uml<br>
max-josefs-platz 30, D-83022 rosenheim, germany<br>
<a class="moz-txt-link-freetext" href="mailto:ekke@ekkes-corner.org">mailto:ekke@ekkes-corner.org</a><br>
homepage (de): <a class="moz-txt-link-freetext" href="http://gentz-software.de">http://gentz-software.de</a><br>
blog (en): <a class="moz-txt-link-freetext" href="http://ekkes-corner.org">http://ekkes-corner.org</a><br>
twitter: @ekkescorner<br>
skype: ekkes-corner<br>
</font> <font size="1"> Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID:
DE189929490<br>
</font> </font> </p>
</div>
</body>
</html>
--------------020001080602050606000608--
ekke
independent software architect
blog: http://ekkes-corner.org
twitter: @ekkescorner
|
|
| |
Re: [xpand] Sporadic EvaluationException in xpand/xtend [message #501184 is a reply to message #501143] |
Tue, 01 December 2009 13:04 |
|
This is a multi-part message in MIME format.
--------------080607030306000707050901
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Sven Efftinge schrieb:
> Thanks to some additional information provided by Christoph, Karsten
> was able to fix this issue. Please verify.
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=296438
>
> Sven Efftinge schrieb:
>> It still is. :-)
>>
>> Christoph Kulla schrieb:
>>> File was missing in previous post.
>>
>>
>
>
I'll also try later....
thx
btw: I wasn't able to get the error using Debug (tried 3 hrs), but ion
Run it happens .... I'll report
--
ekke (ekkehard gentz)
independent software-architect
senior erp-consultant
eclipse | osgi | equinox | mdsd | oaw | emf | uml
max-josefs-platz 30, D-83022 rosenheim, germany
mailto:ekke@ekkes-corner.org
homepage (de): http://gentz-software.de
blog (en): http://ekkes-corner.org
twitter: @ekkescorner
skype: ekkes-corner
Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490
--------------080607030306000707050901
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Sven Efftinge schrieb:
<blockquote cite="mid:hf2nmh$ouf$1@build.eclipse.org" type="cite">Thanks
to some additional information provided by Christoph, Karsten was able
to fix this issue. Please verify.
<br>
<br>
<a class="moz-txt-link-freetext" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=296438">https://bugs.eclipse.org/bugs/show_bug.cgi?id=296438</a>
<br>
<br>
Sven Efftinge schrieb:
<br>
<blockquote type="cite">It still is. :-)
<br>
<br>
Christoph Kulla schrieb:
<br>
<blockquote type="cite">File was missing in previous post.
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
I'll also try later....<br>
thx<br>
<br>
btw: I wasn't able to get the error using Debug (tried 3 hrs), but ion
Run it happens .... I'll report<br>
<br>
<div class="moz-signature">-- <br>
<p style="margin-bottom: 0cm;"> <font ,="" color="#808080"
face="Verdana, sans-serif"> <font size="4">ekke (ekkehard gentz)<br>
</font> <font size="3"> independent software-architect<br>
senior erp-consultant<br>
</font> <font size="2">eclipse | osgi | equinox | mdsd | oaw | emf |
uml<br>
max-josefs-platz 30, D-83022 rosenheim, germany<br>
<a class="moz-txt-link-freetext" href="mailto:ekke@ekkes-corner.org">mailto:ekke@ekkes-corner.org</a><br>
homepage (de): <a class="moz-txt-link-freetext" href="http://gentz-software.de">http://gentz-software.de</a><br>
blog (en): <a class="moz-txt-link-freetext" href="http://ekkes-corner.org">http://ekkes-corner.org</a><br>
twitter: @ekkescorner<br>
skype: ekkes-corner<br>
</font> <font size="1"> Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID:
DE189929490<br>
</font> </font> </p>
</div>
</body>
</html>
--------------080607030306000707050901--
ekke
independent software architect
blog: http://ekkes-corner.org
twitter: @ekkescorner
|
|
|
Re: [xpand] Sporadic EvaluationException in xpand/xtend [message #501443 is a reply to message #501143] |
Wed, 02 December 2009 11:11 |
|
This is a multi-part message in MIME format.
--------------060509010003070808090506
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Sven Efftinge schrieb:
> Thanks to some additional information provided by Christoph, Karsten
> was able to fix this issue. Please verify.
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=296438
>
> Sven Efftinge schrieb:
>> It still is. :-)
>>
>> Christoph Kulla schrieb:
>>> File was missing in previous post.
>>
>>
>
>
downloaded 0.8.0 N-Builds 2009-12-01 to test it, but couldn't do it,
because I run into the same problems as Miles Parker:
0.8.0 (M3 or latest N-Builds) runs 18x - 40x slower, so there's no
chance to start my big workflow if a small one
needs 1h:24m instead of 2m ;-)
reverted to 0.7.2
ekke
--
ekke (ekkehard gentz)
independent software-architect
senior erp-consultant
eclipse | osgi | equinox | mdsd | oaw | emf | uml
max-josefs-platz 30, D-83022 rosenheim, germany
mailto:ekke@ekkes-corner.org
homepage (de): http://gentz-software.de
blog (en): http://ekkes-corner.org
twitter: @ekkescorner
skype: ekkes-corner
Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490
--------------060509010003070808090506
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Sven Efftinge schrieb:
<blockquote cite="mid:hf2nmh$ouf$1@build.eclipse.org" type="cite">Thanks
to some additional information provided by Christoph, Karsten was able
to fix this issue. Please verify.
<br>
<br>
<a class="moz-txt-link-freetext" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=296438">https://bugs.eclipse.org/bugs/show_bug.cgi?id=296438</a>
<br>
<br>
Sven Efftinge schrieb:
<br>
<blockquote type="cite">It still is. :-)
<br>
<br>
Christoph Kulla schrieb:
<br>
<blockquote type="cite">File was missing in previous post.
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
downloaded 0.8.0 N-Builds 2009-12-01 to test it, but couldn't do it,
because I run into the same problems as Miles Parker:<br>
0.8.0 (M3 or latest N-Builds) runs 18x - 40x slower, so there's no
chance to start my big workflow if a small one<br>
needs 1h:24m instead of 2m ;-)<br>
<br>
reverted to 0.7.2<br>
<br>
ekke<br>
<div class="moz-signature">-- <br>
<p style="margin-bottom: 0cm;"> <font ,="" color="#808080"
face="Verdana, sans-serif"> <font size="4">ekke (ekkehard gentz)<br>
</font> <font size="3"> independent software-architect<br>
senior erp-consultant<br>
</font> <font size="2">eclipse | osgi | equinox | mdsd | oaw | emf |
uml<br>
max-josefs-platz 30, D-83022 rosenheim, germany<br>
<a class="moz-txt-link-freetext" href="mailto:ekke@ekkes-corner.org">mailto:ekke@ekkes-corner.org</a><br>
homepage (de): <a class="moz-txt-link-freetext" href="http://gentz-software.de">http://gentz-software.de</a><br>
blog (en): <a class="moz-txt-link-freetext" href="http://ekkes-corner.org">http://ekkes-corner.org</a><br>
twitter: @ekkescorner<br>
skype: ekkes-corner<br>
</font> <font size="1"> Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID:
DE189929490<br>
</font> </font> </p>
</div>
</body>
</html>
--------------060509010003070808090506--
ekke
independent software architect
blog: http://ekkes-corner.org
twitter: @ekkescorner
|
|
| | |
Goto Forum:
Current Time: Wed Oct 09 13:33:41 GMT 2024
Powered by FUDForum. Page generated in 0.06317 seconds
|