Revision d64bebb3
Added by Andreas Müller about 9 years ago
eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/ApplicationWorkbenchAdvisor.java | ||
---|---|---|
104 | 104 |
// leading to a recursive infinite loop of : |
105 | 105 |
// initial exception thrown -> status handling -> dialog opening + logging of status -> |
106 | 106 |
// status handling -> dialog opening + logging of status ... and so on |
107 |
if(t != null && t instanceof RuntimeException && !t.getMessage().equals("Widget is disposed")){
|
|
107 |
if(t != null && t instanceof RuntimeException && ! "Widget is disposed".equals(t.getMessage())){
|
|
108 | 108 |
MessagingUtils.errorDialog("Unexpected error", |
109 | 109 |
null, |
110 | 110 |
MessagingUtils.UNEXPECTED_ERROR_MESSAGE, |
Also available in: Unified diff
fix NPE in messaging handling #4816