summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2013-01-16 07:26:00 +0000
committerVaadin Code Review <review@vaadin.com>2013-01-16 07:26:00 +0000
commit519eb9ee65f6d662bfc07cb6ce310ba95c5a30cc (patch)
treed71724298689dcf147a9031610736f690656bf1d
parentbe1af907d711dff3eddb2189829e55398fcaae60 (diff)
parentee4defc0a6483762b8cde5291bf4844983728604 (diff)
downloadvaadin-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.java9
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)) {