Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313527 - After closing the login dialog an exception is thrown
Summary: After closing the login dialog an exception is thrown
Status: NEW
Alias: None
Product: Riena
Classification: RT
Component: UI (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-19 10:23 EDT by Thorsten Schenkel CLA
Modified: 2010-05-19 10:25 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!