ItEr43S09ImplantacionAplicacionItEr42S13: Fixing bug. Avoding NullPointerException.

This commit is contained in:
Óscar González Fernández 2010-01-11 23:34:50 +01:00
parent a926da8688
commit a83a02d925

View file

@ -163,7 +163,8 @@ public class CallbackServlet extends HttpServlet {
}
private IServletRequestHandler handlerFor(String callbackId) {
return handlersCallbacks.get(callbackId).handler;
HandlerWithRegisterTime h = handlersCallbacks.get(callbackId);
return h != null ? h.handler : null;
}
}