ATL - error getting some fields from UML model [message #870503] |
Tue, 08 May 2012 13:16 |
Fernanda R.F. Messages: 64 Registered: May 2012 |
Member |
|
|
Hi,
I'm getting the follow error when I'm trying to read a UML file into ATL code:
org.eclipse.m2m.atl.engine.emfvm.VMException: The value of type 'class org.eclipse.emf.ecore.impl.DynamicEObjectImpl' must be of type 'class java.lang.String'
I've a UML sequence diagram as Input and it will generate a new UML file, however this error is appearing when I try to get the covered, or sendEvent, or receiveEvent or represents value from UML.
One rule is it:
rule msg {
from
y: UML!Message
to
w: input!mensagem (
name <- y.name,
sender <- y.sendEvent
)
}
I can get the name from tag "message" from UML (xmi) file.
Thanks in advance
[Updated on: Thu, 10 May 2012 17:17] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03804 seconds