#4657
authorKatja Luther <k.luther@bgbm.org>
Mon, 23 Feb 2015 08:50:45 +0000 (08:50 +0000)
committerKatja Luther <k.luther@bgbm.org>
Mon, 23 Feb 2015 08:50:45 +0000 (08:50 +0000)
eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/ApplicationWorkbenchAdvisor.java

index fc694b221e245fe16e40f73088487d655260e098..feff393fb86851a12a716c449be9b6e1a979f86c 100644 (file)
@@ -104,14 +104,14 @@ public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor {
                        //        leading to a recursive infinite loop of :
                        //        initial exception thrown -> status handling -> dialog opening + logging of status ->
                        //        status handling -> dialog opening + logging of status ... and so on
-                       if(t != null && t instanceof RuntimeException) {
+                       if(t != null && t instanceof RuntimeException && !t.getMessage().equals("Widget is disposed")) {
                                MessagingUtils.errorDialog("Unexpected error",
                                                null,
                                                MessagingUtils.UNEXPECTED_ERROR_MESSAGE,
                                                statusAdapter.getStatus().getPlugin(),
                                                t,
                                                true);
-                       }
+                       }
                    }
                }
        }