Error to get sendEvent or receiveEvent value from UML sequence [message #870502] |
Tue, 08 May 2012 09:09  |
Eclipse User |
|
|
|
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
|
|
|
Re: Error to get sendEvent or receiveEvent value from UML sequence [message #870722 is a reply to message #870502] |
Wed, 09 May 2012 08:42   |
Eclipse User |
|
|
|
Hi,
For specific help about working with ATL, you should probably ask on
that project's newsgroup.
It appears that somehow your UML model is not loading correctly, not
finding the UML package and so perhaps inferring a schema that creates
dynamic EObjects for content that should be String-valued properties?
Best to ask the ATL experts how to configure the transformation
environment to find all of the required metadata.
Cheers,
Christian
On 2012-05-08 13:09:31 +0000, Fernanda R.F. said:
> 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
|
|
|
|
Powered by
FUDForum. Page generated in 0.04207 seconds