Program: 11259
Project: 11259
Buggy source:
/** 
 * Returns the class and the method/line number of the caller (excluding the specified class). <p> Sometimes it is convenient to determine the caller's context, e.g. to determine whether running in a maven-surefire-plugin context (in which case the location of the caller's class would end in <i>target/test-classes/</i>). </p>
 * @param excluding the class to exclude (or null)
 * @return the class of the caller and the method and line number
 */
public static Map.Entry<Class<?>,String> getCallingCodeLocation(final Class<?> excluding){
  final String thisClassName=TestUtils.class.getName();
  final String thisClassName2=excluding == null ? null : excluding.getName();
  final Thread currentThread=Thread.currentThread();
  for (  final StackTraceElement element : currentThread.getStackTrace()) {
    final String thatClassName=element.getClassName();
    if (thatClassName == null || thatClassName.equals(thisClassName) || thatClassName.equals(thisClassName2) || thatClassName.endsWith("String_Node_Str") || thatClassName.startsWith("String_Node_Str")) {
      continue;
    }
    final ClassLoader loader=currentThread.getContextClassLoader();
    final Class<?> clazz;
    try {
      clazz=loader.loadClass(element.getClassName());
      final URL url=clazz.getResource("String_Node_Str" + clazz.getName().replace('.','/') + "String_Node_Str");
      if (url == null || !"String_Node_Str".equals(url.getProtocol())) {
        continue;
      }
    }
 catch (    ClassNotFoundException e) {
      throw new UnsupportedOperationException("String_Node_Str" + element.getClassName() + "String_Node_Str"+ loader+ "String_Node_Str");
    }
    final String suffix=element.getMethodName() + "String_Node_Str" + element.getLineNumber();
    return new AbstractMap.SimpleEntry<>(clazz,suffix);
  }
  throw new UnsupportedOperationException("String_Node_Str" + thisClassName + "String_Node_Str");
}

Fixed version (ground truth):
/** 
 * Returns the class and the method/line number of the caller (excluding the specified class). <p> Sometimes it is convenient to determine the caller's context, e.g. to determine whether running in a maven-surefire-plugin context (in which case the location of the caller's class would end in  {@code target/test-classes/}). </p>
 * @param excluding the class to exclude (or null)
 * @return the class of the caller and the method and line number
 */
public static Map.Entry<Class<?>,String> getCallingCodeLocation(final Class<?> excluding){
  final String thisClassName=TestUtils.class.getName();
  final String thisClassName2=excluding == null ? null : excluding.getName();
  final Thread currentThread=Thread.currentThread();
  for (  final StackTraceElement element : currentThread.getStackTrace()) {
    final String thatClassName=element.getClassName();
    if (thatClassName == null || thatClassName.equals(thisClassName) || thatClassName.equals(thisClassName2) || thatClassName.endsWith("String_Node_Str") || thatClassName.startsWith("String_Node_Str")) {
      continue;
    }
    final ClassLoader loader=currentThread.getContextClassLoader();
    final Class<?> clazz;
    try {
      clazz=loader.loadClass(element.getClassName());
      final URL url=clazz.getResource("String_Node_Str" + clazz.getName().replace('.','/') + "String_Node_Str");
      if (url == null || !"String_Node_Str".equals(url.getProtocol())) {
        continue;
      }
    }
 catch (    ClassNotFoundException e) {
      throw new UnsupportedOperationException("String_Node_Str" + element.getClassName() + "String_Node_Str"+ loader+ "String_Node_Str");
    }
    final String suffix=element.getMethodName() + "String_Node_Str" + element.getLineNumber();
    return new AbstractMap.SimpleEntry<>(clazz,suffix);
  }
  throw new UnsupportedOperationException("String_Node_Str" + thisClassName + "String_Node_Str");
}