Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » oAW error :'Couldn't find operation....'
oAW error :'Couldn't find operation....' [message #578166] Tue, 20 March 2007 09:30
Eclipse UserFriend
Originally posted by: elena.tibrea.gmail.com

Hi,


I get a runtime error :'Couldn't find operation....'

0 INFO -
------------------------------------------------------------ --------------------------
50 INFO - openArchitectureWare 4.1.1, Build v20061128
50 INFO - (c) 2005, 2006 openarchitectureware.org and contributors
50 INFO -
------------------------------------------------------------ --------------------------
50 INFO - running workflow:
D:/_eclipse3.2/workspace1/oaw4.demo.emf.datamodel.xtend/src/ workflow1.oaw
50 INFO -
821 INFO - xmiParser: file 'default.sm' => slot 'rootElement'
1091 INFO - XtendComponent: executing 'test::Trafo1'
1352 ERROR - Couldn't find operation 'setSmName(String)' for
sm2::StateMachineType. in test/Trafo1.ext on line 9 'setSmName(old.smName)'
org.openarchitectureware.expression.EvaluationException: Couldn't find
operation 'setSmName(String)' for sm2::StateMachineType. in
test/Trafo1.ext on line 9 'setSmName(old.smName)'
at
org.openarchitectureware.expression.ast.OperationCall.evalua teInternal(OperationCall.java:136)
at
org.openarchitectureware.expression.ast.Expression.evaluate( Expression.java:42)
at
org.openarchitectureware.xtend.ast.CreateExtensionStatement. evaluate(CreateExtensionStatement.java:77)
at
org.openarchitectureware.expression.ast.OperationCall.evalua teInternal(OperationCall.java:94)
at
org.openarchitectureware.expression.ast.Expression.evaluate( Expression.java:42)
at
org.openarchitectureware.expression.ast.OperationCall.evalua teInternal(OperationCall.java:62)
at
org.openarchitectureware.expression.ast.Expression.evaluate( Expression.java:42)
at
org.openarchitectureware.xtend.ast.CreateExtensionStatement. evaluate(CreateExtensionStatement.java:77)
at
org.openarchitectureware.expression.ast.OperationCall.evalua teInternal(OperationCall.java:71)
at
org.openarchitectureware.expression.ast.Expression.evaluate( Expression.java:42)
at
org.openarchitectureware.expression.ExpressionFacade.evaluat e(ExpressionFacade.java:62)
at
org.openarchitectureware.expression.ExpressionFacade.evaluat e(ExpressionFacade.java:51)
at
org.openarchitectureware.xtend.XtendComponent.invokeInternal (XtendComponent.java:89)
at
org.openarchitectureware.workflow.lib.AbstractWorkflowCompon ent2.invoke(AbstractWorkflowComponent2.java:38)
at
org.openarchitectureware.workflow.container.CompositeCompone nt.internalInvoke(CompositeComponent.java:81)
at
org.openarchitectureware.workflow.container.CompositeCompone nt.invoke(CompositeComponent.java:69)
at
org.openarchitectureware.workflow.WorkflowRunner.executeWork flow(WorkflowRunner.java:236)
at
org.openarchitectureware.workflow.WorkflowRunner.run(Workflo wRunner.java:177)
at
org.openarchitectureware.workflow.WorkflowRunner.main(Workfl owRunner.java:126)


when using this transformation:

import sm2;

extension test::io;

create DocumentRoot this duplicate(DocumentRoot s):
setStatemachine( s.statemachine.duplicate() );

create StateMachineType this duplicate(StateMachineType old):
setSmName( old.smName );

for a EMF model created from the following XML Schema:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xs:schema xmlns:tns="http://www.tu-harburg.de/~soet1085/SM"
xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
targetNamespace="http://www.tu-harburg.de/~soet1085/SM">
<xs:element name="statemachine" type="tns:StateMachineType"/>
<xs:complexType name="StateMachineType">
<xs:attribute name="smName" type="xs:string"/>
</xs:complexType>
</xs:schema>


Can you please help?
I cannot figure out why:(

Thanks
elena
Previous Topic:oAW: Not able to access the screencasts on the oAW site
Next Topic:oAW: Not able to access the screencasts on the oAW site
Goto Forum:
  


Current Time: Fri Mar 29 10:49:51 GMT 2024

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

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

Back to the top