diff options
-rw-r--r-- | src/com/vaadin/terminal/gwt/server/JsonCodec.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/terminal/gwt/server/JsonCodec.java b/src/com/vaadin/terminal/gwt/server/JsonCodec.java index 44180e78c9..78c1c175a5 100644 --- a/src/com/vaadin/terminal/gwt/server/JsonCodec.java +++ b/src/com/vaadin/terminal/gwt/server/JsonCodec.java @@ -231,7 +231,7 @@ public class JsonCodec implements Serializable { continue; } Method getterMethod = pd.getReadMethod(); - Object fieldValue = getterMethod.invoke(value, null); + Object fieldValue = getterMethod.invoke(value, (Object[]) null); jsonMap.put(fieldName, encode(fieldValue, fieldType, idMapper)); } } catch (Exception e) { |