diff options
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ApplicationConnection.java | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java b/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java index 5ececb2104..5f5ef71c36 100644 --- a/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java +++ b/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java @@ -1213,7 +1213,11 @@ public class ApplicationConnection { VConsole.log(" * Sending state change events"); for (StateChangeEvent sce : pendingStateChangeEvents) { - sce.getConnector().fireEvent(sce); + try { + sce.getConnector().fireEvent(sce); + } catch (final Throwable e) { + VConsole.error(e); + } } } @@ -1336,7 +1340,11 @@ public class ApplicationConnection { VConsole.log(" * Sending hierarchy change events"); for (ConnectorHierarchyChangeEvent event : pendingHierarchyChangeEvents) { - event.getConnector().fireEvent(event); + try { + event.getConnector().fireEvent(event); + } catch (final Throwable e) { + VConsole.error(e); + } } } |