Bug 445869 - Application crashes if a button is selected while shell is fading out
Summary: Application crashes if a button is selected while shell is fading out
Status: ASSIGNED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 2.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-03 07:44 EDT by Aleksander CLA
Modified: 2014-10-03 08:15 EDT (History)
1 user (show)

See Also:


Attachments
Theme for org.eclipse.rap.examples with a fadeOut for Shell (2.81 KB, text/css)
2014-10-03 07:44 EDT, Aleksander CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksander CLA 2014-10-03 07:44:46 EDT
Created attachment 247604 [details]
Theme for org.eclipse.rap.examples with a fadeOut for Shell

If in the theme the shell has an animation with a fadeOut, and if a button is selected in this shell while it is fading out, the application crashes by displaying "Error: Error: Invalid target for ServerObject, or target not in ObjectManager".
Comment 1 Ivan Furnadjiev CLA 2014-10-03 08:07:54 EDT
I can reproduce it with both RAP 2.3.1 and current master (3.0.0M2).
Comment 2 Ivan Furnadjiev CLA 2014-10-03 08:15:01 EDT
When shell is closing (fading-out), all its children are already disposed. Mouse click on a button will trigger notify operation on disposed (already removed from ObjectManager) widget. We should not send operations (use getRemoteObject) on already disposed widgets.