Problem to use old models with GMF 2.2 [message #226890] |
Tue, 21 April 2009 15:48 |
|
Hi,
With gmf (version for Ganymede), I have done gmfmap, gmfgen files. Now, I
have downloaded Galileo M6 modeling and I have following mistakes.
- when I open may gmfgen file, I see anything in type model Facet: meta
class fied is blank. (but in the xml file there is a reference). When I
tried to edit it, I obtained an exception:
java.lang.ClassCastException: The value of type 'class
org.eclipse.uml2.codegen.ecore.genmodel.impl.GenModelImpl' must be of type
'org.eclipse.emf.ecore.impl.EClassImpl@d4c535 (name: GenModel)
(instanceClassName: null) (abstract: false, interface: false)'
- I try to validate this file, I have the same kind of mistake.
- I used also an extension model of the genModel, and now when I run with
the M6 version. I obtain the following mistake.
org.eclipse.emf.ecore.xmi.ClassNotFoundException: Class
'PapyrusExtensionRootNode' not found.
(platform:/resource/org.eclipse.papyrus.diagram.clazz/model/ classdiagram.gmfgen,
3841, 53)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.validateCreateObje ctFromFactory(XMLHandler.java:2229)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.validateCreateObje ctFromFactory(XMLHandler.java:2220)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType (XMLHandler.java:1318)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XM LHandler.java:1454)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XML Handler.java:1019)
at
org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMI Handler.java:87)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa ndler.java:1001)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa ndler.java:712)
at
org.eclipse.emf.ecore.xmi.impl.XMIHandler.startElement(XMIHa ndler.java:167)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .startElement(Unknown
Source)
Thanks for your help,
Patrick
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04237 seconds