I am developing an application in GWT.
In server side had a method that returns an arraylist. In client side, when i invoke the method, gets onFailure.
public void onFailure(Throwable caught){ label.setText("ERROR"); } public void onSuccess(ArrayList<partner> result){ // do something }
The label gets “ERROR”!
Anyone knows why?
Cumps!
ArrayList is not a transportable type. You must use List instead.