Hi All,

I am currently in the process of building an app, initally based off
the Roo framework.
I am getting a "A request is already in progress" at the point where I
call create for a child entity.

Is there a way I can see what "request contexts" are in progress, so I
can debug where my logic is off ??
Either using firebug or the eclipse debugger.

The stack trace I get is

Caused by: java.lang.IllegalStateException: A request is already in
progress
        at
com.google.gwt.requestfactory.client.impl.AbstractRequestContext.checkLocked(AbstractRequestContext.java:
307)
        at
com.google.gwt.requestfactory.client.impl.AbstractRequestContext.create(AbstractRequestContext.java:
76)
        at
isupro.client.scaffold.businessprocess.ui.AbstractBusinessProcessActivity.createNewObjectiveProxy(AbstractBusinessProcessActivity.java:
92)

My method (createNewObjectiveProxy()) usese the existing request,
created prior so that this "new" object is in the same context.

    public ObjectiveProxy createNewObjectiveProxy() {
        ObjectiveProxy obj =
getRequest().create(ObjectiveProxy.class);
        obj.setId(editableBP.getId());
        editableBP.getObjectives().add(obj);
        return obj;
    }


Now, without looking at my code, it will be hard for anyone to assist
I assume, which is why I ask " how do I go about working out where my
problem is"

regards
Ramon

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

Reply via email to