Hi, I just started porting to 2.1 RC1 (from 2.0) and am having alot of
issues.
**********
Issue 1
**********
First I migrated my gmfmap, gmfgraph, and gmfgen to 2.1 using the menu.
Then trying to generate my gmfgen, I get the following errors on my
gmfmap:
see NPE.txt for full stacktrace
Validation failed unexpectedly for 'Feature Seq Initializer'. See log
for details.
java.lang.ClassCastException: org.eclipse.gmf.gmfgraph.impl.NodeImpl
at
org.eclipse.gmf.mappings.impl.LabelMappingImpl.getDiagramLabel(LabelMappingImpl.java:93)
at
org.eclipse.gmf.mappings.impl.LabelMappingImpl.eGet(LabelMappingImpl.java:207)
at
org.eclipse.gmf.mappings.impl.FeatureLabelMappingImpl.eGet(FeatureLabelMappingImpl.java:312)
at ...
appears to be one for every sequence initializer i have...
**********
ISSUE 2
**********
The next issue is that Feature Value Spec in gmfmap now has a Value
Expression, It seems the generated methods look like
"id_EventProcess_2020" instead of the body that was defined.
**********
ISSUE 3
**********
When I try to edit my gmfmap, such as a Feature Label Mapping or add a
Feature Value Spec..., I get the following exceptions:
see CCE.txt for full stacktrace
Unhandled event loop exception
java.lang.ClassCastException: org.eclipse.gmf.gmfgraph.impl.NodeImpl
at
org.eclipse.gmf.mappings.impl.LabelMappingImpl.getDiagramLabel(LabelMappingImpl.java:93)
at
org.eclipse.gmf.mappings.impl.LabelMappingImpl.eGet(LabelMappingImpl.java:207)
at
org.eclipse.gmf.mappings.impl.FeatureLabelMappingImpl.eGet(FeatureLabelMappingImpl.java:312)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1012)
...
Any idea if I have a bad build, or obvious things I am missing, this
works in 2.0, but not when I migrate....
If they are issues, Ill create bugs asap...
Thanks
Brian Jakubik