Question

I'm experiencing some problems with GWT and Gilead/Hibernate

I did my code according to the tutorial but it fails with com.google.gwt.user.client.rpc.SerializationException: Type 'ru.atamur.entity.UserEntity_gilead_15' 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 = ru.atamur.entity.UserEntity_gilead_15@133fa82

Looking at the source code I can see that Gilead transformed my UserEntity into UserEntity_gilead_15 inside GileadRPCHelper.parseReturnValue(returnValue, _beanManager)

I can see that this was deliberately done by ProxyClassMapper (I'm trying to use proxy mode), so I was wondering where Gilead was expecting to tell GWT Serilization mechanism about this new proxy class it introduced ...

No correct solution

OTHER TIPS

Can you share your code ?

before that I want to say that SerializationException is thrown when your class doesn't implement isSerializable interface that you send it to the server.

Every class that you send to the server should implement isSerializable interface

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top