Program: 167634
Project: 167634
Buggy source:
private void request(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {
  try {
    if (!request.getMethod().toLowerCase().equals("String_Node_Str"))     throw new InvalidParameterException("String_Node_Str" + request.getMethod());
    String timeoutStr=request.getParameter("String_Node_Str");
    if (timeoutStr == null || timeoutStr.isEmpty())     throw new NullPointerException("String_Node_Str");
    long timeout;
    timeout=Long.valueOf(timeoutStr);
    if (timeout < Constants.MIN_REQUEST_TIMEOUT || timeout > Constants.MAX_REQUEST_TIMEOUT)     throw new InvalidParameterException("String_Node_Str" + Constants.MIN_REQUEST_TIMEOUT + "String_Node_Str"+ Constants.MAX_REQUEST_TIMEOUT);
    String queueName=request.getRequestURI().split("String_Node_Str")[3];
    String msgStr=request.getParameter("String_Node_Str");
    Message msg=MessageJSONSerializer.deSerialize(msgStr,MessageType.QueueMessage);
    Messagebus messagebus=(Messagebus)(getServletContext().getAttribute(Constants.MESSAGE_BUS_KEY));
    IRequester requester=messagebus.getRequester();
    Message responseMsg=requester.request(msg,queueName,timeout);
    String respMsgStr=MessageJSONSerializer.serialize(responseMsg);
    ResponseUtil.response(response,Constants.HTTP_SUCCESS_CODE,"String_Node_Str","String_Node_Str",respMsgStr);
  }
 catch (  MessagebusUnOpenException e) {
    ResponseUtil.response(response,Constants.HTTP_FAILED_CODE,"String_Node_Str","String_Node_Str","String_Node_Str");
  }
catch (  MessageResponseTimeoutException e) {
    ResponseUtil.response(response,Constants.HTTP_FAILED_CODE,"String_Node_Str","String_Node_Str","String_Node_Str");
  }
catch (  Exception e) {
    ResponseUtil.response(response,Constants.HTTP_FAILED_CODE,"String_Node_Str" + e.getMessage(),"String_Node_Str","String_Node_Str");
  }
}

Fixed version (ground truth):
private void request(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {
  try {
    if (!request.getMethod().toLowerCase().equals("String_Node_Str"))     throw new InvalidParameterException("String_Node_Str" + request.getMethod());
    String timeoutStr=request.getParameter("String_Node_Str");
    if (timeoutStr == null || timeoutStr.isEmpty())     throw new NullPointerException("String_Node_Str");
    long timeout;
    timeout=Long.parseLong(timeoutStr);
    if (timeout < Constants.MIN_REQUEST_TIMEOUT || timeout > Constants.MAX_REQUEST_TIMEOUT)     throw new InvalidParameterException("String_Node_Str" + Constants.MIN_REQUEST_TIMEOUT + "String_Node_Str"+ Constants.MAX_REQUEST_TIMEOUT);
    String queueName=request.getRequestURI().split("String_Node_Str")[3];
    String msgStr=request.getParameter("String_Node_Str");
    Message msg=MessageJSONSerializer.deSerialize(msgStr,MessageType.QueueMessage);
    Messagebus messagebus=(Messagebus)(getServletContext().getAttribute(Constants.MESSAGE_BUS_KEY));
    IRequester requester=messagebus.getRequester();
    Message responseMsg=requester.request(msg,queueName,timeout);
    String respMsgStr=MessageJSONSerializer.serialize(responseMsg);
    ResponseUtil.response(response,Constants.HTTP_SUCCESS_CODE,"String_Node_Str","String_Node_Str",respMsgStr);
  }
 catch (  MessagebusUnOpenException e) {
    ResponseUtil.response(response,Constants.HTTP_FAILED_CODE,"String_Node_Str","String_Node_Str","String_Node_Str");
  }
catch (  MessageResponseTimeoutException e) {
    ResponseUtil.response(response,Constants.HTTP_FAILED_CODE,"String_Node_Str","String_Node_Str","String_Node_Str");
  }
catch (  Exception e) {
    ResponseUtil.response(response,Constants.HTTP_FAILED_CODE,"String_Node_Str" + e.getMessage(),"String_Node_Str","String_Node_Str");
  }
}