I have been successfully working with the GWT edition until recently when I 
introduced this class.

public class ViewResultSet<T> {
    public enum ResultStatus {OK, OBJECT_HAS_NO_VIEWS, UNKNOWN_ERROR, 
PAGE_SIZE_TO_LARGE};
    private ResultStatus status = ResultStatus.OK;
    private int offset;
    private int totalRows;
    public int limit;
    public String errorMessage;
    private List<T> data;

    public ViewResultSet() {
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }

    public ResultStatus getStatus() {
        return status;
    }

    public void setStatus(ResultStatus status) {
        this.status = status;
    }

    public int getTotalRows() {
        return totalRows;
    }

    public void setTotalRows(int totalRows) {
        this.totalRows = totalRows;
    }

    public int getOffset() {
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    
}

And this proxy for the class.

public interface CompanyResultsProxy extends ClientProxy {
        @Get
        public void retrieve(Result<ViewResultSet<CompanyViewStub>> results);


}

When I try to compile I get an NPE error 

java.lang.NullPointerException
Compiling module ca.sqm.gwt.Main
        at 
org.restlet.rebind.ClientProxyGenerator.generateMethod(ClientProxyGenerator.java:301)

Any ideas? It looks like a bug in the ClientProxyGenerator code, I'll load the 
source into my IDE and try to fix it if I can. Any help would be appreciated.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2442098

Reply via email to