I'm running the Request Factory client code below. The first time I invoke 
it, I receive an IllegalStateException: The AutoBean has been frozen.
Subsequent invocations work just fine.

The odd thing is, the object is created whether I get the exception or not.

If I *do* get the exception, none of the receiver callbacks get fired.

We're running GWT 2.4.0 on GAE 1.6.1.


        GroupDealService ctx = requestFactory.groupDealService();
        GroupDealProxy gdp = ctx.create(GroupDealProxy.class);
        
        ctx.edit(gdp);
        
        gdp.setName("Foo");
        
        ctx.addOrUpdate(gdp).fire(
            new Receiver<GroupDealProxy>() {
                @Override
                public void onSuccess(GroupDealProxy groupDeal) {
                    Log.info("GroupDealEditActivity.activate.onSuccess");
                    placeController.goTo(new GroupDealIndexPlace());
                }

                @Override
                public void onFailure(ServerFailure error) {
                    Log.info("GroupDealEditActivity.activate.onFailure" + 
error.getMessage());
                    super.onFailure(error);
                }
            }
        );

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/FWiHXtnfOYAJ.
To post to this group, send email to google-web-toolkit@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