Program: 62691
Project: 62691
Buggy source:
public void onPost(final GitLabPushRequest req){
  getDescriptor().queue.execute(new Runnable(){
    private boolean polling(){
      try {
        StreamTaskListener listener=new StreamTaskListener(getLogFile());
        try {
          PrintStream logger=listener.getLogger();
          long start=System.currentTimeMillis();
          logger.println("String_Node_Str" + DateFormat.getDateTimeInstance().format(new Date()));
          boolean result=job.poll(listener).hasChanges();
          logger.println("String_Node_Str" + Util.getTimeSpanString(System.currentTimeMillis() - start));
          if (result) {
            logger.println("String_Node_Str");
          }
 else {
            logger.println("String_Node_Str");
          }
          return result;
        }
 catch (        Error e) {
          e.printStackTrace(listener.error("String_Node_Str"));
          LOGGER.log(Level.SEVERE,"String_Node_Str",e);
          throw e;
        }
catch (        RuntimeException e) {
          e.printStackTrace(listener.error("String_Node_Str"));
          LOGGER.log(Level.SEVERE,"String_Node_Str",e);
          throw e;
        }
 finally {
          listener.closeQuietly();
        }
      }
 catch (      IOException e) {
        LOGGER.log(Level.SEVERE,"String_Node_Str",e);
      }
      return false;
    }
    public void run(){
      LOGGER.log(Level.INFO,"String_Node_Str",job.getName());
      if (polling()) {
        String name="String_Node_Str" + job.getNextBuildNumber();
        GitLabPushCause cause=createGitLabPushCause(req);
        if (job.scheduleBuild(job.getQuietPeriod(),cause)) {
          LOGGER.log(Level.INFO,"String_Node_Str",new String[]{job.getName(),name});
        }
 else {
          LOGGER.log(Level.INFO,"String_Node_Str",job.getName());
        }
      }
    }
    private GitLabPushCause createGitLabPushCause(    GitLabPushRequest req){
      GitLabPushCause cause;
      String triggeredByUser=req.getPusher().getName();
      try {
        cause=new GitLabPushCause(triggeredByUser,getLogFile());
      }
 catch (      IOException ex) {
        cause=new GitLabPushCause(triggeredByUser);
      }
      return cause;
    }
  }
);
}

Fixed version (ground truth):
public void onPost(final GitLabPushRequest req){
  getDescriptor().queue.execute(new Runnable(){
    private boolean polling(){
      try {
        StreamTaskListener listener=new StreamTaskListener(getLogFile());
        try {
          PrintStream logger=listener.getLogger();
          long start=System.currentTimeMillis();
          logger.println("String_Node_Str" + DateFormat.getDateTimeInstance().format(new Date()));
          boolean result=job.poll(listener).hasChanges();
          logger.println("String_Node_Str" + Util.getTimeSpanString(System.currentTimeMillis() - start));
          if (result) {
            logger.println("String_Node_Str");
          }
 else {
            logger.println("String_Node_Str");
          }
          return result;
        }
 catch (        Error e) {
          e.printStackTrace(listener.error("String_Node_Str"));
          LOGGER.log(Level.SEVERE,"String_Node_Str",e);
          throw e;
        }
catch (        RuntimeException e) {
          e.printStackTrace(listener.error("String_Node_Str"));
          LOGGER.log(Level.SEVERE,"String_Node_Str",e);
          throw e;
        }
 finally {
          listener.closeQuietly();
        }
      }
 catch (      IOException e) {
        LOGGER.log(Level.SEVERE,"String_Node_Str",e);
      }
      return false;
    }
    public void run(){
      LOGGER.log(Level.INFO,"String_Node_Str",job.getName());
      if (polling()) {
        String name="String_Node_Str" + job.getNextBuildNumber();
        GitLabPushCause cause=createGitLabPushCause(req);
        if (job.scheduleBuild(job.getQuietPeriod(),cause)) {
          LOGGER.log(Level.INFO,"String_Node_Str",new String[]{job.getName(),name});
        }
 else {
          LOGGER.log(Level.INFO,"String_Node_Str",job.getName());
        }
      }
    }
    private GitLabPushCause createGitLabPushCause(    GitLabPushRequest req){
      GitLabPushCause cause;
      String triggeredByUser=req.getCommits().get(0).getAuthor().getName();
      try {
        cause=new GitLabPushCause(triggeredByUser,getLogFile());
      }
 catch (      IOException ex) {
        cause=new GitLabPushCause(triggeredByUser);
      }
      return cause;
    }
  }
);
}