diff options
author | Leif Åstrand <leif@vaadin.com> | 2013-01-16 07:26:00 +0000 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-01-16 07:26:00 +0000 |
commit | 519eb9ee65f6d662bfc07cb6ce310ba95c5a30cc (patch) | |
tree | d71724298689dcf147a9031610736f690656bf1d | |
parent | be1af907d711dff3eddb2189829e55398fcaae60 (diff) | |
parent | ee4defc0a6483762b8cde5291bf4844983728604 (diff) | |
download | vaadin-framework-519eb9ee65f6d662bfc07cb6ce310ba95c5a30cc.tar.gz vaadin-framework-519eb9ee65f6d662bfc07cb6ce310ba95c5a30cc.zip |
Merge "Added check for RPC calls to non-existing connectors (#10743)"
-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)) { |