Bug 360779 - "Getter called on disposed observable" after editing property with xtext editor
Summary: "Getter called on disposed observable" after editing property with xtext editor
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Camille Letavernier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 367423
  Show dependency tree
 
Reported: 2011-10-13 04:34 EDT by Nicolas Bros CLA
Modified: 2012-03-06 06:02 EST (History)
1 user (show)

See Also:


Attachments
stacktrace (6.92 KB, text/plain)
2011-10-13 04:34 EDT, Nicolas Bros CLA
no flags Details
stacktrace (setting multiplicity) (9.40 KB, text/plain)
2011-10-13 05:24 EDT, Nicolas Bros CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Bros CLA 2011-10-13 04:34:40 EDT
Created attachment 205102 [details]
stacktrace

- add a Property on a Class in a class diagram
- right click the Property and select "Edit Property > Using Advanced Property Textual Editor Editor"
- enter the visibility, name and type of the property
- click anywhere in the diagram outside the xtext editor to dismiss it

you get the attached exception

- hit Ctrl+Z (Undo)

you get a few more of the attached exception again
Comment 1 Nicolas Bros CLA 2011-10-13 05:24:06 EDT
Created attachment 205108 [details]
stacktrace (setting multiplicity)

I also got a similar exception while setting the multiplicity of a Parameter through the org.eclipse.papyrus.properties.creation.EditionDialog opened from the Property view.
Comment 2 Camille Letavernier CLA 2011-10-13 08:36:02 EDT
> - click anywhere in the diagram outside the xtext editor to dismiss it

If you press ctrl + enter to validate the modification, you don't have any error.

If you select another element :

- The property is validated
- The property view changes to display the other other element's properties
- The property's property view tries to refresh itself in the same time...

I will check the order of the events, to see why it tries to refresh itself just after being disposed.

> I also got a similar exception while setting the multiplicity of a Parameter through the org.eclipse.papyrus.properties.creation.EditionDialog opened from the Property view.

I couldn't reproduce this one...
Comment 3 Sébastien Gérard CLA 2011-10-17 14:20:37 EDT
Arnaud, can you check this bug please.

thanks,
Seb.
Comment 4 Camille Letavernier CLA 2012-03-06 06:02:00 EST
Fixed in r7352 (Branch 0.8.X)
Fixed in r7353 (Trunk)