]> source.dussan.org Git - vaadin-framework.git/commitdiff
Improve error message for missing class name id (#14643)
authorLeif Åstrand <leif@vaadin.com>
Fri, 12 Sep 2014 11:12:36 +0000 (14:12 +0300)
committerVaadin Code Review <review@vaadin.com>
Mon, 6 Oct 2014 23:26:05 +0000 (23:26 +0000)
Change-Id: I71a96985fab62b648207393916566f3e1d757ad1

client/src/com/vaadin/client/ApplicationConfiguration.java

index 87c8ea465fe8b2491d2ab098837fbe8aa1c45a61..83dd90b6c2390262df8e9dcb3e1816bdf0414508 100644 (file)
@@ -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;
     }