ptirado
7 Apr 2009, 5:02 PM
Hi,
I am sending a class that extends from a an implementation of a DataModel.
The implementation of the datamodel uses a simple map<string,object>.
The class doesn't have attributes , only extends from the base implementation.
In gwt 1.5.3 with gxt 1.2 it works , but now in gwt 1.6 with gxt 2 , throws this exception:
[ERROR] - A NON EtaskException was caught by the Base AsyncHandler
com.google.gwt.dev.shell.HostedModeException: Expected primitive type int; actual value was undefined
at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:51)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeInt(ModuleSpace.java:209)
at com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.readInt(Native Method)
at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:46)
at com.etask.invocationcontroller.client.entity.InvocationResult_FieldSerializer.deserialize(transient source for com.etask.invocationcontroller.client.entity.InvocationResult_FieldSerializer:5)
I am sending a class that extends from a an implementation of a DataModel.
The implementation of the datamodel uses a simple map<string,object>.
The class doesn't have attributes , only extends from the base implementation.
In gwt 1.5.3 with gxt 1.2 it works , but now in gwt 1.6 with gxt 2 , throws this exception:
[ERROR] - A NON EtaskException was caught by the Base AsyncHandler
com.google.gwt.dev.shell.HostedModeException: Expected primitive type int; actual value was undefined
at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:51)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeInt(ModuleSpace.java:209)
at com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.readInt(Native Method)
at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:46)
at com.etask.invocationcontroller.client.entity.InvocationResult_FieldSerializer.deserialize(transient source for com.etask.invocationcontroller.client.entity.InvocationResult_FieldSerializer:5)