calling Record.getAttributeAsIntArray on record with null value blows up. (probably similar bugs in other 'asXArray' methods). Expected: should return null.
workaround, call getAttribute(), check for null (actually String.length()==0), then call getAttributeAsIntArray
workaround, call getAttribute(), check for null (actually String.length()==0), then call getAttributeAsIntArray
Code:
com.google.gwt.dev.shell.HostedModeException: Something other than an int was returned from JSNI method '@com.smartgwt.client.util.JSOHelper::getIntValueFromJavaScriptObjectArray(Lcom/google/gwt/core/client/JavaScriptObject;I)': JS value of type null, expected int at com.google.gwt.dev.shell.JsValueGlue.getIntRange(JsValueGlue.java:266) at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:144)
Comment