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

Bug 365969

Summary: Eclipse freezes when EPackage.name is null or empty
Product: [Modeling] EMFCompare Reporter: Gregor Bonifer <g.bonifer>
Component: CoreAssignee: EMF Compare <emf.compare-inbox>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: g.bonifer, laurent.goubet
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Gregor Bonifer CLA 2011-12-07 16:52:03 EST
Eclipse freezes when the compared models contain an EPackage whose name attribute is an empty string or null. This only occures when only the selected resources and not their resourcesets are compared.

The bug can be reproduced with the following steps: 
- *Make sure all your work is saved!*
- Create two ecore-files via the New Ecore File wizard.
- Mark both files and select Compare With > Each Other from the context menu.
- Choose "Selected resource(s) only"

Regards,
Gregor
Comment 1 Laurent Goubet CLA 2011-12-12 04:43:44 EST
This was a really well hidden infinite loop deep inside the UI code. It has now been fixed on master and will be available in tomorrow's M4 build. (This will also find its way in the maintenance stream.)