I'm getting a Javascript error when trying to call a service.  Many
other services are working but a handful are throwing "is not a
function" errors.  Details below.

Greg

GWT 2.0.3

Javascript ERROR:
    2010-04-29 12:49:33,503 [ERROR] Database:service.updateMPG
    com.google.gwt.core.client.JavaScriptException:
    (TypeError): d[c][2] is not a function

MLServiceAsync.java
    void updateMPG(MidwarePropertyGroupDTO entity,
            AsyncCallback<MidwarePropertyGroupDTO> callback);

MLService.java
    public MidwarePropertyGroupDTO updateMPG(MidwarePropertyGroupDTO
entity);

Database.java
        final AsyncCallback<MidwarePropertyGroupDTO> callback = new
AsyncCallback<MidwarePropertyGroupDTO>() {
            public void onFailure(Throwable caught) {}
            public void onSuccess(MidwarePropertyGroupDTO result) {}
        };
        MLServiceAsync service = (MLServiceAsync)
GWT.create(MLService.class);
        try {
            service.updateMPG(entityDTO, callback);
        }
        catch (Throwable t) {
            log.error("service.updateMPG", t);
        }

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to