Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] Profile, Stereotype and getValue(problem with the getValue method)
[Acceleo] Profile, Stereotype and getValue [message #756903] Tue, 15 November 2011 13:39
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
Previous Topic:Acceleo : Skip code generation
Next Topic:Java Model Exception when executing Xtend functions
Goto Forum:
  


Current Time: Wed Sep 17 21:49:33 GMT 2014

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

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