GWT 2.5 Can't serialize HashMaps in request

1.9k views Asked by At

I upgraded to 2.5 and I can't no longer pass a HashMap. I don't get an error, but deserialization of the request gets stuck. That was working in all previous releases, even before 2.0

The problem appears when the request parameters are deserialized. Serialization of Responses works without any problems.

Parameters class extends HashMap

        HashMap value = new HashMap();
        value.put("CODE", "VALUE");

        ArrayList values = new ArrayList();
        values.add(value);


        Parameters parameters = new Parameters();
        parameters.setValues(values);

        ArrayList list = new ArrayList();
        list.add(parameters);

        greetingService.greetServer("MyService","MyMethod", list, new AsyncCallback<String>()
1

There are 1 answers

1
Thomas Broyer On BEST ANSWER

You might be hitting issue 7779. Try GWT 2.5.1.