Tuesday, August 25, 2020

EMF with GWT and serialize problems

HI all,

I use GWT 2.81 and EMF (Eclipse Modeling Framework) when i want send from the server to the client an object of my model, I obtain this final error:
com.google.gwt.user.client.rpc.SerializationException: Type 'com.lacen.organisation.impl.RequirementImpl' 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 = com.lacen.organisation.impl.RequirementImpl@2fa144e7 (name: Fkygrdphgf)

I have tried to understand how to use serializationWhitelist but I have no clear example.  The class RequirementImpl contains List, so I tried to create ArrayList with the good type, but same pb.

Can you help me, at least give me where found a claer explanation.

Tanks a lot
Antonio Guillen

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/24959a33-d977-478d-8e6d-a473802ed616n%40googlegroups.com.

No comments:

Post a Comment