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

Bug 360850

Summary: R4E property view try to refresh after the widgets are disposed
Product: z_Archived Reporter: Jacques Bouthillier <lmcbout>
Component: MylynAssignee: Sebastien Dubois <sebastien.dubois>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: alvaro.sanchez-leon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

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