Alex
On Dec 14, 3:17 pm, Addy <adityaka...@gmail.com> wrote:
> I cleanup after every build but since converting to 2.0, I started
> encountering intermittent Serialization exceptions even in production.
> I had to switch back 1.7.
> For production use, cleaning up browser cache is not an option as I
> cant tell all my users to do so.
> I guess I will have to wait a bit for this release to be stable to
> switch to 2.0 for production use.
> Addyhttp://checkAppointments.com
i just spent more than a whole day on this issue. Do somebody why this
problem occurs?
I tried almost all solutions discussed on this thread. But nothing
seems to work.
here is my error message:
Type 'cm.bao.sms.ui.web.gwt.client.wrapper.BooleanWrapper' was not
included in the set of types which can be serialized by this
SerializationPolicy or its Class object could not be loaded. For
security purposes, this type will not be serialized.: instance = false
Since i used an instance of Boolean before, here the previous error
message was
Type 'cm.bao.sms.ui.web.gwt.client.wrapper.Boolean' was not included
in the set of types which can be serialized by this
SerializationPolicy or its Class object could not be loaded. For
security purposes, this type will not be serialized.: instance = false
The Service method signature look like this;
public <T extends Response<V>, V extends Serializable, D extends
Serializable> T execute(
Action<T, V, D> action);
The Boolean Wrapper class definition:
public final class BooleanWrapper implements Serializable,
IsSerializable {
/**
*
*/
private static final long serialVersionUID = -5103012029222801034L;
private boolean value;
public BooleanWrapper() {
super();
}
public BooleanWrapper(boolean v) {
this.value = v;
}
public boolean getValue() {
return value;
}
public String toString() {
return ""+ value;
}
}
I tested this behavior the last days, and remarked that this generated
rpc file contains entries (as row) with all types that could be use
during rpc call, all with "false" after it. It's not possible to set
it back to true, since the gwt.rpc file is generated at any running.
Is there a possibiliy to take control on the generation of this file.
For example with compiler variables.
Rodrigue Lagoue