|Validation failed unexpectedly: java.lang.ArrayStoreException [message #667771]
||Mon, 02 May 2011 07:24
Registered: July 2009
I was having an unusual issue with generating a XXX.gmfgen, or
validating an XXX.gmfmap:
Validation failed unexpectedly for 'Canvas Mapping'. See log for details.
at org.eclipse.emf.common.util.BasicEList.assign(BasicEList.jav a:124)
at org.eclipse.emf.ecore.util.EcoreEList.resolve(EcoreEList.jav a:172)
As it turned out, the problem was that I had a Feature Label Mapping set
to display a feature that wasn't, by default, enabled in the .gmfmap
editor. In particular, I had an EClass Property with an EReference
'type' of eType XSDSimpleTypeDefinition.
Changing this mapping to a normal Label Mapping (manually, as the editor
would not allow changes ["An exception was ignored during command
execution"]) resolved the validation issue.
Is this an expected feature -- that is, that references typed to
external referenced metamodels cannot be used in Feature Label Mappings?
Perhaps the problem is that the XSD.edit plugin is not being provided?
In either case, hope this helps someone else.
Powered by FUDForum
. Page generated in 0.01887 seconds