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

Bug 353868

Summary: ClientObjectFactory does not work for disposed widgets
Product: [RT] RAP Reporter: Ralf Sternberg <rsternberg>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.5   
Target Milestone: 1.5 M1   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Ralf Sternberg CLA 2011-08-04 07:15:06 EDT
The factory method ClientObjectFactory#getForWidget throws an exception in case of an already disposed widget. But when rendering dispose operations, LCAs need to call this method for disposed widgets.
Comment 1 Ralf Sternberg CLA 2011-08-04 07:19:57 EDT
Actually, the exception is thrown in Display#getThread(), but only when the display itself has been disposed.
Comment 2 Ralf Sternberg CLA 2011-08-04 09:44:06 EDT
Fixed by adding an isValidThread() method to IDisplayAdapter.