Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo]
[Acceleo] [message #756555] Mon, 14 November 2011 05:03 Go to next message
Hilaire  is currently offline Hilaire
Messages: 20
Registered: July 2009
Junior Member
Hello,


I have created an UML profile with several stereotypes and when I try to access the content of properties defined within stereotyped classes I obtain the following errors :

Caused by: java.lang.IllegalArgumentException: null
at org.eclipse.uml2.uml.internal.operations.ElementOperations.getValue(ElementOperations.java:525)
at org.eclipse.uml2.uml.internal.impl.ElementImpl.getValue(ElementImpl.java:296)
... 43 more


The getValue operation returns the following

org.eclipse.emf.ecore.impl.DynamicEObjectImpl@4296e599 (eClass: org.eclipse.emf.ecore.impl.EClassImpl@40bbc1f6 (name: OclInvalid_Class) (instanceClassName: null) (abstract: false, interface: false))



Has anyone an answer for this problem ?


Thanks


Vincent
Re: [Acceleo] Profile, Stereotype and getValue [message #756590 is a reply to message #756555] Mon, 14 November 2011 07:53 Go to previous message
Hilaire  is currently offline Hilaire
Messages: 20
Registered: July 2009
Junior Member
sorry I forgot the title...



Vincent
Previous Topic:how to get object instead of the auto-generated code from the value of XMIReferenceAttribute in uml
Next Topic:[Xpand] Encoding problem when linking or copying xpt tempates
Goto Forum:
  


Current Time: Mon Jul 28 02:30:28 EDT 2014

Powered by FUDForum. Page generated in 0.01409 seconds