From: Leif Åstrand Date: Fri, 12 Sep 2014 11:12:36 +0000 (+0300) Subject: Improve error message for missing class name id (#14643) X-Git-Tag: 7.4.0.beta1~180 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=38125ebc3b517bacef5e12879fe9a6b1d460d7c1;p=vaadin-framework.git Improve error message for missing class name id (#14643) Change-Id: I71a96985fab62b648207393916566f3e1d757ad1 --- diff --git a/client/src/com/vaadin/client/ApplicationConfiguration.java b/client/src/com/vaadin/client/ApplicationConfiguration.java index 87c8ea465f..83dd90b6c2 100644 --- a/client/src/com/vaadin/client/ApplicationConfiguration.java +++ b/client/src/com/vaadin/client/ApplicationConfiguration.java @@ -547,7 +547,11 @@ public class ApplicationConfiguration implements EntryPoint { String getUnknownServerClassNameByTag(int tag) { if (unknownComponents != null) { - return unknownComponents.get(tag); + String className = unknownComponents.get(tag); + if (className == null) { + className = "unknown class with id " + tag; + } + return className; } return null; }