Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360850 - R4E property view try to refresh after the widgets are disposed
Summary: R4E property view try to refresh after the widgets are disposed
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Sebastien Dubois CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-13 11:24 EDT by Jacques Bouthillier CLA
Modified: 2012-01-24 17:45 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacques Bouthillier CLA 2011-10-13 11:24:35 EDT
To reproduce:
- Create a FORMAL review
- TRy to change phase using the Phase selection in the Detailed property view
-->Since you did not add another user to the list of participant, the phase change will not succeeded and
after the second pop-up, an error occurs:. We need to checked before refreshing the first widget if it is disposed or not.


org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(SWT.java:4282)
	at org.eclipse.swt.SWT.error(SWT.java:4197)
	at org.eclipse.swt.SWT.error(SWT.java:4168)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:468)
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:340)
	at org.eclipse.swt.custom.CLabel.setText(CLabel.java:905)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.properties.tabbed.ReviewTabPropertySection.refresh(ReviewTabPropertySection.java:1090)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.properties.tabbed.ReviewTabPropertySection$1.widgetSelected(ReviewTabPropertySection.java:359)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
Comment 1 Sebastien Dubois CLA 2011-10-14 15:48:35 EDT
This problem is now fixed with solution to bug 360737