MessagesDialogExceptionHandler (and any AbstractDialogExceptionHandler) doesn't show the exception if the application hasn't been initialized enough yet and system.exits the JVM
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: RCP-591
URL: http://jira.springframework.org/browse/RCP-591
Project: Spring Rich Client Project
Issue Type: Bug
Components: Core
Affects Versions: 1.0.1
Reporter: Geoffrey De Smet
Assignee: Geoffrey De Smet
Fix For: 1.1.0
protected JFrame resolveParentFrame() {
ApplicationWindow activeWindow = Application.instance().getActiveWindow();
return (activeWindow == null) ? null : activeWindow.getControl();
}
should be
protected JFrame resolveParentFrame() {
ApplicationWindow activeWindow = Application.isLoaded() ? Application.instance().getActiveWindow() : null;
return (activeWindow == null) ? null : activeWindow.getControl();
}
I 'll commit the changes in a few minutes
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|