| epsilon 0.8.5 generation problem [message #16868] | 
Thu, 30 April 2009 07:57   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
after i updated to version 0.8.5 I keep getting the exception below every  
time I use eugenia gmf generator. ecore file was not changed from 0.8.4  
and did work perfect with old version. any idea how to make it work? I  
lost my 0.8.4 installation, is there any way to download 0.8.4 version  
from somewhere? 
 
thanks, 
Dmitriy 
 
EXCEPTION: 
Internal error: java.lang.ArrayStoreException 
at  org.eclipse.emf.common.util.BasicEList.assign[BasicEList.jav a:191] 
at  org.eclipse.emf.common.util.BasicEList.addUnique[BasicEList. java:645] 
at  
 org.eclipse.emf.common.notify.impl.NotifyingListImpl.doAddUn ique[NotifyingListImpl.java:331] 
at  
 org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUniq ue[NotifyingListImpl.java:288] 
at  org.eclipse.emf.common.util.BasicEList.add[BasicEList.java:6 26] 
at org.eclipse.epsilon.eol.types.EolSet.addAll[EolSet.java:47] 
at sun.reflect.NativeMethodAccessorImpl.invoke0[Native Method] 
at sun.reflect.NativeMethodAccessorImpl.invoke[Unknown Source] 
at sun.reflect.DelegatingMethodAccessorImpl.invoke[Unknown Source] 
at java.lang.reflect.Method.invoke[Unknown Source] 
at  
 org.eclipse.epsilon.eol.util.ReflectionUtil.executeMethod[Re flectionUtil.java:123] 
at  
 org.eclipse.epsilon.eol.util.ReflectionUtil.executeMethod[Re flectionUtil.java:99] 
at  
 org.eclipse.epsilon.eol.execute.PointExecutor.executeOperati on[PointExecutor.java:179] 
at  
 org.eclipse.epsilon.eol.execute.PointExecutor.execute[PointE xecutor.java:66] 
at  
 org.eclipse.epsilon.eol.execute.PointExecutor.execute[PointE xecutor.java:36] 
at  
 org.eclipse.epsilon.eol.execute.PointExecutor.execute[PointE xecutor.java:122] 
at  
 org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST[E xecutorFactory.java:184] 
at  
 org.eclipse.epsilon.eol.execute.StatementBlockExecutor.execu te[StatementBlockExecutor.java:33] 
at  
 org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST[E xecutorFactory.java:184] 
at  
 org.eclipse.epsilon.eol.execute.ForStatementExecutor.execute [ForStatementExecutor.java:115] 
at  
 org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST[E xecutorFactory.java:184] 
at  
 org.eclipse.epsilon.eol.execute.StatementBlockExecutor.execu te[StatementBlockExecutor.java:33] 
at  
 org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST[E xecutorFactory.java:184] 
at  org.eclipse.epsilon.eol.EolModule.execute[EolModule.java:57] 
at  
 org.eclipse.epsilon.eugenia.EolTransformationActionDelegate. runImpl[EolTransformationActionDelegate.java:102] 
at  
 org.eclipse.epsilon.eugenia.EolTransformationActionDelegate$ 1.run[EolTransformationActionDelegate.java:56] 
at org.eclipse.core.internal.jobs.Worker.run[Worker.java:55] 
(155:33) 
at  org.eclipse.emf.common.util.BasicEList.assign(BasicEList.jav a:191) 
at  org.eclipse.emf.common.util.BasicEList.addUnique(BasicEList. java:645) 
at  
 org.eclipse.emf.common.notify.impl.NotifyingListImpl.doAddUn ique(NotifyingListImpl.java:331) 
at  
 org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUniq ue(NotifyingListImpl.java:288) 
at  org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:6 26) 
at org.eclipse.epsilon.eol.types.EolSet.addAll(EolSet.java:47) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 
at  
 org.eclipse.epsilon.eol.util.ReflectionUtil.executeMethod(Re flectionUtil.java:123) 
at  
 org.eclipse.epsilon.eol.util.ReflectionUtil.executeMethod(Re flectionUtil.java:99) 
at  
 org.eclipse.epsilon.eol.execute.PointExecutor.executeOperati on(PointExecutor.java:179) 
at  
 org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE xecutor.java:66) 
at  
 org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE xecutor.java:36) 
at  
 org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE xecutor.java:122) 
at  
 org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E xecutorFactory.java:184) 
at  
 org.eclipse.epsilon.eol.execute.StatementBlockExecutor.execu te(StatementBlockExecutor.java:33) 
at  
 org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E xecutorFactory.java:184) 
at  
 org.eclipse.epsilon.eol.execute.ForStatementExecutor.execute (ForStatementExecutor.java:115) 
at  
 org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E xecutorFactory.java:184) 
at  
 org.eclipse.epsilon.eol.execute.StatementBlockExecutor.execu te(StatementBlockExecutor.java:33) 
at  
 org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E xecutorFactory.java:184) 
at  org.eclipse.epsilon.eol.EolModule.execute(EolModule.java:57) 
at  
 org.eclipse.epsilon.eugenia.EolTransformationActionDelegate. runImpl(EolTransformationActionDelegate.java:102) 
at  
 org.eclipse.epsilon.eugenia.EolTransformationActionDelegate$ 1.run(EolTransformationActionDelegate.java:56) 
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
 |  
 |  
  | 
 | 
 | 
 | 
| Re: epsilon 0.8.5 generation problem [message #17303 is a reply to message #17139] | 
Thu, 30 April 2009 15:05    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi Dmitriy, 
 
Trying to generate the gmftool/graph/map, models from the model you sent  
me does indeed raise an error but it doesn't appear to match with the  
one in your previous message. The error I'm getting is: 
 
Called feature eOpposite on undefined object (323:53) 
 
and the reason is this class: 
 
@gmf.link(label="cardinality.name") 
class CompositionRuleWithCardinality extends CompositionRule { 
   ref Cardinality cardinality; 
} 
 
more specifically @gmf.link misses the source and target details which  
are required. When I take out this annotation everything works as  
expected. Perhaps another example could illustrate the problem a bit better. 
 
Cheers, 
Dimitris 
 
Dimitris Kolovos wrote: 
> Many thanks Dmitriy. I'll investigate and get back to you. 
>  
> Cheers, 
> Dimitris 
>  
> Dmitriy N. wrote: 
>> thanks Dimitris, 
>> 
>> here is an example of my ecore file: 
>> 
>> <BEGIN> 
>> <?xml version="1.0" encoding="UTF-8"?> 
>> <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"  
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"  
>> xmi:id="_B0BEoCV0Ed68UMxPtM2EBA" name="test" nsURI="test"  
>> nsPrefix="test"> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0BEoSV0Ed68UMxPtM2EBA" name="IAAModel"> 
>>    <eAnnotations xmi:id="_B0BEoiV0Ed68UMxPtM2EBA" source="gmf.diagram"> 
>>      <details xmi:id="_B0BEoyV0Ed68UMxPtM2EBA" key="foo" value="bar"/> 
>>    </eAnnotations> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BEpCV0Ed68UMxPtM2EBA" name="marketablePproduct"  
>> upperBound="-1" eType="_B0BE0iV0Ed68UMxPtM2EBA" containment="true"/> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BEpSV0Ed68UMxPtM2EBA" name="productComponent"  
>> upperBound="-1" eType="_B0BE2iV0Ed68UMxPtM2EBA" containment="true"/> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BErSV0Ed68UMxPtM2EBA"  
>> name="marketableProductProductComponentCompositionRule"  
>> upperBound="-1" eType="_B0BFGiV0Ed68UMxPtM2EBA" containment="true"/> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BEtSV0Ed68UMxPtM2EBA"  
>> name="productComponentProductComponentCompositionRule" upperBound="-1"  
>> eType="_B0BFYiV0Ed68UMxPtM2EBA" containment="true"/> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BEyCV0Ed68UMxPtM2EBA" name="marketableProductKinds"  
>> eType="_B0KO9SV0Ed68UMxPtM2EBA" containment="true"/> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BEySV0Ed68UMxPtM2EBA" name="productComponentKinds"  
>> eType="_B0KO9yV0Ed68UMxPtM2EBA" containment="true"/> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BE0SV0Ed68UMxPtM2EBA" name="cardinalities"  
>> eType="_B0KPByV0Ed68UMxPtM2EBA" containment="true"/> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0BE0iV0Ed68UMxPtM2EBA" name="MarketableProduct"  
>> eSuperTypes="_B0KPHCV0Ed68UMxPtM2EBA"> 
>>    <eAnnotations xmi:id="_B0BE0yV0Ed68UMxPtM2EBA" source="gmf.node"> 
>>      <details xmi:id="_B0BE1CV0Ed68UMxPtM2EBA" key="figure"  
>> value="iaa.figures.MarketableProductShape"/> 
>>      <details xmi:id="_B0BE1SV0Ed68UMxPtM2EBA" key="label.icon"  
>> value="false"/> 
>>      <details xmi:id="_B0BE1iV0Ed68UMxPtM2EBA" key="label"  
>> value="kindName"/> 
>>      <details xmi:id="_B0BE1yV0Ed68UMxPtM2EBA" key="label.format"  
>> value="underline"/> 
>>      <details xmi:id="_B0BE2CV0Ed68UMxPtM2EBA" key="color"  
>> value="142,229,238"/> 
>>    </eAnnotations> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BE2SV0Ed68UMxPtM2EBA" name="kind"  
>> eType="_B0KPCSV0Ed68UMxPtM2EBA"/> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0BE2iV0Ed68UMxPtM2EBA" name="ProductComponent"  
>> eSuperTypes="_B0KPHCV0Ed68UMxPtM2EBA"> 
>>    <eAnnotations xmi:id="_B0BE2yV0Ed68UMxPtM2EBA" source="gmf.node"> 
>>      <details xmi:id="_B0BE3CV0Ed68UMxPtM2EBA" key="figure"  
>> value="iaa.figures.ProductComponentShape"/> 
>>      <details xmi:id="_B0BE3SV0Ed68UMxPtM2EBA" key="label.icon"  
>> value="false"/> 
>>      <details xmi:id="_B0BE3iV0Ed68UMxPtM2EBA" key="label"  
>> value="kindName"/> 
>>      <details xmi:id="_B0BE3yV0Ed68UMxPtM2EBA" key="label.format"  
>> value="underline"/> 
>>      <details xmi:id="_B0BE4CV0Ed68UMxPtM2EBA" key="color"  
>> value="250,128,114"/> 
>>    </eAnnotations> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BE4SV0Ed68UMxPtM2EBA" name="kind"  
>> eType="_B0KPCiV0Ed68UMxPtM2EBA"/> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0BFGiV0Ed68UMxPtM2EBA"  
>> name="MarketableProductProductComponentCompositionRule"  
>> eSuperTypes="_B0KO8SV0Ed68UMxPtM2EBA"> 
>>    <eAnnotations xmi:id="_B0BFGyV0Ed68UMxPtM2EBA" source="gmf.link"> 
>>      <details xmi:id="_B0BFHCV0Ed68UMxPtM2EBA" key="source"  
>> value="source"/> 
>>      <details xmi:id="_B0BFHSV0Ed68UMxPtM2EBA" key="target"  
>> value="target"/> 
>>    </eAnnotations> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BFHiV0Ed68UMxPtM2EBA" name="source"  
>> eType="_B0BE0iV0Ed68UMxPtM2EBA"/> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BFICV0Ed68UMxPtM2EBA" name="target"  
>> eType="_B0BE2iV0Ed68UMxPtM2EBA"/> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0BFYiV0Ed68UMxPtM2EBA"  
>> name="ProductComponentProductComponentCompositionRule"  
>> eSuperTypes="_B0KO8SV0Ed68UMxPtM2EBA"> 
>>    <eAnnotations xmi:id="_B0BFYyV0Ed68UMxPtM2EBA" source="gmf.link"> 
>>      <details xmi:id="_B0BFZCV0Ed68UMxPtM2EBA" key="source"  
>> value="source"/> 
>>      <details xmi:id="_B0BFZSV0Ed68UMxPtM2EBA" key="target"  
>> value="target"/> 
>>    </eAnnotations> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BFZiV0Ed68UMxPtM2EBA" name="source"  
>> eType="_B0BE2iV0Ed68UMxPtM2EBA"/> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BFaCV0Ed68UMxPtM2EBA" name="target"  
>> eType="_B0BE2iV0Ed68UMxPtM2EBA"/> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0KO8CV0Ed68UMxPtM2EBA"  
>> name="CompositionRuleWithoutCardinality"  
>> eSuperTypes="_54tJ5DWYEd6_lp5Wz1QxFw"/> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0KO8SV0Ed68UMxPtM2EBA" name="CompositionRuleWithCardinality"  
>> eSuperTypes="_54tJ5DWYEd6_lp5Wz1QxFw"> 
>>    <eAnnotations xmi:id="_B0KO8iV0Ed68UMxPtM2EBA" source="gmf.link"> 
>>      <details xmi:id="_B0KO8yV0Ed68UMxPtM2EBA" key="label"  
>> value="cardinality.name"/> 
>>    </eAnnotations> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0KO9CV0Ed68UMxPtM2EBA" name="cardinality"  
>> eType="_B0KPFSV0Ed68UMxPtM2EBA"/> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_54tJ5DWYEd6_lp5Wz1QxFw" name="CompositionRule"/> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0KO9SV0Ed68UMxPtM2EBA" name="MarketableProductKinds"> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0KO9iV0Ed68UMxPtM2EBA" name="marketableProductKind"  
>> upperBound="-1" eType="_B0KPCSV0Ed68UMxPtM2EBA" containment="true"/> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0KO9yV0Ed68UMxPtM2EBA" name="ProductComponentKinds"> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0KO-CV0Ed68UMxPtM2EBA" name="productComponentKind"  
>> upperBound="-1" eType="_B0KPCiV0Ed68UMxPtM2EBA" containment="true"/> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0KPByV0Ed68UMxPtM2EBA" name="Cardinalities"> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0KPCCV0Ed68UMxPtM2EBA" name="cardinality" upperBound="-1"  
>> eType="_B0KPFSV0Ed68UMxPtM2EBA" containment="true"/> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0KPCSV0Ed68UMxPtM2EBA" name="MarketableProductKind"  
>> eSuperTypes="_B0KPEiV0Ed68UMxPtM2EBA"> 
>>    <eAnnotations xmi:id="_54tJ5TWYEd6_lp5Wz1QxFw" source="pdfs.mapping"> 
>>      <details xmi:id="_54tJ5jWYEd6_lp5Wz1QxFw" key="datatypeName"  
>> value="MarketableProductKind"/> 
>>      <details xmi:id="_54tJ5zWYEd6_lp5Wz1QxFw" key="keytypeName"  
>> value="MarketableProductKind"/> 
>>    </eAnnotations> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0KPCiV0Ed68UMxPtM2EBA" name="ProductComponentKind"  
>> eSuperTypes="_B0KPEiV0Ed68UMxPtM2EBA"> 
>>    <eAnnotations xmi:id="_54tJ6DWYEd6_lp5Wz1QxFw" source="pdfs.mapping"> 
>>      <details xmi:id="_54tJ6TWYEd6_lp5Wz1QxFw" key="datatypeName"  
>> value="ProductComponentKind"/> 
>>    </eAnnotations> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0KPEiV0Ed68UMxPtM2EBA" name="Kind"  
>> eSuperTypes="_B0KPHCV0Ed68UMxPtM2EBA"> 
>>    <eAnnotations xmi:id="_54tJ6jWYEd6_lp5Wz1QxFw" source="pdfs.mapping"> 
>>      <details xmi:id="_54tJ6zWYEd6_lp5Wz1QxFw" key="keytype"  
>> value="KeyType"/> 
>>      <details xmi:id="_54tJ7DWYEd6_lp5Wz1QxFw" key="keyvalue"  
>> value="KeyValue"/> 
>>      <details xmi:id="_54tJ7TWYEd6_lp5Wz1QxFw" key="assoName"  
>> value="KeyType - KeyValue"/> 
>>    </eAnnotations> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0KPFSV0Ed68UMxPtM2EBA" name="Cardinality"> 
>>    <eStructuralFeatures xsi:type="ecore:EAttribute"  
>> xmi:id="_B0KPFiV0Ed68UMxPtM2EBA" name="name"> 
>>      <eType xsi:type="ecore:EDataType"  
>> href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> 
>>    </eStructuralFeatures> 
>>    <eStructuralFeatures xsi:type="ecore:EAttribute"  
>> xmi:id="_B0KPGCV0Ed68UMxPtM2EBA" name="minimum" defaultValueLiteral="0"> 
>>      <eType xsi:type="ecore:EDataType"  
>> href="http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject"/> 
>>    </eStructuralFeatures> 
>>    <eStructuralFeatures xsi:type="ecore:EAttribute"  
>> xmi:id="_B0KPGiV0Ed68UMxPtM2EBA" name="maximum" defaultValueLiteral="1"> 
>>      <eType xsi:type="ecore:EDataType"  
>> href="http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject"/> 
>>    </eStructuralFeatures> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0KPHCV0Ed68UMxPtM2EBA" name="ProductEntity"> 
>>    <eStructuralFeatures xsi:type="ecore:EAttribute"  
>> xmi:id="_B0KPHSV0Ed68UMxPtM2EBA" name="kindName" volatile="true"> 
>>      <eType xsi:type="ecore:EDataType"  
>> href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> 
>>    </eStructuralFeatures> 
>>    <eStructuralFeatures xsi:type="ecore:EAttribute"  
>> xmi:id="_B0KPHyV0Ed68UMxPtM2EBA" name="name"> 
>>      <eAnnotations xmi:id="_B0KPISV0Ed68UMxPtM2EBA" source="gmf.label"> 
>>        <details xmi:id="_B0KPIiV0Ed68UMxPtM2EBA" key="foo" value="bar"/> 
>>      </eAnnotations> 
>>      <eType xsi:type="ecore:EDataType"  
>> href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> 
>>    </eStructuralFeatures> 
>>  </eClassifiers> 
>> </ecore:EPackage> 
>> <END> 
>>
 |  
 |  
  | 
| Re: epsilon 0.8.5 generation problem [message #17329 is a reply to message #17303] | 
Thu, 30 April 2009 16:11   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Dimitris, 
 
this is exactly the error i got, but i sent you the whole exception stack. 
it looks like in 0.8.4 these annotation details was not required. 
I will modify my ecore file to make it work, 
 
thanks for your help, 
Dmitriy
 |  
 |  
  | 
| Re: epsilon 0.8.5 generation problem [message #567396 is a reply to message #16868] | 
Thu, 30 April 2009 08:04   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi Dmitriy, 
 
This may be a regression. In which step does this happen? Could you  
please send me the ecore so that I can investigate? 
 
In the meantime you can downgrade to 0.8.4 from this update site:  
 http://download.eclipse.org/modeling/gmt/epsilon/updates.0.8 .4/ 
 
Cheers, 
Dimitris 
 
Dmitriy N. wrote: 
> after i updated to version 0.8.5 I keep getting the exception below  
> every time I use eugenia gmf generator. ecore file was not changed from  
> 0.8.4 and did work perfect with old version. any idea how to make it  
> work? I lost my 0.8.4 installation, is there any way to download 0.8.4  
> version from somewhere? 
>  
> thanks, 
> Dmitriy 
>  
> EXCEPTION: 
> Internal error: java.lang.ArrayStoreException 
> at  org.eclipse.emf.common.util.BasicEList.assign[BasicEList.jav a:191] 
> at  org.eclipse.emf.common.util.BasicEList.addUnique[BasicEList. java:645] 
> at  
>  org.eclipse.emf.common.notify.impl.NotifyingListImpl.doAddUn ique[NotifyingListImpl.java:331]  
>  
> at  
>  org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUniq ue[NotifyingListImpl.java:288]  
>  
> at  org.eclipse.emf.common.util.BasicEList.add[BasicEList.java:6 26] 
> at org.eclipse.epsilon.eol.types.EolSet.addAll[EolSet.java:47] 
> at sun.reflect.NativeMethodAccessorImpl.invoke0[Native Method] 
> at sun.reflect.NativeMethodAccessorImpl.invoke[Unknown Source] 
> at sun.reflect.DelegatingMethodAccessorImpl.invoke[Unknown Source] 
> at java.lang.reflect.Method.invoke[Unknown Source] 
> at  
>  org.eclipse.epsilon.eol.util.ReflectionUtil.executeMethod[Re flectionUtil.java:123]  
>  
> at  
>  org.eclipse.epsilon.eol.util.ReflectionUtil.executeMethod[Re flectionUtil.java:99]  
>  
> at  
>  org.eclipse.epsilon.eol.execute.PointExecutor.executeOperati on[PointExecutor.java:179]  
>  
> at  
>  org.eclipse.epsilon.eol.execute.PointExecutor.execute[PointE xecutor.java:66]  
>  
> at  
>  org.eclipse.epsilon.eol.execute.PointExecutor.execute[PointE xecutor.java:36]  
>  
> at  
>  org.eclipse.epsilon.eol.execute.PointExecutor.execute[PointE xecutor.java:122]  
>  
> at  
>  org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST[E xecutorFactory.java:184]  
>  
> at  
>  org.eclipse.epsilon.eol.execute.StatementBlockExecutor.execu te[StatementBlockExecutor.java:33]  
>  
> at  
>  org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST[E xecutorFactory.java:184]  
>  
> at  
>  org.eclipse.epsilon.eol.execute.ForStatementExecutor.execute [ForStatementExecutor.java:115]  
>  
> at  
>  org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST[E xecutorFactory.java:184]  
>  
> at  
>  org.eclipse.epsilon.eol.execute.StatementBlockExecutor.execu te[StatementBlockExecutor.java:33]  
>  
> at  
>  org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST[E xecutorFactory.java:184]  
>  
> at  org.eclipse.epsilon.eol.EolModule.execute[EolModule.java:57] 
> at  
>  org.eclipse.epsilon.eugenia.EolTransformationActionDelegate. runImpl[EolTransformationActionDelegate.java:102]  
>  
> at  
>  org.eclipse.epsilon.eugenia.EolTransformationActionDelegate$ 1.run[EolTransformationActionDelegate.java:56]  
>  
> at org.eclipse.core.internal.jobs.Worker.run[Worker.java:55] 
> (155:33) 
> at  org.eclipse.emf.common.util.BasicEList.assign(BasicEList.jav a:191) 
> at  org.eclipse.emf.common.util.BasicEList.addUnique(BasicEList. java:645) 
> at  
>  org.eclipse.emf.common.notify.impl.NotifyingListImpl.doAddUn ique(NotifyingListImpl.java:331)  
>  
> at  
>  org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUniq ue(NotifyingListImpl.java:288)  
>  
> at  org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:6 26) 
> at org.eclipse.epsilon.eol.types.EolSet.addAll(EolSet.java:47) 
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
> at java.lang.reflect.Method.invoke(Unknown Source) 
> at  
>  org.eclipse.epsilon.eol.util.ReflectionUtil.executeMethod(Re flectionUtil.java:123)  
>  
> at  
>  org.eclipse.epsilon.eol.util.ReflectionUtil.executeMethod(Re flectionUtil.java:99)  
>  
> at  
>  org.eclipse.epsilon.eol.execute.PointExecutor.executeOperati on(PointExecutor.java:179)  
>  
> at  
>  org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE xecutor.java:66)  
>  
> at  
>  org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE xecutor.java:36)  
>  
> at  
>  org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE xecutor.java:122)  
>  
> at  
>  org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E xecutorFactory.java:184)  
>  
> at  
>  org.eclipse.epsilon.eol.execute.StatementBlockExecutor.execu te(StatementBlockExecutor.java:33)  
>  
> at  
>  org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E xecutorFactory.java:184)  
>  
> at  
>  org.eclipse.epsilon.eol.execute.ForStatementExecutor.execute (ForStatementExecutor.java:115)  
>  
> at  
>  org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E xecutorFactory.java:184)  
>  
> at  
>  org.eclipse.epsilon.eol.execute.StatementBlockExecutor.execu te(StatementBlockExecutor.java:33)  
>  
> at  
>  org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E xecutorFactory.java:184)  
>  
> at  org.eclipse.epsilon.eol.EolModule.execute(EolModule.java:57) 
> at  
>  org.eclipse.epsilon.eugenia.EolTransformationActionDelegate. runImpl(EolTransformationActionDelegate.java:102)  
>  
> at  
>  org.eclipse.epsilon.eugenia.EolTransformationActionDelegate$ 1.run(EolTransformationActionDelegate.java:56)  
>  
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) 
>  
>
 |  
 |  
  | 
| Re: epsilon 0.8.5 generation problem [message #567524 is a reply to message #16935] | 
Thu, 30 April 2009 11:47   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
thanks Dimitris, 
 
here is an example of my ecore file: 
 
<BEGIN> 
<?xml version="1.0" encoding="UTF-8"?> 
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"  
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"  
xmi:id="_B0BEoCV0Ed68UMxPtM2EBA" name="test" nsURI="test" nsPrefix="test"> 
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0BEoSV0Ed68UMxPtM2EBA"  
name="IAAModel"> 
    <eAnnotations xmi:id="_B0BEoiV0Ed68UMxPtM2EBA" source="gmf.diagram"> 
      <details xmi:id="_B0BEoyV0Ed68UMxPtM2EBA" key="foo" value="bar"/> 
    </eAnnotations> 
    <eStructuralFeatures xsi:type="ecore:EReference"  
xmi:id="_B0BEpCV0Ed68UMxPtM2EBA" name="marketablePproduct" upperBound="-1"  
eType="_B0BE0iV0Ed68UMxPtM2EBA" containment="true"/> 
    <eStructuralFeatures xsi:type="ecore:EReference"  
xmi:id="_B0BEpSV0Ed68UMxPtM2EBA" name="productComponent" upperBound="-1"  
eType="_B0BE2iV0Ed68UMxPtM2EBA" containment="true"/> 
    <eStructuralFeatures xsi:type="ecore:EReference"  
xmi:id="_B0BErSV0Ed68UMxPtM2EBA"  
name="marketableProductProductComponentCompositionRule" upperBound="-1"  
eType="_B0BFGiV0Ed68UMxPtM2EBA" containment="true"/> 
    <eStructuralFeatures xsi:type="ecore:EReference"  
xmi:id="_B0BEtSV0Ed68UMxPtM2EBA"  
name="productComponentProductComponentCompositionRule" upperBound="-1"  
eType="_B0BFYiV0Ed68UMxPtM2EBA" containment="true"/> 
    <eStructuralFeatures xsi:type="ecore:EReference"  
xmi:id="_B0BEyCV0Ed68UMxPtM2EBA" name="marketableProductKinds"  
eType="_B0KO9SV0Ed68UMxPtM2EBA" containment="true"/> 
    <eStructuralFeatures xsi:type="ecore:EReference"  
xmi:id="_B0BEySV0Ed68UMxPtM2EBA" name="productComponentKinds"  
eType="_B0KO9yV0Ed68UMxPtM2EBA" containment="true"/> 
    <eStructuralFeatures xsi:type="ecore:EReference"  
xmi:id="_B0BE0SV0Ed68UMxPtM2EBA" name="cardinalities"  
eType="_B0KPByV0Ed68UMxPtM2EBA" containment="true"/> 
  </eClassifiers> 
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0BE0iV0Ed68UMxPtM2EBA"  
name="MarketableProduct" eSuperTypes="_B0KPHCV0Ed68UMxPtM2EBA"> 
    <eAnnotations xmi:id="_B0BE0yV0Ed68UMxPtM2EBA" source="gmf.node"> 
      <details xmi:id="_B0BE1CV0Ed68UMxPtM2EBA" key="figure"  
value="iaa.figures.MarketableProductShape"/> 
      <details xmi:id="_B0BE1SV0Ed68UMxPtM2EBA" key="label.icon"  
value="false"/> 
      <details xmi:id="_B0BE1iV0Ed68UMxPtM2EBA" key="label"  
value="kindName"/> 
      <details xmi:id="_B0BE1yV0Ed68UMxPtM2EBA" key="label.format"  
value="underline"/> 
      <details xmi:id="_B0BE2CV0Ed68UMxPtM2EBA" key="color"  
value="142,229,238"/> 
    </eAnnotations> 
    <eStructuralFeatures xsi:type="ecore:EReference"  
xmi:id="_B0BE2SV0Ed68UMxPtM2EBA" name="kind"  
eType="_B0KPCSV0Ed68UMxPtM2EBA"/> 
  </eClassifiers> 
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0BE2iV0Ed68UMxPtM2EBA"  
name="ProductComponent" eSuperTypes="_B0KPHCV0Ed68UMxPtM2EBA"> 
    <eAnnotations xmi:id="_B0BE2yV0Ed68UMxPtM2EBA" source="gmf.node"> 
      <details xmi:id="_B0BE3CV0Ed68UMxPtM2EBA" key="figure"  
value="iaa.figures.ProductComponentShape"/> 
      <details xmi:id="_B0BE3SV0Ed68UMxPtM2EBA" key="label.icon"  
value="false"/> 
      <details xmi:id="_B0BE3iV0Ed68UMxPtM2EBA" key="label"  
value="kindName"/> 
      <details xmi:id="_B0BE3yV0Ed68UMxPtM2EBA" key="label.format"  
value="underline"/> 
      <details xmi:id="_B0BE4CV0Ed68UMxPtM2EBA" key="color"  
value="250,128,114"/> 
    </eAnnotations> 
    <eStructuralFeatures xsi:type="ecore:EReference"  
xmi:id="_B0BE4SV0Ed68UMxPtM2EBA" name="kind"  
eType="_B0KPCiV0Ed68UMxPtM2EBA"/> 
  </eClassifiers> 
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0BFGiV0Ed68UMxPtM2EBA"  
name="MarketableProductProductComponentCompositionRule"  
eSuperTypes="_B0KO8SV0Ed68UMxPtM2EBA"> 
    <eAnnotations xmi:id="_B0BFGyV0Ed68UMxPtM2EBA" source="gmf.link"> 
      <details xmi:id="_B0BFHCV0Ed68UMxPtM2EBA" key="source"  
value="source"/> 
      <details xmi:id="_B0BFHSV0Ed68UMxPtM2EBA" key="target"  
value="target"/> 
    </eAnnotations> 
    <eStructuralFeatures xsi:type="ecore:EReference"  
xmi:id="_B0BFHiV0Ed68UMxPtM2EBA" name="source"  
eType="_B0BE0iV0Ed68UMxPtM2EBA"/> 
    <eStructuralFeatures xsi:type="ecore:EReference"  
xmi:id="_B0BFICV0Ed68UMxPtM2EBA" name="target"  
eType="_B0BE2iV0Ed68UMxPtM2EBA"/> 
  </eClassifiers> 
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0BFYiV0Ed68UMxPtM2EBA"  
name="ProductComponentProductComponentCompositionRule"  
eSuperTypes="_B0KO8SV0Ed68UMxPtM2EBA"> 
    <eAnnotations xmi:id="_B0BFYyV0Ed68UMxPtM2EBA" source="gmf.link"> 
      <details xmi:id="_B0BFZCV0Ed68UMxPtM2EBA" key="source"  
value="source"/> 
      <details xmi:id="_B0BFZSV0Ed68UMxPtM2EBA" key="target"  
value="target"/> 
    </eAnnotations> 
    <eStructuralFeatures xsi:type="ecore:EReference"  
xmi:id="_B0BFZiV0Ed68UMxPtM2EBA" name="source"  
eType="_B0BE2iV0Ed68UMxPtM2EBA"/> 
    <eStructuralFeatures xsi:type="ecore:EReference"  
xmi:id="_B0BFaCV0Ed68UMxPtM2EBA" name="target"  
eType="_B0BE2iV0Ed68UMxPtM2EBA"/> 
  </eClassifiers> 
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0KO8CV0Ed68UMxPtM2EBA"  
name="CompositionRuleWithoutCardinality"  
eSuperTypes="_54tJ5DWYEd6_lp5Wz1QxFw"/> 
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0KO8SV0Ed68UMxPtM2EBA"  
name="CompositionRuleWithCardinality"  
eSuperTypes="_54tJ5DWYEd6_lp5Wz1QxFw"> 
    <eAnnotations xmi:id="_B0KO8iV0Ed68UMxPtM2EBA" source="gmf.link"> 
      <details xmi:id="_B0KO8yV0Ed68UMxPtM2EBA" key="label"  
value="cardinality.name"/> 
    </eAnnotations> 
    <eStructuralFeatures xsi:type="ecore:EReference"  
xmi:id="_B0KO9CV0Ed68UMxPtM2EBA" name="cardinality"  
eType="_B0KPFSV0Ed68UMxPtM2EBA"/> 
  </eClassifiers> 
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_54tJ5DWYEd6_lp5Wz1QxFw"  
name="CompositionRule"/> 
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0KO9SV0Ed68UMxPtM2EBA"  
name="MarketableProductKinds"> 
    <eStructuralFeatures xsi:type="ecore:EReference"  
xmi:id="_B0KO9iV0Ed68UMxPtM2EBA" name="marketableProductKind"  
upperBound="-1" eType="_B0KPCSV0Ed68UMxPtM2EBA" containment="true"/> 
  </eClassifiers> 
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0KO9yV0Ed68UMxPtM2EBA"  
name="ProductComponentKinds"> 
    <eStructuralFeatures xsi:type="ecore:EReference"  
xmi:id="_B0KO-CV0Ed68UMxPtM2EBA" name="productComponentKind"  
upperBound="-1" eType="_B0KPCiV0Ed68UMxPtM2EBA" containment="true"/> 
  </eClassifiers> 
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0KPByV0Ed68UMxPtM2EBA"  
name="Cardinalities"> 
    <eStructuralFeatures xsi:type="ecore:EReference"  
xmi:id="_B0KPCCV0Ed68UMxPtM2EBA" name="cardinality" upperBound="-1"  
eType="_B0KPFSV0Ed68UMxPtM2EBA" containment="true"/> 
  </eClassifiers> 
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0KPCSV0Ed68UMxPtM2EBA"  
name="MarketableProductKind" eSuperTypes="_B0KPEiV0Ed68UMxPtM2EBA"> 
    <eAnnotations xmi:id="_54tJ5TWYEd6_lp5Wz1QxFw" source="pdfs.mapping"> 
      <details xmi:id="_54tJ5jWYEd6_lp5Wz1QxFw" key="datatypeName"  
value="MarketableProductKind"/> 
      <details xmi:id="_54tJ5zWYEd6_lp5Wz1QxFw" key="keytypeName"  
value="MarketableProductKind"/> 
    </eAnnotations> 
  </eClassifiers> 
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0KPCiV0Ed68UMxPtM2EBA"  
name="ProductComponentKind" eSuperTypes="_B0KPEiV0Ed68UMxPtM2EBA"> 
    <eAnnotations xmi:id="_54tJ6DWYEd6_lp5Wz1QxFw" source="pdfs.mapping"> 
      <details xmi:id="_54tJ6TWYEd6_lp5Wz1QxFw" key="datatypeName"  
value="ProductComponentKind"/> 
    </eAnnotations> 
  </eClassifiers> 
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0KPEiV0Ed68UMxPtM2EBA"  
name="Kind" eSuperTypes="_B0KPHCV0Ed68UMxPtM2EBA"> 
    <eAnnotations xmi:id="_54tJ6jWYEd6_lp5Wz1QxFw" source="pdfs.mapping"> 
      <details xmi:id="_54tJ6zWYEd6_lp5Wz1QxFw" key="keytype"  
value="KeyType"/> 
      <details xmi:id="_54tJ7DWYEd6_lp5Wz1QxFw" key="keyvalue"  
value="KeyValue"/> 
      <details xmi:id="_54tJ7TWYEd6_lp5Wz1QxFw" key="assoName"  
value="KeyType - KeyValue"/> 
    </eAnnotations> 
  </eClassifiers> 
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0KPFSV0Ed68UMxPtM2EBA"  
name="Cardinality"> 
    <eStructuralFeatures xsi:type="ecore:EAttribute"  
xmi:id="_B0KPFiV0Ed68UMxPtM2EBA" name="name"> 
      <eType xsi:type="ecore:EDataType"  
href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> 
    </eStructuralFeatures> 
    <eStructuralFeatures xsi:type="ecore:EAttribute"  
xmi:id="_B0KPGCV0Ed68UMxPtM2EBA" name="minimum" defaultValueLiteral="0"> 
      <eType xsi:type="ecore:EDataType"  
href="http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject"/> 
    </eStructuralFeatures> 
    <eStructuralFeatures xsi:type="ecore:EAttribute"  
xmi:id="_B0KPGiV0Ed68UMxPtM2EBA" name="maximum" defaultValueLiteral="1"> 
      <eType xsi:type="ecore:EDataType"  
href="http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject"/> 
    </eStructuralFeatures> 
  </eClassifiers> 
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0KPHCV0Ed68UMxPtM2EBA"  
name="ProductEntity"> 
    <eStructuralFeatures xsi:type="ecore:EAttribute"  
xmi:id="_B0KPHSV0Ed68UMxPtM2EBA" name="kindName" volatile="true"> 
      <eType xsi:type="ecore:EDataType"  
href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> 
    </eStructuralFeatures> 
    <eStructuralFeatures xsi:type="ecore:EAttribute"  
xmi:id="_B0KPHyV0Ed68UMxPtM2EBA" name="name"> 
      <eAnnotations xmi:id="_B0KPISV0Ed68UMxPtM2EBA" source="gmf.label"> 
        <details xmi:id="_B0KPIiV0Ed68UMxPtM2EBA" key="foo" value="bar"/> 
      </eAnnotations> 
      <eType xsi:type="ecore:EDataType"  
href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> 
    </eStructuralFeatures> 
  </eClassifiers> 
</ecore:EPackage> 
<END>
 |  
 |  
  | 
| Re: epsilon 0.8.5 generation problem [message #567549 is a reply to message #17108] | 
Thu, 30 April 2009 11:48   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Many thanks Dmitriy. I'll investigate and get back to you. 
 
Cheers, 
Dimitris 
 
Dmitriy N. wrote: 
> thanks Dimitris, 
>  
> here is an example of my ecore file: 
>  
> <BEGIN> 
> <?xml version="1.0" encoding="UTF-8"?> 
> <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"  
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"  
> xmi:id="_B0BEoCV0Ed68UMxPtM2EBA" name="test" nsURI="test" nsPrefix="test"> 
>  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0BEoSV0Ed68UMxPtM2EBA"  
> name="IAAModel"> 
>    <eAnnotations xmi:id="_B0BEoiV0Ed68UMxPtM2EBA" source="gmf.diagram"> 
>      <details xmi:id="_B0BEoyV0Ed68UMxPtM2EBA" key="foo" value="bar"/> 
>    </eAnnotations> 
>    <eStructuralFeatures xsi:type="ecore:EReference"  
> xmi:id="_B0BEpCV0Ed68UMxPtM2EBA" name="marketablePproduct"  
> upperBound="-1" eType="_B0BE0iV0Ed68UMxPtM2EBA" containment="true"/> 
>    <eStructuralFeatures xsi:type="ecore:EReference"  
> xmi:id="_B0BEpSV0Ed68UMxPtM2EBA" name="productComponent" upperBound="-1"  
> eType="_B0BE2iV0Ed68UMxPtM2EBA" containment="true"/> 
>    <eStructuralFeatures xsi:type="ecore:EReference"  
> xmi:id="_B0BErSV0Ed68UMxPtM2EBA"  
> name="marketableProductProductComponentCompositionRule" upperBound="-1"  
> eType="_B0BFGiV0Ed68UMxPtM2EBA" containment="true"/> 
>    <eStructuralFeatures xsi:type="ecore:EReference"  
> xmi:id="_B0BEtSV0Ed68UMxPtM2EBA"  
> name="productComponentProductComponentCompositionRule" upperBound="-1"  
> eType="_B0BFYiV0Ed68UMxPtM2EBA" containment="true"/> 
>    <eStructuralFeatures xsi:type="ecore:EReference"  
> xmi:id="_B0BEyCV0Ed68UMxPtM2EBA" name="marketableProductKinds"  
> eType="_B0KO9SV0Ed68UMxPtM2EBA" containment="true"/> 
>    <eStructuralFeatures xsi:type="ecore:EReference"  
> xmi:id="_B0BEySV0Ed68UMxPtM2EBA" name="productComponentKinds"  
> eType="_B0KO9yV0Ed68UMxPtM2EBA" containment="true"/> 
>    <eStructuralFeatures xsi:type="ecore:EReference"  
> xmi:id="_B0BE0SV0Ed68UMxPtM2EBA" name="cardinalities"  
> eType="_B0KPByV0Ed68UMxPtM2EBA" containment="true"/> 
>  </eClassifiers> 
>  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0BE0iV0Ed68UMxPtM2EBA"  
> name="MarketableProduct" eSuperTypes="_B0KPHCV0Ed68UMxPtM2EBA"> 
>    <eAnnotations xmi:id="_B0BE0yV0Ed68UMxPtM2EBA" source="gmf.node"> 
>      <details xmi:id="_B0BE1CV0Ed68UMxPtM2EBA" key="figure"  
> value="iaa.figures.MarketableProductShape"/> 
>      <details xmi:id="_B0BE1SV0Ed68UMxPtM2EBA" key="label.icon"  
> value="false"/> 
>      <details xmi:id="_B0BE1iV0Ed68UMxPtM2EBA" key="label"  
> value="kindName"/> 
>      <details xmi:id="_B0BE1yV0Ed68UMxPtM2EBA" key="label.format"  
> value="underline"/> 
>      <details xmi:id="_B0BE2CV0Ed68UMxPtM2EBA" key="color"  
> value="142,229,238"/> 
>    </eAnnotations> 
>    <eStructuralFeatures xsi:type="ecore:EReference"  
> xmi:id="_B0BE2SV0Ed68UMxPtM2EBA" name="kind"  
> eType="_B0KPCSV0Ed68UMxPtM2EBA"/> 
>  </eClassifiers> 
>  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0BE2iV0Ed68UMxPtM2EBA"  
> name="ProductComponent" eSuperTypes="_B0KPHCV0Ed68UMxPtM2EBA"> 
>    <eAnnotations xmi:id="_B0BE2yV0Ed68UMxPtM2EBA" source="gmf.node"> 
>      <details xmi:id="_B0BE3CV0Ed68UMxPtM2EBA" key="figure"  
> value="iaa.figures.ProductComponentShape"/> 
>      <details xmi:id="_B0BE3SV0Ed68UMxPtM2EBA" key="label.icon"  
> value="false"/> 
>      <details xmi:id="_B0BE3iV0Ed68UMxPtM2EBA" key="label"  
> value="kindName"/> 
>      <details xmi:id="_B0BE3yV0Ed68UMxPtM2EBA" key="label.format"  
> value="underline"/> 
>      <details xmi:id="_B0BE4CV0Ed68UMxPtM2EBA" key="color"  
> value="250,128,114"/> 
>    </eAnnotations> 
>    <eStructuralFeatures xsi:type="ecore:EReference"  
> xmi:id="_B0BE4SV0Ed68UMxPtM2EBA" name="kind"  
> eType="_B0KPCiV0Ed68UMxPtM2EBA"/> 
>  </eClassifiers> 
>  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0BFGiV0Ed68UMxPtM2EBA"  
> name="MarketableProductProductComponentCompositionRule"  
> eSuperTypes="_B0KO8SV0Ed68UMxPtM2EBA"> 
>    <eAnnotations xmi:id="_B0BFGyV0Ed68UMxPtM2EBA" source="gmf.link"> 
>      <details xmi:id="_B0BFHCV0Ed68UMxPtM2EBA" key="source"  
> value="source"/> 
>      <details xmi:id="_B0BFHSV0Ed68UMxPtM2EBA" key="target"  
> value="target"/> 
>    </eAnnotations> 
>    <eStructuralFeatures xsi:type="ecore:EReference"  
> xmi:id="_B0BFHiV0Ed68UMxPtM2EBA" name="source"  
> eType="_B0BE0iV0Ed68UMxPtM2EBA"/> 
>    <eStructuralFeatures xsi:type="ecore:EReference"  
> xmi:id="_B0BFICV0Ed68UMxPtM2EBA" name="target"  
> eType="_B0BE2iV0Ed68UMxPtM2EBA"/> 
>  </eClassifiers> 
>  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0BFYiV0Ed68UMxPtM2EBA"  
> name="ProductComponentProductComponentCompositionRule"  
> eSuperTypes="_B0KO8SV0Ed68UMxPtM2EBA"> 
>    <eAnnotations xmi:id="_B0BFYyV0Ed68UMxPtM2EBA" source="gmf.link"> 
>      <details xmi:id="_B0BFZCV0Ed68UMxPtM2EBA" key="source"  
> value="source"/> 
>      <details xmi:id="_B0BFZSV0Ed68UMxPtM2EBA" key="target"  
> value="target"/> 
>    </eAnnotations> 
>    <eStructuralFeatures xsi:type="ecore:EReference"  
> xmi:id="_B0BFZiV0Ed68UMxPtM2EBA" name="source"  
> eType="_B0BE2iV0Ed68UMxPtM2EBA"/> 
>    <eStructuralFeatures xsi:type="ecore:EReference"  
> xmi:id="_B0BFaCV0Ed68UMxPtM2EBA" name="target"  
> eType="_B0BE2iV0Ed68UMxPtM2EBA"/> 
>  </eClassifiers> 
>  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0KO8CV0Ed68UMxPtM2EBA"  
> name="CompositionRuleWithoutCardinality"  
> eSuperTypes="_54tJ5DWYEd6_lp5Wz1QxFw"/> 
>  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0KO8SV0Ed68UMxPtM2EBA"  
> name="CompositionRuleWithCardinality"  
> eSuperTypes="_54tJ5DWYEd6_lp5Wz1QxFw"> 
>    <eAnnotations xmi:id="_B0KO8iV0Ed68UMxPtM2EBA" source="gmf.link"> 
>      <details xmi:id="_B0KO8yV0Ed68UMxPtM2EBA" key="label"  
> value="cardinality.name"/> 
>    </eAnnotations> 
>    <eStructuralFeatures xsi:type="ecore:EReference"  
> xmi:id="_B0KO9CV0Ed68UMxPtM2EBA" name="cardinality"  
> eType="_B0KPFSV0Ed68UMxPtM2EBA"/> 
>  </eClassifiers> 
>  <eClassifiers xsi:type="ecore:EClass" xmi:id="_54tJ5DWYEd6_lp5Wz1QxFw"  
> name="CompositionRule"/> 
>  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0KO9SV0Ed68UMxPtM2EBA"  
> name="MarketableProductKinds"> 
>    <eStructuralFeatures xsi:type="ecore:EReference"  
> xmi:id="_B0KO9iV0Ed68UMxPtM2EBA" name="marketableProductKind"  
> upperBound="-1" eType="_B0KPCSV0Ed68UMxPtM2EBA" containment="true"/> 
>  </eClassifiers> 
>  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0KO9yV0Ed68UMxPtM2EBA"  
> name="ProductComponentKinds"> 
>    <eStructuralFeatures xsi:type="ecore:EReference"  
> xmi:id="_B0KO-CV0Ed68UMxPtM2EBA" name="productComponentKind"  
> upperBound="-1" eType="_B0KPCiV0Ed68UMxPtM2EBA" containment="true"/> 
>  </eClassifiers> 
>  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0KPByV0Ed68UMxPtM2EBA"  
> name="Cardinalities"> 
>    <eStructuralFeatures xsi:type="ecore:EReference"  
> xmi:id="_B0KPCCV0Ed68UMxPtM2EBA" name="cardinality" upperBound="-1"  
> eType="_B0KPFSV0Ed68UMxPtM2EBA" containment="true"/> 
>  </eClassifiers> 
>  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0KPCSV0Ed68UMxPtM2EBA"  
> name="MarketableProductKind" eSuperTypes="_B0KPEiV0Ed68UMxPtM2EBA"> 
>    <eAnnotations xmi:id="_54tJ5TWYEd6_lp5Wz1QxFw" source="pdfs.mapping"> 
>      <details xmi:id="_54tJ5jWYEd6_lp5Wz1QxFw" key="datatypeName"  
> value="MarketableProductKind"/> 
>      <details xmi:id="_54tJ5zWYEd6_lp5Wz1QxFw" key="keytypeName"  
> value="MarketableProductKind"/> 
>    </eAnnotations> 
>  </eClassifiers> 
>  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0KPCiV0Ed68UMxPtM2EBA"  
> name="ProductComponentKind" eSuperTypes="_B0KPEiV0Ed68UMxPtM2EBA"> 
>    <eAnnotations xmi:id="_54tJ6DWYEd6_lp5Wz1QxFw" source="pdfs.mapping"> 
>      <details xmi:id="_54tJ6TWYEd6_lp5Wz1QxFw" key="datatypeName"  
> value="ProductComponentKind"/> 
>    </eAnnotations> 
>  </eClassifiers> 
>  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0KPEiV0Ed68UMxPtM2EBA"  
> name="Kind" eSuperTypes="_B0KPHCV0Ed68UMxPtM2EBA"> 
>    <eAnnotations xmi:id="_54tJ6jWYEd6_lp5Wz1QxFw" source="pdfs.mapping"> 
>      <details xmi:id="_54tJ6zWYEd6_lp5Wz1QxFw" key="keytype"  
> value="KeyType"/> 
>      <details xmi:id="_54tJ7DWYEd6_lp5Wz1QxFw" key="keyvalue"  
> value="KeyValue"/> 
>      <details xmi:id="_54tJ7TWYEd6_lp5Wz1QxFw" key="assoName"  
> value="KeyType - KeyValue"/> 
>    </eAnnotations> 
>  </eClassifiers> 
>  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0KPFSV0Ed68UMxPtM2EBA"  
> name="Cardinality"> 
>    <eStructuralFeatures xsi:type="ecore:EAttribute"  
> xmi:id="_B0KPFiV0Ed68UMxPtM2EBA" name="name"> 
>      <eType xsi:type="ecore:EDataType"  
> href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> 
>    </eStructuralFeatures> 
>    <eStructuralFeatures xsi:type="ecore:EAttribute"  
> xmi:id="_B0KPGCV0Ed68UMxPtM2EBA" name="minimum" defaultValueLiteral="0"> 
>      <eType xsi:type="ecore:EDataType"  
> href="http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject"/> 
>    </eStructuralFeatures> 
>    <eStructuralFeatures xsi:type="ecore:EAttribute"  
> xmi:id="_B0KPGiV0Ed68UMxPtM2EBA" name="maximum" defaultValueLiteral="1"> 
>      <eType xsi:type="ecore:EDataType"  
> href="http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject"/> 
>    </eStructuralFeatures> 
>  </eClassifiers> 
>  <eClassifiers xsi:type="ecore:EClass" xmi:id="_B0KPHCV0Ed68UMxPtM2EBA"  
> name="ProductEntity"> 
>    <eStructuralFeatures xsi:type="ecore:EAttribute"  
> xmi:id="_B0KPHSV0Ed68UMxPtM2EBA" name="kindName" volatile="true"> 
>      <eType xsi:type="ecore:EDataType"  
> href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> 
>    </eStructuralFeatures> 
>    <eStructuralFeatures xsi:type="ecore:EAttribute"  
> xmi:id="_B0KPHyV0Ed68UMxPtM2EBA" name="name"> 
>      <eAnnotations xmi:id="_B0KPISV0Ed68UMxPtM2EBA" source="gmf.label"> 
>        <details xmi:id="_B0KPIiV0Ed68UMxPtM2EBA" key="foo" value="bar"/> 
>      </eAnnotations> 
>      <eType xsi:type="ecore:EDataType"  
> href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> 
>    </eStructuralFeatures> 
>  </eClassifiers> 
> </ecore:EPackage> 
> <END> 
>
 |  
 |  
  | 
| Re: epsilon 0.8.5 generation problem [message #567670 is a reply to message #17139] | 
Thu, 30 April 2009 15:05   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi Dmitriy, 
 
Trying to generate the gmftool/graph/map, models from the model you sent  
me does indeed raise an error but it doesn't appear to match with the  
one in your previous message. The error I'm getting is: 
 
Called feature eOpposite on undefined object (323:53) 
 
and the reason is this class: 
 
@gmf.link(label="cardinality.name") 
class CompositionRuleWithCardinality extends CompositionRule { 
   ref Cardinality cardinality; 
} 
 
more specifically @gmf.link misses the source and target details which  
are required. When I take out this annotation everything works as  
expected. Perhaps another example could illustrate the problem a bit better. 
 
Cheers, 
Dimitris 
 
Dimitris Kolovos wrote: 
> Many thanks Dmitriy. I'll investigate and get back to you. 
>  
> Cheers, 
> Dimitris 
>  
> Dmitriy N. wrote: 
>> thanks Dimitris, 
>> 
>> here is an example of my ecore file: 
>> 
>> <BEGIN> 
>> <?xml version="1.0" encoding="UTF-8"?> 
>> <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"  
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"  
>> xmi:id="_B0BEoCV0Ed68UMxPtM2EBA" name="test" nsURI="test"  
>> nsPrefix="test"> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0BEoSV0Ed68UMxPtM2EBA" name="IAAModel"> 
>>    <eAnnotations xmi:id="_B0BEoiV0Ed68UMxPtM2EBA" source="gmf.diagram"> 
>>      <details xmi:id="_B0BEoyV0Ed68UMxPtM2EBA" key="foo" value="bar"/> 
>>    </eAnnotations> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BEpCV0Ed68UMxPtM2EBA" name="marketablePproduct"  
>> upperBound="-1" eType="_B0BE0iV0Ed68UMxPtM2EBA" containment="true"/> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BEpSV0Ed68UMxPtM2EBA" name="productComponent"  
>> upperBound="-1" eType="_B0BE2iV0Ed68UMxPtM2EBA" containment="true"/> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BErSV0Ed68UMxPtM2EBA"  
>> name="marketableProductProductComponentCompositionRule"  
>> upperBound="-1" eType="_B0BFGiV0Ed68UMxPtM2EBA" containment="true"/> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BEtSV0Ed68UMxPtM2EBA"  
>> name="productComponentProductComponentCompositionRule" upperBound="-1"  
>> eType="_B0BFYiV0Ed68UMxPtM2EBA" containment="true"/> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BEyCV0Ed68UMxPtM2EBA" name="marketableProductKinds"  
>> eType="_B0KO9SV0Ed68UMxPtM2EBA" containment="true"/> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BEySV0Ed68UMxPtM2EBA" name="productComponentKinds"  
>> eType="_B0KO9yV0Ed68UMxPtM2EBA" containment="true"/> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BE0SV0Ed68UMxPtM2EBA" name="cardinalities"  
>> eType="_B0KPByV0Ed68UMxPtM2EBA" containment="true"/> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0BE0iV0Ed68UMxPtM2EBA" name="MarketableProduct"  
>> eSuperTypes="_B0KPHCV0Ed68UMxPtM2EBA"> 
>>    <eAnnotations xmi:id="_B0BE0yV0Ed68UMxPtM2EBA" source="gmf.node"> 
>>      <details xmi:id="_B0BE1CV0Ed68UMxPtM2EBA" key="figure"  
>> value="iaa.figures.MarketableProductShape"/> 
>>      <details xmi:id="_B0BE1SV0Ed68UMxPtM2EBA" key="label.icon"  
>> value="false"/> 
>>      <details xmi:id="_B0BE1iV0Ed68UMxPtM2EBA" key="label"  
>> value="kindName"/> 
>>      <details xmi:id="_B0BE1yV0Ed68UMxPtM2EBA" key="label.format"  
>> value="underline"/> 
>>      <details xmi:id="_B0BE2CV0Ed68UMxPtM2EBA" key="color"  
>> value="142,229,238"/> 
>>    </eAnnotations> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BE2SV0Ed68UMxPtM2EBA" name="kind"  
>> eType="_B0KPCSV0Ed68UMxPtM2EBA"/> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0BE2iV0Ed68UMxPtM2EBA" name="ProductComponent"  
>> eSuperTypes="_B0KPHCV0Ed68UMxPtM2EBA"> 
>>    <eAnnotations xmi:id="_B0BE2yV0Ed68UMxPtM2EBA" source="gmf.node"> 
>>      <details xmi:id="_B0BE3CV0Ed68UMxPtM2EBA" key="figure"  
>> value="iaa.figures.ProductComponentShape"/> 
>>      <details xmi:id="_B0BE3SV0Ed68UMxPtM2EBA" key="label.icon"  
>> value="false"/> 
>>      <details xmi:id="_B0BE3iV0Ed68UMxPtM2EBA" key="label"  
>> value="kindName"/> 
>>      <details xmi:id="_B0BE3yV0Ed68UMxPtM2EBA" key="label.format"  
>> value="underline"/> 
>>      <details xmi:id="_B0BE4CV0Ed68UMxPtM2EBA" key="color"  
>> value="250,128,114"/> 
>>    </eAnnotations> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BE4SV0Ed68UMxPtM2EBA" name="kind"  
>> eType="_B0KPCiV0Ed68UMxPtM2EBA"/> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0BFGiV0Ed68UMxPtM2EBA"  
>> name="MarketableProductProductComponentCompositionRule"  
>> eSuperTypes="_B0KO8SV0Ed68UMxPtM2EBA"> 
>>    <eAnnotations xmi:id="_B0BFGyV0Ed68UMxPtM2EBA" source="gmf.link"> 
>>      <details xmi:id="_B0BFHCV0Ed68UMxPtM2EBA" key="source"  
>> value="source"/> 
>>      <details xmi:id="_B0BFHSV0Ed68UMxPtM2EBA" key="target"  
>> value="target"/> 
>>    </eAnnotations> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BFHiV0Ed68UMxPtM2EBA" name="source"  
>> eType="_B0BE0iV0Ed68UMxPtM2EBA"/> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BFICV0Ed68UMxPtM2EBA" name="target"  
>> eType="_B0BE2iV0Ed68UMxPtM2EBA"/> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0BFYiV0Ed68UMxPtM2EBA"  
>> name="ProductComponentProductComponentCompositionRule"  
>> eSuperTypes="_B0KO8SV0Ed68UMxPtM2EBA"> 
>>    <eAnnotations xmi:id="_B0BFYyV0Ed68UMxPtM2EBA" source="gmf.link"> 
>>      <details xmi:id="_B0BFZCV0Ed68UMxPtM2EBA" key="source"  
>> value="source"/> 
>>      <details xmi:id="_B0BFZSV0Ed68UMxPtM2EBA" key="target"  
>> value="target"/> 
>>    </eAnnotations> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BFZiV0Ed68UMxPtM2EBA" name="source"  
>> eType="_B0BE2iV0Ed68UMxPtM2EBA"/> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0BFaCV0Ed68UMxPtM2EBA" name="target"  
>> eType="_B0BE2iV0Ed68UMxPtM2EBA"/> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0KO8CV0Ed68UMxPtM2EBA"  
>> name="CompositionRuleWithoutCardinality"  
>> eSuperTypes="_54tJ5DWYEd6_lp5Wz1QxFw"/> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0KO8SV0Ed68UMxPtM2EBA" name="CompositionRuleWithCardinality"  
>> eSuperTypes="_54tJ5DWYEd6_lp5Wz1QxFw"> 
>>    <eAnnotations xmi:id="_B0KO8iV0Ed68UMxPtM2EBA" source="gmf.link"> 
>>      <details xmi:id="_B0KO8yV0Ed68UMxPtM2EBA" key="label"  
>> value="cardinality.name"/> 
>>    </eAnnotations> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0KO9CV0Ed68UMxPtM2EBA" name="cardinality"  
>> eType="_B0KPFSV0Ed68UMxPtM2EBA"/> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_54tJ5DWYEd6_lp5Wz1QxFw" name="CompositionRule"/> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0KO9SV0Ed68UMxPtM2EBA" name="MarketableProductKinds"> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0KO9iV0Ed68UMxPtM2EBA" name="marketableProductKind"  
>> upperBound="-1" eType="_B0KPCSV0Ed68UMxPtM2EBA" containment="true"/> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0KO9yV0Ed68UMxPtM2EBA" name="ProductComponentKinds"> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0KO-CV0Ed68UMxPtM2EBA" name="productComponentKind"  
>> upperBound="-1" eType="_B0KPCiV0Ed68UMxPtM2EBA" containment="true"/> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0KPByV0Ed68UMxPtM2EBA" name="Cardinalities"> 
>>    <eStructuralFeatures xsi:type="ecore:EReference"  
>> xmi:id="_B0KPCCV0Ed68UMxPtM2EBA" name="cardinality" upperBound="-1"  
>> eType="_B0KPFSV0Ed68UMxPtM2EBA" containment="true"/> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0KPCSV0Ed68UMxPtM2EBA" name="MarketableProductKind"  
>> eSuperTypes="_B0KPEiV0Ed68UMxPtM2EBA"> 
>>    <eAnnotations xmi:id="_54tJ5TWYEd6_lp5Wz1QxFw" source="pdfs.mapping"> 
>>      <details xmi:id="_54tJ5jWYEd6_lp5Wz1QxFw" key="datatypeName"  
>> value="MarketableProductKind"/> 
>>      <details xmi:id="_54tJ5zWYEd6_lp5Wz1QxFw" key="keytypeName"  
>> value="MarketableProductKind"/> 
>>    </eAnnotations> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0KPCiV0Ed68UMxPtM2EBA" name="ProductComponentKind"  
>> eSuperTypes="_B0KPEiV0Ed68UMxPtM2EBA"> 
>>    <eAnnotations xmi:id="_54tJ6DWYEd6_lp5Wz1QxFw" source="pdfs.mapping"> 
>>      <details xmi:id="_54tJ6TWYEd6_lp5Wz1QxFw" key="datatypeName"  
>> value="ProductComponentKind"/> 
>>    </eAnnotations> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0KPEiV0Ed68UMxPtM2EBA" name="Kind"  
>> eSuperTypes="_B0KPHCV0Ed68UMxPtM2EBA"> 
>>    <eAnnotations xmi:id="_54tJ6jWYEd6_lp5Wz1QxFw" source="pdfs.mapping"> 
>>      <details xmi:id="_54tJ6zWYEd6_lp5Wz1QxFw" key="keytype"  
>> value="KeyType"/> 
>>      <details xmi:id="_54tJ7DWYEd6_lp5Wz1QxFw" key="keyvalue"  
>> value="KeyValue"/> 
>>      <details xmi:id="_54tJ7TWYEd6_lp5Wz1QxFw" key="assoName"  
>> value="KeyType - KeyValue"/> 
>>    </eAnnotations> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0KPFSV0Ed68UMxPtM2EBA" name="Cardinality"> 
>>    <eStructuralFeatures xsi:type="ecore:EAttribute"  
>> xmi:id="_B0KPFiV0Ed68UMxPtM2EBA" name="name"> 
>>      <eType xsi:type="ecore:EDataType"  
>> href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> 
>>    </eStructuralFeatures> 
>>    <eStructuralFeatures xsi:type="ecore:EAttribute"  
>> xmi:id="_B0KPGCV0Ed68UMxPtM2EBA" name="minimum" defaultValueLiteral="0"> 
>>      <eType xsi:type="ecore:EDataType"  
>> href="http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject"/> 
>>    </eStructuralFeatures> 
>>    <eStructuralFeatures xsi:type="ecore:EAttribute"  
>> xmi:id="_B0KPGiV0Ed68UMxPtM2EBA" name="maximum" defaultValueLiteral="1"> 
>>      <eType xsi:type="ecore:EDataType"  
>> href="http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject"/> 
>>    </eStructuralFeatures> 
>>  </eClassifiers> 
>>  <eClassifiers xsi:type="ecore:EClass"  
>> xmi:id="_B0KPHCV0Ed68UMxPtM2EBA" name="ProductEntity"> 
>>    <eStructuralFeatures xsi:type="ecore:EAttribute"  
>> xmi:id="_B0KPHSV0Ed68UMxPtM2EBA" name="kindName" volatile="true"> 
>>      <eType xsi:type="ecore:EDataType"  
>> href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> 
>>    </eStructuralFeatures> 
>>    <eStructuralFeatures xsi:type="ecore:EAttribute"  
>> xmi:id="_B0KPHyV0Ed68UMxPtM2EBA" name="name"> 
>>      <eAnnotations xmi:id="_B0KPISV0Ed68UMxPtM2EBA" source="gmf.label"> 
>>        <details xmi:id="_B0KPIiV0Ed68UMxPtM2EBA" key="foo" value="bar"/> 
>>      </eAnnotations> 
>>      <eType xsi:type="ecore:EDataType"  
>> href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> 
>>    </eStructuralFeatures> 
>>  </eClassifiers> 
>> </ecore:EPackage> 
>> <END> 
>>
 |  
 |  
  | 
| Re: epsilon 0.8.5 generation problem [message #567690 is a reply to message #17303] | 
Thu, 30 April 2009 16:11   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Dimitris, 
 
this is exactly the error i got, but i sent you the whole exception stack. 
it looks like in 0.8.4 these annotation details was not required. 
I will modify my ecore file to make it work, 
 
thanks for your help, 
Dmitriy
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.16102 seconds