Bug 247288 - [tml][deviceframework][bug] Exceptions after Instance Mgt View is closed
Summary: [tml][deviceframework][bug] Exceptions after Instance Mgt View is closed
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sequoyah (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Fabio Fantato CLA
QA Contact:
URL:
Whiteboard: released_0.1
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2008-09-15 08:50 EDT by Julia Perdigueiro CLA
Modified: 2016-11-08 14:46 EST (History)
2 users (show)

See Also:


Attachments
Proposed patch for the bug (2.76 KB, patch)
2008-09-15 08:50 EDT, Julia Perdigueiro CLA
fabio.fantato: iplog+
fabio.fantato: review+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julia Perdigueiro CLA 2008-09-15 08:50:49 EDT
Created attachment 112539 [details]
Proposed patch for the bug

Build ID: I20080617-2000

Steps To Reproduce:
1. Open the Instance Management View
2. Close the Instance Management View
3. Create a new instance of some device
4. Open the eclipse log file and see that some exceptions for "widget is disposed" are shown

This happens because one of the UI classes on the View adds a listener to the InstanceEventManager, and when it is closed and some InstanceEvent happens, the listener is still informed and it tries to execute some operations on the UI and the UI is not available anymore (it has been disposed).

Attached is the proposed patch for this bug. It consists of removing the listener from InstanceEventManager when the dispose() method of the UI class is called.

More information:
Comment 1 Fabio Fantato CLA 2008-09-15 16:12:09 EDT
code verified and patch applied
Comment 2 Fabio Fantato CLA 2008-09-15 16:26:32 EDT
integrated
Comment 3 Fabio Fantato CLA 2008-11-13 08:18:31 EST
CVS branch for 0.1 release: branch_dsdp_tml_official_0_1_0_R