There is a bug for this issue on the issue tracker I believe. Our app tried to send a HashMap from server to client and was unable to. Although the GWT 1.5 list of Java types supported for serialization lists HashMap, it's not true.
On Dec 16, 6:28 am, Amit <[email protected]> wrote: > In my case, the HashMap is of the type HashMap<String, String[]>. So, > all the objects are serializable. Also, it worked in GWT 1.4. > > Regards, > Amit > > On Dec 15, 10:14 am, gwtGrady <[email protected]> wrote: > > > Is it possible you have a non-serializable object in your collection > > that is causing this error? > > > On Dec 15, 6:17 am,Amit<[email protected]> wrote: > > > > I am porting an existing code from GWT 1.4 to GWT 1.5. The code is > > > sending aHashMap[] (array) object between the client and the server > > > with GWT-RPC. This worked with GWT 1.4 but after the port, the RPC > > > call fails with a server-side security exception stating thatHashMap > > > [] is not serializable as per the security policy. It is interesting > > > because aHashMapobject, itself, is serializable and there are a > > > number of places in the code where we are serializing aHashMapobject > > > successfully using GWT 1.5 and GWT 1.4. > > > > Not sure if this is a bug or not but I thought I would want to bring > > > it to your attention. > > > > Regards > > >AmitChatterjee --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
