Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Ecore to EMF Editor Plugin - Error in serialization
Ecore to EMF Editor Plugin - Error in serialization [message #1792778] Mon, 23 July 2018 20:38
Maude Sab is currently offline Maude SabFriend
Messages: 1
Registered: July 2018
Junior Member
I wrote a grammar in Xtext and i'm trying to generate an editor instance using EMF, Ecore and Genmodel.

I am doing very similar work to these 2 tutorials :
*Can't post links*

My problem is that, when creating an instance of the editor plugin and choosing the Model object for my 'Example EMF Model Creation Wizards', I get the following error :

Domainmodel.elements violates the lower bound: It holds 0 values, but at least 1 are required.
Semantic Object: Domainmodel


When looking at the Ecore Properties of elements, the lower bound is set at 0 and the upper bound is set at -1. Why then, is it expecting a value?

I couldn't find any information online on this error. I have attached the following :
- My XText Grammar
- My Ecore generated from the grammar

I am very new to the field so any help or links are appreciated.
  • Attachment: Canard.xtext
    (Size: 0.76KB, Downloaded 137 times)
  • Attachment: Canard.ecore
    (Size: 2.33KB, Downloaded 211 times)
Previous Topic:[EMF Forms] View Proxy on feature-level
Next Topic:Modeling Symposium @ EclipseCon Europe 2018
Goto Forum:
  


Current Time: Thu Apr 25 05:33:41 GMT 2024

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

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

Back to the top