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

Bug 370122

Summary: [Table] trying to redraw disposed widget
Product: z_Archived Reporter: Nicolas Bros <nicolas.bros>
Component: EMF-FacetAssignee: Project Inbox <emft.facet-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P5 CC: gdupe
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
stacktrace gdupe: iplog-

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.