Hi Isomorphic,
I have a case where I am calling com.smartgwt.client.widgets.form.fields.FormItem.setDefaultValue(Object) where the Object is an instanceof String, and I am getting a stack overflow exception.
It would appear that the method recursively calls itself under this scenario, as it simply passes the value into setDefaultValue "as-is".
SmartClient Version: v10.1p_2016-05-11/Pro Deployment (built 2016-05-11)
Regards
I have a case where I am calling com.smartgwt.client.widgets.form.fields.FormItem.setDefaultValue(Object) where the Object is an instanceof String, and I am getting a stack overflow exception.
It would appear that the method recursively calls itself under this scenario, as it simply passes the value into setDefaultValue "as-is".
Code:
public void setDefaultValue(Object value) { if (value == null) { setAttribute("defaultValue", (String) null); } else if (value instanceof String) { // To avoid GWT Issue 4301, check for a `String' instance and handle that specially. // http://forums.smartclient.com/showthread.php?t=8159#aStringObject setDefaultValue(value); } ... }
Regards
Comment