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

Bug 319016

Summary: [Model Browser] ClassCastException while saving a model
Product: [Modeling] MoDisco Reporter: Nicolas Guyomar <nicolas.guyomar>
Component: TechnologiesAssignee: Nicolas Bros <nicolas.bros>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: fabien.giquel, gdupe, hugo.bruneliere, modisco.web-inbox, nicolas.bros
Version: 0.9.0Flags: nicolas.bros: indigo+
Target Milestone: 0.9.0 M1   
Hardware: PC   
OS: Windows XP   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=319015
Whiteboard:

Description Nicolas Guyomar CLA 2010-07-06 10:48:18 EDT
Hi,

Create an "Hello world" application, discover it with the MoDisco Java Discoverer.

Once in the Model Browser, navigate to the Model instance, delete the field "name" and save

While saving, a ClassCastException is raised:

"java.lang.ClassCastException: java.lang.String cannot be cast to org.eclipse.emf.ecore.util.InternalEList"

Regards

Nicolas
Comment 1 Nicolas Bros CLA 2010-07-07 10:01:21 EDT
Fixed in revision 2667 (see also Bug 319015).
Comment 2 Hugo Bruneliere CLA 2010-10-04 13:55:45 EDT
Bug fixed.