Skip to main content


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 10:03 Go to next message
Hilaire  is currently offline Hilaire Friend
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 12:53 Go to previous message
Hilaire  is currently offline Hilaire Friend
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: Fri Apr 19 03:41:24 GMT 2024

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

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

Back to the top