Program: 25432
Project: 25432
Buggy source:
/** 
 * Serialize a ProcessingRequest and send it to Self Service Semantic Suite Online Processing Service
 * @param pr the processing request to send
 * @param acceptType the type of output we want to produce
 */
private static void processRequest(ProcessingRequest pr,String acceptType){
  HttpPost post=new HttpPost(endpointUrl + shopItemId);
  post.setHeader("String_Node_Str","String_Node_Str");
  post.setHeader("String_Node_Str",acceptType);
  post.setHeader("String_Node_Str","String_Node_Str");
  String message=null;
  try {
    message=pr.toJSON();
  }
 catch (  IOException e) {
    System.out.println("String_Node_Str");
    e.printStackTrace();
    return;
  }
  System.out.println("String_Node_Str");
  System.out.println(message);
  post.setEntity(new StringEntity(message,Charset.forName("String_Node_Str")));
  CloseableHttpResponse response=null;
  try {
    response=httpClient.execute(post,ctx);
    StatusLine sl=response.getStatusLine();
    int statusCode=sl.getStatusCode();
switch (statusCode) {
case 200:
{
        System.out.println("String_Node_Str");
        System.out.println(response.toString());
        System.out.println(getContent(response));
        break;
      }
case 400:
{
      System.out.println("String_Node_Str");
      System.out.println(response.toString());
      System.out.println(getContent(response));
      break;
    }
case 403:
{
    System.out.println("String_Node_Str");
    System.out.println(response.toString());
    System.out.println(getContent(response));
    break;
  }
case 404:
{
  System.out.println("String_Node_Str");
  System.out.println(response.toString());
  System.out.println(getContent(response));
  break;
}
case 406:
{
System.out.println("String_Node_Str");
System.out.println(response.toString());
System.out.println(getContent(response));
break;
}
case 408:
{
System.out.println("String_Node_Str");
System.out.println(response.toString());
System.out.println(getContent(response));
break;
}
case 415:
{
System.out.println("String_Node_Str");
System.out.println(response.toString());
System.out.println(getContent(response));
break;
}
case 500:
{
System.out.println("String_Node_Str");
System.out.println(response.toString());
System.out.println(getContent(response));
break;
}
default :
{
System.out.println("String_Node_Str");
System.out.println(response.toString());
System.out.println(getContent(response));
break;
}
}
}
 catch (ClientProtocolException e) {
e.printStackTrace();
}
catch (IOException e) {
e.printStackTrace();
}
 finally {
try {
response.close();
}
 catch (IOException e) {
}
}
}

Fixed version (ground truth):
/** 
 * Serialize a ProcessingRequest and send it to Self Service Semantic Suite Online Processing Service
 * @param pr the processing request to send
 * @param acceptType the type of output we want to produce
 */
private static void processRequest(ProcessingRequest pr,String acceptType){
  HttpPost post=new HttpPost(endpointUrl + serviceId);
  post.setHeader("String_Node_Str","String_Node_Str");
  post.setHeader("String_Node_Str",acceptType);
  post.setHeader("String_Node_Str","String_Node_Str");
  String message=null;
  try {
    message=pr.toJSON();
  }
 catch (  IOException e) {
    System.out.println("String_Node_Str");
    e.printStackTrace();
    return;
  }
  System.out.println("String_Node_Str");
  System.out.println(message);
  post.setEntity(new StringEntity(message,Charset.forName("String_Node_Str")));
  CloseableHttpResponse response=null;
  try {
    response=httpClient.execute(post,ctx);
    StatusLine sl=response.getStatusLine();
    int statusCode=sl.getStatusCode();
switch (statusCode) {
case 200:
{
        System.out.println("String_Node_Str");
        System.out.println(response.toString());
        System.out.println(getContent(response));
        break;
      }
case 400:
{
      System.out.println("String_Node_Str");
      System.out.println(response.toString());
      System.out.println(getContent(response));
      break;
    }
case 403:
{
    System.out.println("String_Node_Str");
    System.out.println(response.toString());
    System.out.println(getContent(response));
    break;
  }
case 404:
{
  System.out.println("String_Node_Str");
  System.out.println(response.toString());
  System.out.println(getContent(response));
  break;
}
case 406:
{
System.out.println("String_Node_Str");
System.out.println(response.toString());
System.out.println(getContent(response));
break;
}
case 408:
{
System.out.println("String_Node_Str");
System.out.println(response.toString());
System.out.println(getContent(response));
break;
}
case 415:
{
System.out.println("String_Node_Str");
System.out.println(response.toString());
System.out.println(getContent(response));
break;
}
case 500:
{
System.out.println("String_Node_Str");
System.out.println(response.toString());
System.out.println(getContent(response));
break;
}
default :
{
System.out.println("String_Node_Str");
System.out.println(response.toString());
System.out.println(getContent(response));
break;
}
}
}
 catch (ClientProtocolException e) {
e.printStackTrace();
}
catch (IOException e) {
e.printStackTrace();
}
 finally {
try {
response.close();
}
 catch (IOException e) {
}
}
}