Program: 37938
Project: 37938
Buggy source:
/** 
 * {@inheritDoc}
 */
@Override public ImmutablePair<PathInfoData,PathInfoData> getPath(Flow flow,Strategy strategy) throws UnroutablePathException {
  long latency=0L;
  List<PathNode> forwardNodes=new LinkedList<>();
  List<PathNode> reverseNodes=new LinkedList<>();
  if (!flow.isOneSwitchFlow()) {
    Statement statement=getPathQuery(flow,strategy);
    logger.debug("String_Node_Str",statement.toString());
    try (Session session=driver.session()){
      StatementResult result=session.run(statement);
      try {
        Record record=result.next();
        LinkedList<Relationship> isls=new LinkedList<>();
        record.get(0).asPath().relationships().forEach(isls::add);
        int seqId=0;
        for (        Relationship isl : isls) {
          latency+=isl.get("String_Node_Str").asLong();
          forwardNodes.add(new PathNode(isl.get("String_Node_Str").asString(),isl.get("String_Node_Str").asInt(),seqId,isl.get("String_Node_Str").asLong()));
          seqId++;
          forwardNodes.add(new PathNode(isl.get("String_Node_Str").asString(),isl.get("String_Node_Str").asInt(),seqId,0L));
          seqId++;
        }
        seqId=0;
        Collections.reverse(isls);
        for (        Relationship isl : isls) {
          reverseNodes.add(new PathNode(isl.get("String_Node_Str").asString(),isl.get("String_Node_Str").asInt(),seqId,isl.get("String_Node_Str").asLong()));
          seqId++;
          reverseNodes.add(new PathNode(isl.get("String_Node_Str").asString(),isl.get("String_Node_Str").asInt(),seqId,0L));
          seqId++;
        }
      }
 catch (      NoSuchRecordException e) {
        throw new UnroutablePathException(flow);
      }
    }
   }
 else {
    logger.info("String_Node_Str");
  }
  return new ImmutablePair<>(new PathInfoData(latency,forwardNodes),new PathInfoData(latency,reverseNodes));
}

Fixed version (ground truth):
/** 
 * {@inheritDoc}
 */
@Override public ImmutablePair<PathInfoData,PathInfoData> getPath(Flow flow,Strategy strategy) throws UnroutablePathException, RecoverableException {
  long latency=0L;
  List<PathNode> forwardNodes=new LinkedList<>();
  List<PathNode> reverseNodes=new LinkedList<>();
  if (!flow.isOneSwitchFlow()) {
    Statement statement=getPathQuery(flow,strategy);
    logger.info("String_Node_Str",statement.toString());
    try (Session session=driver.session()){
      StatementResult result=session.run(statement);
      Record record=result.next();
      LinkedList<Relationship> isls=new LinkedList<>();
      record.get(0).asPath().relationships().forEach(isls::add);
      int seqId=0;
      for (      Relationship isl : isls) {
        latency+=isl.get("String_Node_Str").asLong();
        forwardNodes.add(new PathNode(isl.get("String_Node_Str").asString(),isl.get("String_Node_Str").asInt(),seqId,isl.get("String_Node_Str").asLong()));
        seqId++;
        forwardNodes.add(new PathNode(isl.get("String_Node_Str").asString(),isl.get("String_Node_Str").asInt(),seqId,0L));
        seqId++;
      }
      seqId=0;
      Collections.reverse(isls);
      for (      Relationship isl : isls) {
        reverseNodes.add(new PathNode(isl.get("String_Node_Str").asString(),isl.get("String_Node_Str").asInt(),seqId,isl.get("String_Node_Str").asLong()));
        seqId++;
        reverseNodes.add(new PathNode(isl.get("String_Node_Str").asString(),isl.get("String_Node_Str").asInt(),seqId,0L));
        seqId++;
      }
    }
 catch (    TransientException e) {
      throw new RecoverableException("String_Node_Str",e);
    }
catch (    ClientException e) {
      throw new RecoverableException("String_Node_Str",e);
    }
catch (    NoSuchRecordException e) {
      throw new UnroutablePathException(flow);
    }
  }
 else {
    logger.info("String_Node_Str");
  }
  return new ImmutablePair<>(new PathInfoData(latency,forwardNodes),new PathInfoData(latency,reverseNodes));
}