-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 if you don't have the source, you're screwed. if you have it, the workaround will work.
Am 14.08.2011 19:29, schrieb Simson: > Hello, > > I'm using GWT 2.3.0 with objectdb 2.2.8. Since objectdb uses proxy > classes for collections, maps and dates (which are subclasses of the > original classes) i have problems receiving data from the database > because those classes are not on the whitelist of GWTs > SerializationPolicy. So i get the following error: > > "com.google.gwt.user.client.rpc.SerializationException: Type > 'objectdb.java.util.ArrayList' 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." > > java.util.ArrayList is on the whitelist (see the *.gwt.rpc file) but > objectdb.java.util.ArrayList is not. > > I found a workaround for getting types on the list: > http://stackoverflow.com/questions/138099/how-do-i-add-a-type-to-gwts-serialization-policy-whitelist > > But for me this does not work because I dont have > objectdb.java.util.ArrayList classfile itself. > > Is there any posiibility to get those classes onto the list manualy? > > Thanks! > > Simson > - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJOSBa/AAoJENRtux+h35aGZVIP/280ntZ41dzPiPrHQnrkt3qt aLqGKBCFGbytEgYkDR4ja8kAkvmJhoMUI7eiZMrdkVWWuR3+sIhYs+xmfXp/yJP3 +Cd9EpYM1P7/BYnP5A6AlXinwTVfGW5YxBn/jwrm0ljXebtIpLS+fKIcTVYZ2Hp5 rRD1JwMQiVJlx0QJZufMABhrb9xxhFwGNCxXdio9p/OgYR+9M3+Kcj2UKvSFIKqG fJSiJLFobjZfXH9AQDk9OkFy4X5xEM+KOoeAUNjDjOeHL4x64ngaNKf8N0N0phCh aBhnYHmhrzM00jP7cuV7ObWqbj3tbflXgyW9xnh5s2i1j2ekqeO2lwamZiIU2Y60 8au0C9MqizV/u2TKZdZ9miAv/02lChzgqBBzg+j9nxpIp62VFk6qmeXpTATL+3/D LrDqasq5Otz3XP3jY+0giuojqj4LS6yP7TOumVHOepcJTYPRs3Amd37ciAhV5UqC 9MA4+8ljVUHNTAcLy/mff5gLfn5Obd7lChpvMbBSnvsKQgSclPRKVD+cxtGSGFlS UG//imLb7eCLqOmXqRTjMrr1Sl1wiOuK4ve4rdPgw8WWtketniZmxrXa9J+fYmFU ih13oh2lYSJ7MPiJ+nahXnrSxbf3NYsT8m+1Y0vbQQe4u9iccHpXGNhr3ddVtMm/ AnBTPW7nsNReZOwEosSs =IunQ -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
