summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/components/AbstractTestUI.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/AbstractTestUI.java')
-rw-r--r--uitest/src/com/vaadin/tests/components/AbstractTestUI.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/uitest/src/com/vaadin/tests/components/AbstractTestUI.java b/uitest/src/com/vaadin/tests/components/AbstractTestUI.java
index 45809e3270..ec6cf0c57d 100644
--- a/uitest/src/com/vaadin/tests/components/AbstractTestUI.java
+++ b/uitest/src/com/vaadin/tests/components/AbstractTestUI.java
@@ -40,7 +40,8 @@ public abstract class AbstractTestUI extends UI {
protected void warnIfWidgetsetMaybeNotCompiled() {
// Ignore if using debug mode
- if (getPage().getLocation().getQuery().matches(".*[&?]gwt\\.codesvr.*")) {
+ String query = getPage().getLocation().getQuery();
+ if (query != null && query.matches(".*[&?]gwt\\.codesvr.*")) {
return;
}