Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353868 - ClientObjectFactory does not work for disposed widgets
Summary: ClientObjectFactory does not work for disposed widgets
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.5 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-04 07:15 EDT by Ralf Sternberg CLA
Modified: 2011-08-04 09:44 EDT (History)
0 users

See Also:


Attachments

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