rem: gui.displayData(module, rpcRequest); 
add:      var result = rpcRequest.getUserData("result"); var origins = swat.main.AbstractModuleFsm.JsonRpc_Origin; var serverErrors = swat.main.AbstractModuleFsm.JsonRpc_ServerError; if (result.type == "failed" && result.data.origin == origins.Server && result.data.code == serverErrors.ResourceError) {  var dbName = fsm.getObject("dbName"); dbName.dispatchEvent(new qx.event.type.Event("changeSelection"), true); } else {  gui.displayData(module, rpcRequest); } 
context:       "onentry" :        function(fsm, event)        {          // Did we just return from an RPC request?          if (fsm.getPreviousState() == "State_AwaitRpcResult")          {            // Yup.  Display the result.  We need to get the request object            var rpcRequest = _this.popRpcRequest();            // Display the result            var gui = swat.module.ldbbrowse.Gui.getInstance();            gui.displayData(module, rpcRequest);            // Dispose of the request            rpcRequest.request.dispose();            rpcRequest.request = null;          }        },
meta: 5771	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5771/3e608a173e65403686628387a09f66096978783f/Fsm.js/buggy/webapps/swat/source/class/swat/module/ldbbrowse/Fsm.js