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 -~----------~----~----~----~------~----~------~--~---
