Question

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>()
Was it helpful?

Solution

You might be hitting issue 7779. Try GWT 2.5.1.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top