Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370122 - [Table] trying to redraw disposed widget
Summary: [Table] trying to redraw disposed widget
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EMF-Facet (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P5 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-30 08:46 EST by Nicolas Bros CLA
Modified: 2020-05-01 11:27 EDT (History)
1 user (show)

See Also:


Attachments
stacktrace (762 bytes, text/plain)
2012-01-30 08:46 EST, Nicolas Bros CLA
gdupe: iplog-
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Bros CLA 2012-01-30 08:46:00 EST
Created attachment 210263 [details]
stacktrace

In:
org.eclipse.emf.facet.widgets.table.ui.internal.TableWidgetController.modelChangeAdapter.new AdapterImpl() {...}.notifyChanged(Notification msg)

notifyChanged calls an asynchronous redraw on the widget. This results in the attached exception when the table closes before the asynchronous event has had time to run.

The good practice is to check that the widget is not disposed before trying to access it in an asynchronous event.