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

Bug 313527

Summary: After closing the login dialog an exception is thrown
Product: [RT] Riena Reporter: Thorsten Schenkel <thorsten.schenkel>
Component: UIAssignee: Project Inbox <riena.ui-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Thorsten Schenkel CLA 2010-05-19 10:23:56 EDT
In the plugin.xml of the Example Client of Riena I have activated the login dialog (org.eclipse.riena.navigation.ui.loginDialogViewDefinition).
After starting the SWT Example Client the login dialog is shown.
After closing the login dialog the following exception is thrown:
org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(SWT.java:4083)
	at org.eclipse.swt.SWT.error(SWT.java:3998)
	at org.eclipse.swt.SWT.error(SWT.java:3969)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:467)
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:340)
	at org.eclipse.swt.widgets.Decorations.setDefaultButton(Decorations.java:900)
	at org.eclipse.riena.internal.ui.ridgets.swt.DefaultActionManager.clearDefaultButton(DefaultActionManager.java:136)
	at org.eclipse.riena.internal.ui.ridgets.swt.DefaultActionManager.deactivate(DefaultActionManager.java:108)
	at org.eclipse.riena.internal.ui.ridgets.swt.DefaultActionManager.dispose(DefaultActionManager.java:115)
	at org.eclipse.riena.internal.ui.ridgets.swt.ShellRidget.dispose(ShellRidget.java:86)
	at org.eclipse.riena.example.client.controllers.LoginDialogController.dispose(LoginDialogController.java:118)
	at org.eclipse.riena.example.client.controllers.LoginDialogController.access$3(LoginDialogController.java:117)
	at org.eclipse.riena.example.client.controllers.LoginDialogController$1.callback(LoginDialogController.java:70)
	at org.eclipse.riena.internal.ui.ridgets.swt.ActionObserver.fireAction(ActionObserver.java:39)
	.....
Comment 1 Thorsten Schenkel CLA 2010-05-19 10:25:11 EDT
I have added a workaround to the class DefaultActionManager. So the exception is not thrown. But this is only a workaround!