Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Model-to-Model Transformation » VMException error when try to read part of a UML file(VMException error is being shown when is tried to get some values from a UML sequence file)
VMException error when try to read part of a UML file [message #870360] Mon, 07 May 2012 18:59
Fernanda R.F. is currently offline 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: Mon, 07 May 2012 19:00]

Report message to a moderator

Previous Topic:[QVT tutorial] How can I debug (step into) script ?
Next Topic:Merging multiple Instance Models
Goto Forum:
  


Current Time: Sun Oct 26 09:35:10 GMT 2014

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

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