rem: DWREngine._handleMetaDataError(batch.metadata, ex); 
add: DWREngine._handleMetaDataError(null, ex); 
context: DWREngine._stateChange = function(batch) {  if (!batch.completed && batch.req.readyState == 4) {    try {      var reply = batch.req.responseText;      var status = batch.req.status;      if (reply == null || reply == "") {        DWREngine._handleMetaDataError(batch.metadata, "No data received from server");        return;      }      // This should get us out of 404s etc.      if (reply.search("DWREngine._handle") == -1) {        DWREngine._handleMetaDataError(batch.metadata, "Invalid reply from server");        return;      }      if (status != 200) {        if (reply == null) reply = "Unknown error occured";        DWREngine._handleMetaDataError(batch.metadata, reply);        return;      }      eval(reply);      // We're done. Clear up      DWREngine._clearUp(batch);    }    catch (ex) {      if (ex == null) ex = "Unknown error occured";      DWREngine._handleMetaDataError(batch.metadata, ex);    }    finally {      // If there is anything on the queue waiting to go out, then send it.      // We don't need to check for ordered mode, here because when ordered mode      // gets turned off, we still process *waiting* batches in an ordered way.      if (DWREngine._batchQueue.length != 0) {        var sendbatch = DWREngine._batchQueue.shift();        DWREngine._sendData(sendbatch);        DWREngine._batches[DWREngine._batches.length] = sendbatch;      }    }  }};
meta: 266	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/204a8dcf112f6bc2c3897fc4507d023e0e08dfd5/engine.js/clean/java/uk/ltd/getahead/dwr/engine.js