Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327646

Summary: Eugenia can go into infinite loop when generating gmfmap , gmftool and gmfgraph files.
Product: [Modeling] Epsilon Reporter: Sorin Silaghi <sorin7486>
Component: CoreAssignee: Dimitris Kolovos <dkolovos>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: agarcdomi
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
this one should work just fine
none
this one shows the problem none

Description Sorin Silaghi CLA 2010-10-13 07:31:49 EDT
Created attachment 180753 [details]
this one should work just fine

When creating a structure that has a reference to itself sometimes Eugenia goes into infinite loop when trying to generate the gmfmap , gmftool and gmfgraph files: eclipse keeps working but the files are not generated and the generation progress is stuck.

Attached are two .emf files that are very similar. For one of them generation works fine and for the other it hangs. The only significant difference between them seems to be the order in which the classes are declared.
Comment 1 Sorin Silaghi CLA 2010-10-13 07:32:20 EDT
Created attachment 180754 [details]
this one shows the problem
Comment 2 Antonio Garcia-Dominguez CLA 2012-05-21 04:56:39 EDT
It appears this was a problem in EMF itself:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=378187

The issue has been fixed in EMF 2.8M7. Please try again with that version.

*** This bug has been marked as a duplicate of bug 378187 ***
Comment 3 Dimitris Kolovos CLA 2012-07-03 06:35:36 EDT
Closing as duplicate.