Bug 441716 - The "Intitialize Ecore Diagram" action might lead to an inconsistent modeling project
Summary: The "Intitialize Ecore Diagram" action might lead to an inconsistent modeling...
Status: RESOLVED DUPLICATE of bug 438126
Alias: None
Product: Ecoretools
Classification: Modeling
Component: General (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux
: P3 major
Target Milestone: 2.0.1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-13 12:32 EDT by Cedric Brun CLA
Modified: 2014-08-13 13:57 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cedric Brun CLA 2014-08-13 12:32:11 EDT
Using this action on a project which already is a modeling project lead to the creation of two .aird files which is not the layout supported by Sirius when using the "modeling project" mode.

The action and wizard should check if the project already is a modeling project and if so use the common representation.aird file.
Comment 1 Cedric Brun CLA 2014-08-13 13:25:15 EDT
Ok, my bad. Let's say vacations brain-washed me.

I already reported the bug in june and fixed it on the go (unfortunately too late for the Luna 2.0.0 release) .
https://bugs.eclipse.org/bugs/show_bug.cgi?id=438126

You can update EcoreTools using the Modeling Discovery, it targets the maintenance stream.

*** This bug has been marked as a duplicate of bug 438126 ***
Comment 2 Ed Willink CLA 2014-08-13 13:57:53 EDT
Thanks; I used Papyrus in the meantime.

After installing 2.0.1, opening a diagram just gives me a blank title-less editor and an error log full of 50 identical entries

java.lang.NullPointerException
	at org.eclipse.ui.actions.RetargetAction.partClosed(RetargetAction.java:170)
 
with no Sirius on the stack trace.