Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » Typecast problem
Typecast problem [message #558595] Mon, 13 September 2010 11:46
Eclipse UserFriend
Hello!

I get this message:

org.eclipse.m2m.atl.engine.emfvm.VMException: java.lang.String cannot be cast to org.eclipse.emf.ecore.InternalEObject

after I try to run this code:


rule Artifact2Element {
	from 
	s: ISyFMU!Artifact
	to
	t: XML!Element 
	(
	name<-'artifact',
	children<-Sequence{s.identifier}
	
	)
}


It is the s.identifier, which is string, so he is the reason of the message.

Does anybody know, how to avoid this err. message?

Thanks!

Alexey

[Updated on: Mon, 13 September 2010 11:59] by Moderator

Previous Topic:QVTd and EGL
Next Topic:Transformation between UML profiles
Goto Forum:
  


Current Time: Sun Jul 06 21:42:09 EDT 2025

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

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

Back to the top