diff options
author | Artur Signell <artur@vaadin.com> | 2013-01-15 22:17:00 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2013-01-15 22:43:21 +0200 |
commit | ee4defc0a6483762b8cde5291bf4844983728604 (patch) | |
tree | b3038987f68c1e66ab99614d96e97be0b740184a /server | |
parent | 235034d831bbf47f3eb3a565e18483c0d07ac57a (diff) | |
download | vaadin-framework-ee4defc0a6483762b8cde5291bf4844983728604.tar.gz vaadin-framework-ee4defc0a6483762b8cde5291bf4844983728604.zip |
Added check for RPC calls to non-existing connectors (#10743)
Change-Id: I55432d1736e8585d3c0680ea888eb1cb94f7d371
Diffstat (limited to 'server')
-rw-r--r-- | server/src/com/vaadin/server/AbstractCommunicationManager.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/server/src/com/vaadin/server/AbstractCommunicationManager.java b/server/src/com/vaadin/server/AbstractCommunicationManager.java index cfd7bbeecb..c676cb2ce3 100644 --- a/server/src/com/vaadin/server/AbstractCommunicationManager.java +++ b/server/src/com/vaadin/server/AbstractCommunicationManager.java @@ -1631,6 +1631,15 @@ public abstract class AbstractCommunicationManager implements Serializable { final ClientConnector connector = getConnector(uI, invocation.getConnectorId()); + if (connector == null) { + getLogger() + .log(Level.WARNING, + "Received RPC call for unknown connector with id {0} (tried to invoke {1}.{2})", + new Object[] { invocation.getConnectorId(), + invocation.getInterfaceName(), + invocation.getMethodName() }); + continue; + } if (!enabledConnectors.contains(connector)) { |