문제

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