Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319016 - [Model Browser] ClassCastException while saving a model
Summary: [Model Browser] ClassCastException while saving a model
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Technologies (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.9.0 M1   Edit
Assignee: Nicolas Bros CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-06 10:48 EDT by Nicolas Guyomar CLA
Modified: 2010-10-18 08:32 EDT (History)
5 users (show)

See Also:
nicolas.bros: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.