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

Bug 362114

Summary: LibraryInstallPanel triggers SWTException
Product: [WebTools] WTP Common Tools Reporter: Brian Vosburgh <brian.vosburgh>
Component: Faceted Project FrameworkAssignee: Roberto Sanchez Herrera <shr31223>
Status: RESOLVED FIXED QA Contact: Konstantin Komissarchik <konstantin>
Severity: normal    
Priority: P3 CC: konstantin, shr31223
Version: 3.3.1Flags: konstantin: review+
Target Milestone: 3.6.3   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
stacktrace
none
proposed patch shr31223: iplog+

Description Brian Vosburgh CLA 2011-10-26 13:44:00 EDT
Created attachment 206010 [details]
stacktrace

The method LibraryInstallPanel.handleOperationConfigChanged(...) dispatches itself to the UI thread but does not check whether the widget is disposed once it is there. The result is the attached exception stacktrace. This occurs if the LibraryInstallPanel is closed before the dispatched runnable is executed on the UI thread.
Comment 1 Brian Vosburgh CLA 2012-05-15 11:41:57 EDT
Created attachment 215654 [details]
proposed patch

Add simple dispose check.
Comment 2 Roberto Sanchez Herrera CLA 2015-01-14 13:12:36 EST
Committed to master for WTP 3.6.3 and 3.7.
I also increased the version of the plugin and feature

http://git.eclipse.org/c/webtools-common/webtools.common.fproj.git/commit/?id=294553e79d8ab8193bd0fa9e29aebb9ca62322aa