سؤال

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>()
هل كانت مفيدة؟

المحلول

You might be hitting issue 7779. Try GWT 2.5.1.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top