diff options
author | Artur Signell <artur@vaadin.com> | 2013-01-08 01:15:09 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2013-01-08 01:15:47 +0200 |
commit | ce5f8b13d543e70ea79af5af45acf4a9da8269a0 (patch) | |
tree | e5d73da1eb4308adc59f4c2ea35c5ff300baa80f /client | |
parent | 68406d87bb4dfb90d460ac02ef6412493f76eba7 (diff) | |
download | vaadin-framework-ce5f8b13d543e70ea79af5af45acf4a9da8269a0.tar.gz vaadin-framework-ce5f8b13d543e70ea79af5af45acf4a9da8269a0.zip |
Fixed NPE (#10537)
Change-Id: Ib1dad4b256c430901bb2c0779fbab85f8328a5d4
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/VTextField.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/VTextField.java b/client/src/com/vaadin/client/ui/VTextField.java index 0123a4b4f2..1229eda093 100644 --- a/client/src/com/vaadin/client/ui/VTextField.java +++ b/client/src/com/vaadin/client/ui/VTextField.java @@ -398,7 +398,7 @@ public class VTextField extends TextBoxBase implements Field, ChangeHandler, setPrompting(false); } focusedTextField = this; - if (client.hasEventListeners(this, EventId.FOCUS)) { + if (client != null && client.hasEventListeners(this, EventId.FOCUS)) { client.updateVariable(paintableId, EventId.FOCUS, "", true); } } |