Program: 53730
Project: 53730
Buggy source:
private Trace createTrace(Object target,Object[] args){
  final HttpChannel<?> channel=(HttpChannel<?>)args[0];
  final HttpServletRequest request=(HttpServletRequest)channel.getRequest();
  final String requestURI=request.getRequestURI();
  if (excludeUrlFilter.filter(requestURI)) {
    if (isTrace) {
      logger.trace("String_Node_Str",requestURI);
    }
    return null;
  }
  final boolean sampling=samplingEnable(request);
  if (!sampling) {
    final Trace trace=traceContext.disableSampling();
    if (isDebug) {
      logger.debug("String_Node_Str",request.getRequestURI(),request.getRemoteAddr());
    }
    return trace;
  }
  final TraceId traceId=populateTraceIdFromRequest(request);
  if (traceId != null) {
    final Trace trace=traceContext.continueTraceObject(traceId);
    if (trace.canSampled()) {
      SpanRecorder recorder=trace.getSpanRecorder();
      recordRootSpan(recorder,request);
      setTraceMetadata(request,trace);
      if (isDebug) {
        logger.debug("String_Node_Str",new Object[]{traceId,request.getRequestURI(),request.getRemoteAddr()});
      }
    }
 else {
      if (isDebug) {
        logger.debug("String_Node_Str",new Object[]{traceId,request.getRequestURI(),request.getRemoteAddr()});
      }
    }
    return trace;
  }
 else {
    final Trace trace=traceContext.newTraceObject();
    if (trace.canSampled()) {
      SpanRecorder recorder=trace.getSpanRecorder();
      recordRootSpan(recorder,request);
      setTraceMetadata(request,trace);
      if (isDebug) {
        logger.debug("String_Node_Str",request.getRequestURI(),request.getRemoteAddr());
      }
    }
 else {
      if (isDebug) {
        logger.debug("String_Node_Str",request.getRequestURI(),request.getRemoteAddr());
      }
    }
    return trace;
  }
}

Fixed version (ground truth):
private Trace createTrace(Object target,Object[] args){
  final HttpChannel<?> channel=(HttpChannel<?>)args[0];
  final Request request=channel.getRequest();
  final String requestURI=request.getRequestURI();
  if (excludeUrlFilter.filter(requestURI)) {
    if (isTrace) {
      logger.trace("String_Node_Str",requestURI);
    }
    return null;
  }
  final boolean sampling=samplingEnable(request);
  if (!sampling) {
    final Trace trace=traceContext.disableSampling();
    if (isDebug) {
      logger.debug("String_Node_Str",request.getRequestURI(),request.getRemoteAddr());
    }
    return trace;
  }
  final TraceId traceId=populateTraceIdFromRequest(request);
  if (traceId != null) {
    final Trace trace=traceContext.continueTraceObject(traceId);
    if (trace.canSampled()) {
      SpanRecorder recorder=trace.getSpanRecorder();
      recordRootSpan(recorder,request);
      setTraceMetadata(request,trace);
      if (isDebug) {
        logger.debug("String_Node_Str",new Object[]{traceId,request.getRequestURI(),request.getRemoteAddr()});
      }
    }
 else {
      if (isDebug) {
        logger.debug("String_Node_Str",new Object[]{traceId,request.getRequestURI(),request.getRemoteAddr()});
      }
    }
    return trace;
  }
 else {
    final Trace trace=traceContext.newTraceObject();
    if (trace.canSampled()) {
      SpanRecorder recorder=trace.getSpanRecorder();
      recordRootSpan(recorder,request);
      setTraceMetadata(request,trace);
      if (isDebug) {
        logger.debug("String_Node_Str",request.getRequestURI(),request.getRemoteAddr());
      }
    }
 else {
      if (isDebug) {
        logger.debug("String_Node_Str",request.getRequestURI(),request.getRemoteAddr());
      }
    }
    return trace;
  }
}